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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ec240
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push esi
push edi
mov eax, dword [0x10129fe8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
mov eax, dword fs:[0x2c]
mov edx, dword [0x10ca8e80]
mov edx, dword [eax + edx*4]
mov eax, dword [0x10ca2458]
cmp eax, dword [edx + 4]
jg 0x1000acf8
push 0x10ca2428
mov dword [ebp - 0x34], 0x10ca2428
call fcn.10097ac0
add esp, 4
test eax, eax
je 0x1000a27d
push eax
call fcn.10097ce0
add esp, 4
sub esp, 8
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [0x1012930d], 0x1000b9c0
movsd qword [esp], xmm0
push str.initializing_hook_search___f___
call fcn.10005410
mov eax, dword [ebp - 0x24]
add esp, 0xc
cmp dword [edi + 0x28], 0
mov esi, 0x10129050
mov ecx, 0x9e
cmovne esi, edi
mov edi, 0x10129320
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0x38]
mov dword [0x10129358], eax
call fcn.1000bd50
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
cmp dword [0x10129594], 0
mov byte [ebp - 4], 1
jne 0x1000aa38
cmp word [0x10129378], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
je 0x1000a3c3
push 0x10
push 0x1000
push 0x10129378
call edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.10091a70
mov eax, dword [0x10129340]
add esp, 0x10
test eax, eax
jne 0x1000a388
mov esi, dword [0x10129368]
mov eax, esi
mov ecx, dword [ebp - 0x30]
cmp ecx, esi
mov edi, dword [ebp - 0x2c]
cmova eax, ecx
cmp eax, edi
jae 0x1000a34b
cmp ecx, esi
jbe 0x1000a353
mov esi, ecx
jmp 0x1000a34d
mov esi, edi
mov dword [0x10129368], esi
mov edx, dword [0x10129370]
cmp edi, edx
mov eax, edx
cmovb eax, edi
cmp eax, ecx
jbe 0x1000a378
cmp edi, edx
jae 0x1000a380
mov edx, edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x10129370], edx
jmp 0x1000a3cf
mov edx, ecx
mov dword [0x10129370], edx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
jmp 0x1000a3cf
cmp eax, 1
jne 0x1000a3c3
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
sub edx, ecx
cmp dword [0x10129368], edx
mov esi, edx
cmovb esi, dword [0x10129368]
add esi, ecx
cmp dword [0x10129370], edx
mov dword [0x10129368], esi
cmovb edx, dword [0x10129370]
add edx, ecx
mov dword [0x10129370], edx
jmp 0x1000a3cf
mov esi, dword [0x10129368]
mov edx, dword [0x10129370]
cmp word [0x10129468], 0
je 0x1000a436
push 0x10129468
call edi
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.1000b0f0
mov esi, eax
add esp, 8
lea eax, [ebp - 0x54]
cmp eax, esi
je 0x1000a422
mov ecx, eax
call fcn.10003ba0
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 8]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x4c], eax
mov dword [esi + 8], 0
lea ecx, [ebp - 0x6c]
call fcn.10003ba0
mov edx, dword [0x10129370]
mov esi, dword [0x10129368]
cmp word [0x10129378], 0
je 0x1000a479
push 0x10129378
call edi
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.1000b0f0
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.1000be70
add esp, 0x10
lea ecx, [ebp - 0x6c]
call fcn.10003ba0
mov edx, dword [0x10129370]
mov esi, dword [0x10129368]
xor edi, edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov eax, dword [0x10129344]
mov byte [ebp - 4], 3
test eax, eax
jne 0x1000a529
movzx eax, word [0x10129348]
push edx
push esi
push 0x10
push eax
lea eax, [ebp - 0x6c]
push 0x10129320
push eax
call fcn.10091d20
mov edi, eax
xor esi, esi
lea eax, [ebp - 0x48]
mov dword [ebp - 0x20], esi
add esp, 0x18
cmp eax, edi
je 0x1000a4ef
mov ecx, eax
call fcn.10003ba0
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x44], eax
mov eax, dword [edi + 8]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x40], eax
mov dword [edi + 8], 0
lea ecx, [ebp - 0x6c]
call fcn.10003ba0
mov edx, dword [ebp - 0x20]
xor edi, edi
sub edx, esi
xor ecx, ecx
add edx, 3
shr edx, 2
cmp esi, dword [ebp - 0x20]
cmova edx, edi
test edx, edx
je 0x1000a656
mov eax, dword [0x1012934c]
lea esi, [esi + 4]
add dword [esi - 4], eax
inc ecx
cmp ecx, edx
jne 0x1000a514
jmp 0x1000a656
cmp eax, 1
jne 0x1000a5dd
and esi, 0xfffffff0
mov dword [ebp - 0x14], esi
cmp esi, edx
jae 0x1000a656
mov edi, esi
push 0x110
lea eax, [edi - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x1000a55d
lea esi, [edi + 0xf0]
jmp 0x1000a5c7
mov eax, dword [esi - 4]
cmp eax, 0xcccccccc
je 0x1000a5a5
cmp eax, 0x90909090
je 0x1000a5a5
cmp eax, 0xccccccc3
je 0x1000a5a5
cmp eax, 0x909090c3
je 0x1000a5a5
mov ecx, eax
and ecx, 0xff0000ff
cmp ecx, 0xcc0000c2
je 0x1000a5a5
cmp ecx, 0x900000c2
je 0x1000a5a5
shr eax, 8
cmp eax, 0xccccc3
je 0x1000a5a5
cmp eax, 0x9090c3
jne 0x1000a5c7
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x40], eax
je 0x1000a5b7
mov dword [eax], esi
add eax, 4
mov dword [ebp - 0x44], eax
jmp 0x1000a5c7
lea ecx, [ebp - 0x14]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.100099d0
mov esi, dword [ebp - 0x14]
add esi, 0x10
mov edi, esi
mov dword [ebp - 0x14], esi
cmp esi, dword [0x10129370]
jb 0x1000a542
jmp 0x1000a656
cmp eax, 2
jne 0x1000a656
cmp esi, edx
jae 0x1000a656
nop word [eax + eax]
push 0x100
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x1000a608
add esi, 0xff
jmp 0x1000a64d
cmp byte [esi], 0xe8
jne 0x1000a64d
lea ecx, [esi + 5]
add ecx, dword [esi + 1]
cmp dword [0x10129368], ecx
jae 0x1000a64d
cmp dword [0x10129370], ecx
jbe 0x1000a64d
mov eax, dword [ebp - 0x44]
cmp edi, eax
je 0x1000a63b
nop word [eax + eax]
cmp dword [edi], ecx
je 0x1000a63b
add edi, 4
cmp edi, eax
jne 0x1000a630
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.1000bef0
mov edi, dword [ebp - 0x48]
inc esi
cmp esi, dword [0x10129370]
jb 0x1000a5f0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.1000be70
add esp, 8
push 0x10
push 0x1000
push str.LunaHook32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.10091a70
mov ecx, dword [ebp - 0x54]
add esp, 0x10
mov edi, dword [ebp - 0x50]
mov eax, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edi
cmp eax, edi
je 0x1000a70a
mov esi, dword [ebp - 0x3c]
nop word [eax + eax]
mov edx, dword [eax]
cmp edx, esi
jbe 0x1000a6ab
cmp edx, dword [ebp - 0x38]
jb 0x1000a6b2
add eax, 4
cmp eax, edi
jne 0x1000a6a0
cmp eax, edi
je 0x1000a70a
lea edx, [eax + 4]
mov dword [ebp - 0x24], 0
mov esi, edi
sub esi, edx
add esi, 3
shr esi, 2
cmp edx, edi
cmova esi, dword [ebp - 0x24]
mov dword [ebp - 0x24], esi
test esi, esi
mov esi, 0
je 0x1000a6ff
mov edi, dword [ebp - 0x24]
nop
mov ecx, dword [edx]
cmp ecx, dword [ebp - 0x3c]
jbe 0x1000a6ec
cmp ecx, dword [ebp - 0x38]
jb 0x1000a6f1
mov dword [eax], ecx
add eax, 4
inc esi
add edx, 4
cmp esi, edi
jne 0x1000a6e0
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp eax, edi
cmovne edi, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x50], edi
mov eax, edi
sub eax, ecx
sar eax, 2
mov esi, eax
mov dword [ebp - 0x1c], 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 0x101308a8
push 0x40
push esi
push eax
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor ecx, ecx
xor eax, eax
xor esi, esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x1c], eax
jbe 0x1000a873
mov eax, dword [ebp - 0x24]
xor edi, edi
mov dword [ebp - 0x18], eax
nop dword [eax]
lea ecx, [ebp - 0x2c]
push ecx
push eax
mov eax, dword [ebp - 0x10]
push dword [eax + edi*4]
call fcn.1007ae10
test eax, eax
je 0x1000a7ac
mov dword [ebp - 0x28], edi
cmp dword [ebp - 0x20], esi
je 0x1000a796
mov dword [esi], edi
add esi, 4
mov dword [ebp - 0x5c], esi
jmp 0x1000a7ac
lea eax, [ebp - 0x28]
push eax
push esi
lea ecx, [ebp - 0x60]
call fcn.100099d0
mov eax, dword [ebp - 0x58]
mov esi, dword [ebp - 0x5c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
push dword [eax + edi*4]
call fcn.1007b0e0
mov ecx, dword [ebp - 0x18]
movups xmm0, xmmword [0x10129300]
movups xmmword [ecx], xmm0
movq xmm0, qword [0x10129310]
movq qword [ecx + 0x10], xmm0
mov eax, dword [0x10129318]
mov dword [ecx + 0x18], eax
mov ax, word [0x1012931c]
mov word [ecx + 0x1c], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + edi*4]
mov dword [ecx + 3], eax
mov eax, dword [ebp - 0x2c]
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 0x1000a857
mov eax, dword [ebp - 0x1c]
sub esp, 8
movd xmm1, edi
cvtdq2pd xmm1, xmm1
movd xmm0, eax
mulsd xmm1, qword [0x100f9108]
shr eax, 0x1f
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x100f8df0]
divsd xmm1, xmm0
addsd xmm1, qword [0x100f9100]
movsd qword [esp], xmm1
push str.initializing_hook_search___f___
call fcn.10005410
add esp, 0xc
mov eax, dword [ebp - 0x18]
inc edi
add eax, 0x1e
mov dword [ebp - 0x18], eax
cmp edi, dword [ebp - 0x1c]
jb 0x1000a770
mov ecx, dword [ebp - 0x60]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
sub esi, ecx
xor edx, edx
sar esi, 2
mov eax, edi
mov dword [ebp - 0x1c], edx
test esi, esi
je 0x1000a8bc
mov eax, esi
sub eax, edx
mov eax, dword [ecx + eax*4 - 4]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax*4]
mov ecx, edi
lea edx, [eax + 4]
sub ecx, edx
push ecx
push edx
push eax
call fcn.100c6690
mov edx, dword [ebp - 0x1c]
add edi, 0xfffffffc
mov ecx, dword [ebp - 0x18]
inc edx
add esp, 0xc
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x1c], edx
mov eax, edi
cmp edx, esi
jb 0x1000a883
mov dword [ebp - 0x14], edi
mov esi, eax
sub esi, dword [ebp - 0x10]
mov eax, esi
sar eax, 2
push eax
push str.initialized_hook_search_with__zd_hooks
call fcn.10005410
add esp, 8
call fcn.1007ad30
push str.starting_hook_search
call fcn.10005410
mov eax, 0x10624dd3
imul dword [0x10129350]
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.10005410
add esp, 0xc
push dword [0x10129350]
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esi + 3]
xor edx, edx
mov esi, dword [ebp - 0x10]
mov eax, esi
shr ecx, 2
cmp esi, edi
mov dword [ebp - 0x1c], eax
cmova ecx, edx
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x1000a949
xor edi, edi
push dword [eax]
call fcn.1007b0c0
mov eax, dword [ebp - 0x1c]
inc edi
add eax, 4
mov dword [ebp - 0x1c], eax
cmp edi, dword [ebp - 0x2c]
jne 0x1000a930
mov edi, dword [ebp - 0x14]
call fcn.1007ad30
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, edi
mov dword [ebp - 0x1c], 0
sub eax, esi
xor ecx, ecx
add eax, 3
shr eax, 2
cmp esi, edi
mov edi, esi
cmova eax, ecx
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1000a996
nop word [eax + eax]
push dword [edi]
call fcn.1007b100
mov eax, dword [ebp - 0x1c]
lea edi, [edi + 4]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, dword [ebp - 0x2c]
jne 0x1000a980
push 0x8000
push 0
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
call fcn.1000b610
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x1000a9ed
mov eax, dword [ebp - 0x20]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a9e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ad3a
push edx
push ecx
call fcn.100c3eef
add esp, 8
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x1000ac87
mov eax, dword [ebp - 0x40]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000aa29
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ad3f
push edx
push ecx
call fcn.100c3eef
add esp, 8
jmp 0x1000ac87
xor eax, eax
mov byte [0x1013096c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x58], eax
push dword [0x101307b4]
xor esi, esi
mov byte [ebp - 4], 5
push str.initialized_hook_search_with__zd_hooks
or edi, 0xffffffff
mov dword [ebp - 0x24], esi
call fcn.10005410
mov ecx, dword [0x101307b0]
add esp, 8
mov eax, dword [ecx]
cmp eax, ecx
je 0x1000aab6
nop word [eax + eax]
mov esi, dword [eax + 0x10]
mov edx, esi
movq xmm0, qword [eax + 8]
cmp edi, esi
mov eax, dword [eax]
cmovb edx, edi
movq qword [ebp - 0x6c], xmm0
cmp dword [ebp - 0x24], esi
mov edi, edx
cmova esi, dword [ebp - 0x24]
mov dword [ebp - 0x24], esi
cmp eax, ecx
jne 0x1000aa90
push esi
push edi
push str._p__p
call fcn.10005410
push dword [0x10129370]
push dword [0x10129368]
push str._p__p
call fcn.10005410
mov edi, dword [0x101307b0]
add esp, 0x18
mov esi, dword [edi]
cmp esi, edi
je 0x1000abfc
nop dword [eax + eax]
movq xmm0, qword [esi + 8]
mov edx, dword [esi + 0x10]
movq qword [ebp - 0x6c], xmm0
cmp edx, dword [0x10129370]
ja 0x1000abed
cmp edx, dword [0x10129368]
jb 0x1000abed
mov eax, dword [ebp - 0x68]
inc dword [ebp - 0x14]
push 0
sub esp, 0x28
mov ecx, esp
mov dword [ecx], vtable.std::_Func_impl_no_alloc_class_std::_Binder_struct_std::_Unforced__bool____cdecl___struct__CONTEXT___unsigned_int__unsigned_int__enum_JITTYPE___struct_std::_Ph_1__const___unsigned_int_const___unsigned_int___enum_JITTYPE____bool__struct__CONTEXT__.0
mov dword [ecx + 4], 0x1000ba30
mov dword [ecx + 8], eax
mov al, byte [ebp - 0x70]
mov dword [ecx + 0xc], edx
mov edx, dword [ebp - 0x6c]
mov dword [ecx + 0x10], edx
mov byte [ecx + 0x14], al
push edx
mov dword [ecx + 0x24], ecx
call fcn.10076a40
add esp, 0x30
test al, al
je 0x1000ab84
mov eax, dword [ebp - 0x5c]
xor edx, edx
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], edx
cmp dword [ebp - 0x20], eax
je 0x1000ab71
mov dword [eax], ecx
mov dword [eax + 4], edx
add eax, 8
mov dword [ebp - 0x5c], eax
jmp 0x1000ab84
lea ecx, [ebp - 0x3c]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.10009ae0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x14]
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 0x1000abed
mov eax, dword [0x101307b4]
sub esp, 8
movd xmm1, dword [ebp - 0x14]
cvtdq2pd xmm1, xmm1
movd xmm0, eax
mulsd xmm1, qword [0x100f9108]
shr eax, 0x1f
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x100f8df0]
divsd xmm1, xmm0
addsd xmm1, qword [0x100f9100]
movsd qword [esp], xmm1
push str.initializing_hook_search___f___
call fcn.10005410
add esp, 0xc
mov esi, dword [esi]
cmp esi, edi
jne 0x1000aaf0
mov esi, dword [ebp - 0x60]
jmp 0x1000abfe
xor esi, esi
push dword [ebp - 0x14]
push str.initialized_hook_search_with__zd_hooks
call fcn.10005410
mov eax, 0x10624dd3
imul dword [0x10129350]
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.10005410
add esp, 0x10
push dword [0x10129350]
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [0x1013096c], 1
call fcn.1000b610
mov byte [ebp - 4], 1
test esi, esi
je 0x1000ac85
mov eax, dword [ebp - 0x20]
sub eax, esi
sar eax, 3
lea ecx, [eax*8]
mov eax, esi
cmp ecx, 0x1000
jb 0x1000ac7b
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ad44
push ecx
push esi
call fcn.100c3eef
add esp, 8
xor esi, esi
mov byte [ebp - 4], 0
test esi, esi
je 0x1000acc6
mov eax, dword [ebp - 0x4c]
sub eax, esi
sar eax, 2
lea ecx, [eax*4]
mov eax, esi
cmp ecx, 0x1000
jb 0x1000acbc
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ad49
push ecx
push esi
call fcn.100c3eef
add esp, 8
push 0x10ca2428
mov dword [ebp - 4], 6
call fcn.10097ae5
add esp, 4
test eax, eax
je 0x1000ace7
push eax
call fcn.10097ce0
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 0x10ca2458
call fcn.100c40ed
add esp, 4
cmp dword [0x10ca2458], 0xffffffff
jne 0x1000a25c
push 2
push 0x10ca2428
call fcn.10097a9f
push 0x100f53e0
call fcn.100c3d5d
push 0x10ca2458
call fcn.100c40a3
add esp, 0x10
jmp 0x1000a25c
call fcn.100cf1d9
call fcn.100cf1d9
call fcn.100cf1d9
call fcn.100cf1d9
int3