Function at 0x1000b320
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f2668
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push esi
push edi
mov eax, dword [0x10131fa8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x20], edi
mov eax, dword fs:[0x2c]
mov edx, dword [0x10cb11e8]
mov edx, dword [eax + edx*4]
mov eax, dword [0x10caa770]
cmp eax, dword [edx + 4]
jg 0x1000be46
push 0x10caa740
mov dword [ebp - 0x78], 0x10caa740
call fcn.1009ded0
add esp, 4
test eax, eax
je 0x1000b390
push eax
call fcn.1009e0f0
add esp, 4
sub esp, 8
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [0x1013130d], 0x1000cb70
movsd qword [esp], xmm0
push str.initializing_hook_search___f___
call fcn.100060e0
mov eax, dword [ebp - 0x20]
add esp, 0xc
cmp dword [edi + 0x28], 0
mov esi, 0x10131050
mov ecx, 0x9e
cmovne esi, edi
mov edi, 0x10131320
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0x38]
mov dword [0x10131358], eax
call fcn.1000cfa0
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 1
cmp dword [0x10131594], eax
jne 0x1000bb0c
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp word [0x10131378], ax
je 0x1000b4cd
push 0x10
push 0x1000
push 0x10131378
call edi
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1009abd0
mov eax, dword [0x10131340]
add esp, 0x10
test eax, eax
jne 0x1000b492
mov esi, dword [0x10131368]
mov eax, esi
mov ecx, dword [ebp - 0x2c]
cmp ecx, esi
mov edi, dword [ebp - 0x28]
cmova eax, ecx
cmp eax, edi
jae 0x1000b455
cmp ecx, esi
jbe 0x1000b45d
mov esi, ecx
jmp 0x1000b457
mov esi, edi
mov dword [0x10131368], esi
mov edx, dword [0x10131370]
cmp edi, edx
mov eax, edx
cmovb eax, edi
cmp eax, ecx
jbe 0x1000b482
cmp edi, edx
jae 0x1000b48a
mov edx, edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x10131370], edx
jmp 0x1000b4d9
mov edx, ecx
mov dword [0x10131370], edx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
jmp 0x1000b4d9
cmp eax, 1
jne 0x1000b4cd
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
sub edx, ecx
cmp dword [0x10131368], edx
mov esi, edx
cmovb esi, dword [0x10131368]
add esi, ecx
cmp dword [0x10131370], edx
mov dword [0x10131368], esi
cmovb edx, dword [0x10131370]
add edx, ecx
mov dword [0x10131370], edx
jmp 0x1000b4d9
mov esi, dword [0x10131368]
mov edx, dword [0x10131370]
cmp word [0x10131468], 0
je 0x1000b540
push 0x10131468
call edi
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.1000c250
mov esi, eax
add esp, 8
lea eax, [ebp - 0x50]
cmp eax, esi
je 0x1000b52c
mov ecx, eax
call fcn.100044e0
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 8]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x48], eax
mov dword [esi + 8], 0
lea ecx, [ebp - 0x38]
call fcn.100044e0
mov edx, dword [0x10131370]
mov esi, dword [0x10131368]
cmp word [0x10131378], 0
je 0x1000b583
push 0x10131378
call edi
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.1000c250
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.1000d0c0
add esp, 0x10
lea ecx, [ebp - 0x38]
call fcn.100044e0
mov edx, dword [0x10131370]
mov esi, dword [0x10131368]
xor edi, edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov eax, dword [0x10131344]
mov byte [ebp - 4], 3
test eax, eax
jne 0x1000b635
movzx eax, word [0x10131348]
push edx
push esi
push 0x10
push eax
lea eax, [ebp - 0x38]
push 0x10131320
push eax
call fcn.1009ae80
mov edi, eax
xor esi, esi
lea eax, [ebp - 0x44]
mov dword [ebp - 0x1c], esi
add esp, 0x18
cmp eax, edi
je 0x1000b5f9
mov ecx, eax
call fcn.100044e0
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x40], eax
mov eax, dword [edi + 8]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x3c], eax
mov dword [edi + 8], 0
lea ecx, [ebp - 0x38]
call fcn.100044e0
mov edx, dword [ebp - 0x1c]
xor edi, edi
sub edx, esi
xor ecx, ecx
add edx, 3
shr edx, 2
cmp esi, dword [ebp - 0x1c]
cmova edx, edi
test edx, edx
je 0x1000b756
nop
mov eax, dword [0x1013134c]
lea esi, [esi + 4]
add dword [esi - 4], eax
inc ecx
cmp ecx, edx
jne 0x1000b620
jmp 0x1000b756
cmp eax, 1
jne 0x1000b6eb
and esi, 0xfffffff0
mov dword [ebp - 0x10], esi
cmp esi, edx
jae 0x1000b756
mov edi, esi
nop
push 0x110
lea eax, [edi - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x1000b66b
lea esi, [edi + 0xf0]
jmp 0x1000b6d5
mov eax, dword [esi - 4]
cmp eax, 0xcccccccc
je 0x1000b6b3
cmp eax, 0x90909090
je 0x1000b6b3
cmp eax, 0xccccccc3
je 0x1000b6b3
cmp eax, 0x909090c3
je 0x1000b6b3
mov ecx, eax
and ecx, 0xff0000ff
cmp ecx, 0xcc0000c2
je 0x1000b6b3
cmp ecx, 0x900000c2
je 0x1000b6b3
shr eax, 8
cmp eax, 0xccccc3
je 0x1000b6b3
cmp eax, 0x9090c3
jne 0x1000b6d5
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x3c], eax
je 0x1000b6c5
mov dword [eax], esi
add eax, 4
mov dword [ebp - 0x40], eax
jmp 0x1000b6d5
lea ecx, [ebp - 0x10]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.1000ab10
mov esi, dword [ebp - 0x10]
add esi, 0x10
mov edi, esi
mov dword [ebp - 0x10], esi
cmp esi, dword [0x10131370]
jb 0x1000b650
jmp 0x1000b756
cmp eax, 2
jne 0x1000b756
cmp esi, edx
jae 0x1000b756
push 0x100
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x1000b70c
add esi, 0xff
jmp 0x1000b74d
cmp byte [esi], 0xe8
jne 0x1000b74d
lea ecx, [esi + 5]
add ecx, dword [esi + 1]
cmp dword [0x10131368], ecx
jae 0x1000b74d
cmp dword [0x10131370], ecx
jbe 0x1000b74d
mov eax, dword [ebp - 0x40]
cmp edi, eax
je 0x1000b73b
nop
cmp dword [edi], ecx
je 0x1000b73b
add edi, 4
cmp edi, eax
jne 0x1000b730
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.1000d140
mov edi, dword [ebp - 0x44]
inc esi
cmp esi, dword [0x10131370]
jb 0x1000b6f4
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.1000d0c0
add esp, 8
push 0x10
push 0x1000
push str.LunaHook32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.1009abd0
mov eax, dword [ebp - 0x50]
add esp, 0x10
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edi
cmp eax, edi
je 0x1000b7f7
mov edx, dword [ebp - 0x58]
mov ecx, dword [eax]
cmp ecx, edx
jbe 0x1000b7a3
cmp ecx, dword [ebp - 0x54]
jb 0x1000b7aa
add eax, 4
cmp eax, edi
jne 0x1000b798
cmp eax, edi
je 0x1000b7f7
lea edx, [eax + 4]
mov ecx, edi
sub ecx, edx
xor esi, esi
add ecx, 3
shr ecx, 2
cmp edx, edi
cmova ecx, esi
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x1000b7ec
mov edi, ecx
nop dword [eax + eax]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 0x58]
jbe 0x1000b7dc
cmp ecx, dword [ebp - 0x54]
jb 0x1000b7e1
mov dword [eax], ecx
add eax, 4
inc esi
add edx, 4
cmp esi, edi
jne 0x1000b7d0
mov edi, dword [ebp - 0x10]
cmp eax, edi
cmovne edi, eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x4c], edi
mov eax, edi
sub eax, dword [ebp - 0x14]
sar eax, 2
mov esi, eax
mov dword [ebp - 0x18], eax
shl esi, 4
push 4
sub esi, eax
push 0x1000
add esi, esi
push esi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0x10138bb8
push 0x40
push esi
push eax
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor ecx, ecx
xor eax, eax
xor esi, esi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x18], eax
jbe 0x1000b95a
mov eax, dword [ebp - 0x20]
xor edi, edi
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x28]
push ecx
push eax
mov eax, dword [ebp - 0x14]
push dword [eax + edi*4]
call fcn.100819e0
test eax, eax
je 0x1000b893
mov dword [ebp - 0x74], edi
cmp dword [ebp - 0x1c], esi
je 0x1000b87d
mov dword [esi], edi
add esi, 4
mov dword [ebp - 0x34], esi
jmp 0x1000b893
lea eax, [ebp - 0x74]
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.1000ab10
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
push dword [eax + edi*4]
call fcn.10081cb0
mov ecx, dword [ebp - 0x24]
movups xmm0, xmmword [0x10131300]
movups xmmword [ecx], xmm0
movq xmm0, qword [0x10131310]
movq qword [ecx + 0x10], xmm0
mov eax, dword [0x10131318]
mov dword [ecx + 0x18], eax
mov ax, word [0x1013131c]
mov word [ecx + 0x1c], ax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + edi*4]
mov dword [ecx + 3], eax
mov eax, dword [ebp - 0x28]
mov dword [ecx + 0x19], eax
mov eax, 0x68db8bad
imul edi
mov ecx, edi
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x9c4
sub ecx, eax
jne 0x1000b93e
mov eax, dword [ebp - 0x18]
sub esp, 8
movd xmm1, edi
cvtdq2pd xmm1, xmm1
movd xmm0, eax
mulsd xmm1, qword [0x10100168]
shr eax, 0x1f
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x100ffe50]
divsd xmm1, xmm0
addsd xmm1, qword [0x10100160]
movsd qword [esp], xmm1
push str.initializing_hook_search___f___
call fcn.100060e0
add esp, 0xc
mov eax, dword [ebp - 0x24]
inc edi
add eax, 0x1e
mov dword [ebp - 0x24], eax
cmp edi, dword [ebp - 0x18]
jb 0x1000b857
mov ecx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x24], ecx
sub esi, ecx
xor edx, edx
sar esi, 2
mov eax, edi
mov dword [ebp - 0x18], edx
test esi, esi
je 0x1000b9a9
nop word [eax + eax]
mov eax, esi
sub eax, edx
mov eax, dword [ecx + eax*4 - 4]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax*4]
mov ecx, edi
lea edx, [eax + 4]
sub ecx, edx
push ecx
push edx
push eax
call fcn.100ccaa0
mov edx, dword [ebp - 0x18]
add edi, 0xfffffffc
mov ecx, dword [ebp - 0x24]
inc edx
add esp, 0xc
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x18], edx
mov eax, edi
cmp edx, esi
jb 0x1000b970
mov dword [ebp - 0x10], edi
mov esi, eax
sub esi, dword [ebp - 0x14]
mov eax, esi
sar eax, 2
push eax
push str.initialized_hook_search_with__zd_hooks
call fcn.100060e0
add esp, 8
call fcn.10081900
push str.starting_hook_search
call fcn.100060e0
mov eax, 0x10624dd3
imul dword [0x10131350]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push str.please_click_around_in_the_game_to_force_it_to_process_text_during_the_next__d_seconds
call fcn.100060e0
add esp, 0xc
push dword [0x10131350]
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esi + 3]
xor esi, esi
shr ecx, 2
cmp dword [ebp - 0x14], edi
cmova ecx, esi
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0x1000ba33
xor edi, edi
nop dword [eax]
push dword [esi]
call fcn.10081c90
inc edi
lea esi, [esi + 4]
cmp edi, dword [ebp - 0x28]
jne 0x1000ba20
mov edi, dword [ebp - 0x10]
call fcn.10081900
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x14]
mov eax, edi
sub eax, ecx
xor edx, edx
add eax, 3
xor esi, esi
shr eax, 2
cmp ecx, edi
mov edi, ecx
cmova eax, edx
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1000ba72
push dword [edi]
call fcn.10081cd0
inc esi
lea edi, [edi + 4]
cmp esi, dword [ebp - 0x28]
jne 0x1000ba62
push 0x8000
push 0
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
call fcn.1000c780
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x1000bac9
mov eax, dword [ebp - 0x1c]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000babf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000be88
push edx
push ecx
call fcn.100ca2ff
add esp, 8
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x1000bdd2
mov eax, dword [ebp - 0x3c]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000bb05
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000be8d
push edx
push ecx
jmp 0x1000bdca
xor eax, eax
mov byte [0x10138c24], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x30], eax
push dword [0x10138ac4]
mov byte [ebp - 4], 5
xor edi, edi
push str.initialized_hook_search_with__zd_hooks
mov dword [ebp - 0x1c], 0xffffffff
call fcn.100060e0
mov ecx, dword [0x10138ac0]
add esp, 8
mov eax, dword [ecx]
cmp eax, ecx
je 0x1000bba2
nop dword [eax]
movups xmm0, xmmword [eax + 8]
xor edx, edx
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [eax + 0x18]
movq qword [ebp - 0x60], xmm0
mov esi, dword [ebp - 0x5c]
cmp edx, esi
mov edx, dword [ebp - 0x60]
jb 0x1000bb88
ja 0x1000bb85
cmp dword [ebp - 0x1c], edx
jb 0x1000bb88
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x28], 0
cmp dword [ebp - 0x28], esi
ja 0x1000bb9c
jb 0x1000bb9a
cmp edi, edx
ja 0x1000bb9c
mov edi, edx
mov eax, dword [eax]
cmp eax, ecx
jne 0x1000bb60
push edi
push dword [ebp - 0x1c]
push str._p__p
call fcn.100060e0
push dword [0x10131370]
push dword [0x10131368]
push str._p__p
call fcn.100060e0
mov edi, dword [0x10138ac0]
add esp, 0x18
mov esi, dword [edi]
cmp esi, edi
je 0x1000bd49
nop dword [eax]
movups xmm0, xmmword [esi + 8]
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [esi + 0x18]
movq qword [ebp - 0x60], xmm0
mov eax, dword [ebp - 0x5c]
test eax, eax
ja 0x1000bd3a
mov edx, dword [ebp - 0x60]
jb 0x1000bd3a
cmp edx, dword [0x10131370]
ja 0x1000bd3a
test eax, eax
jb 0x1000bd3a
ja 0x1000bc28
cmp edx, dword [0x10131368]
jb 0x1000bd3a
mov eax, dword [0x10131360]
inc dword [ebp - 0x10]
push 0
mov dword [ebp - 0x98], eax
sub esp, 0x28
mov eax, dword [ebp - 0x68]
mov ecx, esp
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0xa0], 0x1000cbd0
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x88], eax
mov dword [ecx + 0x24], 0
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 6
push eax
call fcn.1000adc0
mov ecx, dword [ebp - 0x28]
add esp, 4
mov byte [ebp - 4], 5
push dword [ebp - 0x70]
mov dword [ecx + 0x24], eax
call fcn.1007d510
add esp, 0x30
test al, al
je 0x1000bcd1
mov eax, dword [ebp - 0x34]
xor edx, edx
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], edx
cmp dword [ebp - 0x18], eax
je 0x1000bcbe
mov dword [eax], ecx
mov dword [eax + 4], edx
add eax, 8
mov dword [ebp - 0x34], eax
jmp 0x1000bcd1
lea ecx, [ebp - 0x58]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.1000ac20
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
mov eax, 0x68db8bad
imul ecx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x9c4
sub ecx, eax
jne 0x1000bd3a
mov eax, dword [0x10138ac4]
sub esp, 8
movd xmm1, dword [ebp - 0x10]
cvtdq2pd xmm1, xmm1
movd xmm0, eax
mulsd xmm1, qword [0x10100168]
shr eax, 0x1f
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x100ffe50]
divsd xmm1, xmm0
addsd xmm1, qword [0x10100160]
movsd qword [esp], xmm1
push str.initializing_hook_search___f___
call fcn.100060e0
add esp, 0xc
mov esi, dword [esi]
cmp esi, edi
jne 0x1000bbe0
mov esi, dword [ebp - 0x38]
jmp 0x1000bd4b
xor esi, esi
push dword [ebp - 0x10]
push str.initialized_hook_search_with__zd_hooks
call fcn.100060e0
mov eax, 0x10624dd3
imul dword [0x10131350]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push str.please_click_around_in_the_game_to_force_it_to_process_text_during_the_next__d_seconds
call fcn.100060e0
add esp, 0x10
push dword [0x10131350]
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [0x10138c24], 1
call fcn.1000c780
mov byte [ebp - 4], 1
test esi, esi
je 0x1000bdd2
mov eax, dword [ebp - 0x18]
sub eax, esi
sar eax, 3
lea ecx, [eax*8]
mov eax, esi
cmp ecx, 0x1000
jb 0x1000bdc8
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000be92
push ecx
push esi
call fcn.100ca2ff
add esp, 8
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x1000be14
mov eax, dword [ebp - 0x48]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000be0a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000be97
push edx
push ecx
call fcn.100ca2ff
add esp, 8
push 0x10caa740
mov dword [ebp - 4], 7
call fcn.1009def5
add esp, 4
test eax, eax
je 0x1000be35
push eax
call fcn.1009e0f0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x10caa770
call fcn.100ca4fd
add esp, 4
cmp dword [0x10caa770], 0xffffffff
jne 0x1000b36f
push 2
push 0x10caa740
call fcn.1009deaf
push 0x100fb600
call fcn.100ca170
push 0x10caa770
call fcn.100ca4b3
add esp, 0x10
jmp 0x1000b36f
call fcn.100d55d9
call fcn.100d55d9
call fcn.100d55d9
call fcn.100d55d9
int3