; ; sub_180013EA0 from 0x180013ea0 to 0x180013fd8 (312 bytes) ; ; 2 xrefs: ; > sub_180013E20 @ 0x180013e38 ; > @ 0x1801f6fd8 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov [rsp+arg_8], rbx ; +0x0, 0x180013ea0 push rdi ; +0x5, 0x180013ea5 sub rsp, 50h ; +0x6, 0x180013ea6 mov rax, cs:__security_cookie ; +0xa, 0x180013eaa xor rax, rsp ; +0x11, 0x180013eb1 mov [rsp+58h+var_18], rax ; +0x14, 0x180013eb4 xor edi, edi ; +0x19, 0x180013eb9 mov dword ptr [rcx+28h], 3 ; +0x1b, 0x180013ebb mov rbx, rcx ; +0x22, 0x180013ec2 mov [rcx+120h], rdi ; +0x25, 0x180013ec5 mov [rcx+128h], rdi ; +0x2c, 0x180013ecc lea rdx, [rsp+58h+var_20] ; +0x33, 0x180013ed3 mov [rcx+130h], rdi ; +0x38, 0x180013ed8 mov [rcx+148h], rdi ; +0x3f, 0x180013edf lea r9d, [rdi+8] ; +0x46, 0x180013ee6 mov [rcx+138h], rdi ; +0x4a, 0x180013eea lea r8d, [rdi+1] ; +0x51, 0x180013ef1 mov [rcx+168h], rdi ; +0x55, 0x180013ef5 mov [rcx+18h], edi ; +0x5c, 0x180013efc mov [rcx+8], rdi ; +0x5f, 0x180013eff mov [rcx+110h], edi ; +0x63, 0x180013f03 mov [rcx+178h], edi ; +0x69, 0x180013f09 mov [rcx+188h], edi ; +0x6f, 0x180013f0f mov rcx, [rcx+170h] ; +0x75, 0x180013f15 mov [rsp+58h+var_38], rdi ; +0x7c, 0x180013f1c call sub_1800B3470 ; +0x81, 0x180013f21 test eax, eax ; +0x86, 0x180013f26 jnz loc_180013FC0 ; +0x88, 0x180013f28 lea r8d, [rdi+4] ; +0x8e, 0x180013f2e lea rdx, aRiff; "RIFF" ; +0x92, 0x180013f32 lea rcx, [rsp+58h+var_20] ; +0x99, 0x180013f39 call sub_1800B7FB0 ; +0x9e, 0x180013f3e test eax, eax ; +0xa3, 0x180013f43 jz short loc_180013F4E ; +0xa5, 0x180013f45 mov eax, 13h ; +0xa7, 0x180013f47 jmp short loc_180013FC0 ; +0xac, 0x180013f4c mov rcx, [rbx+170h] ; +0xae, 0x180013f4e lea rdx, [rsp+58h+var_28] ; +0xb5, 0x180013f55 mov r9d, 4 ; +0xba, 0x180013f5a mov [rsp+58h+var_38], rdi ; +0xc0, 0x180013f60 lea r8d, [r9-3] ; +0xc5, 0x180013f65 call sub_1800B3470 ; +0xc9, 0x180013f69 test eax, eax ; +0xce, 0x180013f6e jnz short loc_180013FC0 ; +0xd0, 0x180013f70 lea r8d, [rax+4] ; +0xd2, 0x180013f72 lea rdx, aDls; "DLS " ; +0xd6, 0x180013f76 lea rcx, [rsp+58h+var_28] ; +0xdd, 0x180013f7d call sub_1800B7FB0 ; +0xe2, 0x180013f82 test eax, eax ; +0xe7, 0x180013f87 jnz short loc_180013F47 ; +0xe9, 0x180013f89 mov r8d, [rsp+58h+var_1C] ; +0xeb, 0x180013f8b lea rdx, [rsp+58h+var_28] ; +0xf0, 0x180013f90 mov rcx, rbx ; +0xf5, 0x180013f95 mov [rbx+110h], edi ; +0xf8, 0x180013f98 mov [rbx+18Ch], edi ; +0xfe, 0x180013f9e call sub_180013FE0 ; +0x104, 0x180013fa4 test eax, eax ; +0x109, 0x180013fa9 jnz short loc_180013FC0 ; +0x10b, 0x180013fab cmp [rbx+178h], edi ; +0x10d, 0x180013fad jle short loc_180013F47 ; +0x113, 0x180013fb3 mov ecx, [rbx+188h] ; +0x115, 0x180013fb5 mov eax, edi ; +0x11b, 0x180013fbb mov [rbx+18h], ecx ; +0x11d, 0x180013fbd mov rcx, [rsp+58h+var_18] ; +0x120, 0x180013fc0 xor rcx, rsp; StackCookie ; +0x125, 0x180013fc5 call __security_check_cookie ; +0x128, 0x180013fc8 mov rbx, [rsp+58h+arg_8] ; +0x12d, 0x180013fcd add rsp, 50h ; +0x132, 0x180013fd2 pop rdi ; +0x136, 0x180013fd6 retn ; +0x137, 0x180013fd7