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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ea130
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push esi
push edi
mov eax, dword [0x1011dfc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x28], edi
push 0x1011d540
mov dword [ebp - 0x90], 0x1011d540
call fcn.100a848f
add esp, 4
test eax, eax
jne 0x100066b0
mov eax, dword [0x1011d56c]
cmp eax, 0x7fffffff
je 0x100066b7
sub esp, 8
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [0x1011d52d], 0x10007150
movsd qword [esp], xmm0
push str.initializing_hook_search___f___
call fcn.1007e620
mov eax, dword [ebp - 0x28]
add esp, 0xc
cmp dword [edi + 0x28], 0
mov esi, section..data
mov ecx, 0x9e
cmovne esi, edi
mov edi, 0x1011d2a8
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0x38]
mov dword [0x1011d2e0], eax
call fcn.10007490
xor edi, edi
xor eax, eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x38], edi
mov byte [ebp - 4], 1
cmp dword [0x1011d51c], eax
jne 0x100063a7
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp word [0x1011d300], ax
je 0x10005d40
push 0x10
push 0x1000
push 0x1011d300
call edi
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.100a4ec0
mov eax, dword [0x1011d2c8]
add esp, 0x10
test eax, eax
jne 0x10005d05
mov esi, dword [0x1011d2f0]
mov eax, esi
mov ecx, dword [ebp - 0x58]
cmp ecx, esi
mov edi, dword [ebp - 0x54]
cmova eax, ecx
cmp eax, edi
jae 0x10005cc8
cmp ecx, esi
jbe 0x10005cd0
mov esi, ecx
jmp 0x10005cca
mov esi, edi
mov dword [0x1011d2f0], esi
mov edx, dword [0x1011d2f8]
cmp edi, edx
mov eax, edx
cmovb eax, edi
cmp eax, ecx
jbe 0x10005cf5
cmp edi, edx
jae 0x10005cfd
mov edx, edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x1011d2f8], edx
jmp 0x10005d4c
mov edx, ecx
mov dword [0x1011d2f8], edx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
jmp 0x10005d4c
cmp eax, 1
jne 0x10005d40
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
sub edx, ecx
cmp dword [0x1011d2f0], edx
mov esi, edx
cmovb esi, dword [0x1011d2f0]
add esi, ecx
cmp dword [0x1011d2f8], edx
mov dword [0x1011d2f0], esi
cmovb edx, dword [0x1011d2f8]
add edx, ecx
mov dword [0x1011d2f8], edx
jmp 0x10005d4c
mov esi, dword [0x1011d2f0]
mov edx, dword [0x1011d2f8]
cmp word [0x1011d3f0], 0
je 0x10005db2
push 0x1011d3f0
call edi
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10006960
mov ecx, eax
add esp, 8
lea eax, [ebp - 0x40]
cmp eax, ecx
je 0x10005d9e
mov eax, dword [ecx]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x40], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x38], eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
lea ecx, [ebp - 0x34]
call fcn.10005970
mov edx, dword [0x1011d2f8]
mov esi, dword [0x1011d2f0]
cmp word [0x1011d300], 0
je 0x10005e01
push 0x1011d300
call edi
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10006960
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100075e0
add esp, 0x10
lea ecx, [ebp - 0x34]
call fcn.10005970
mov eax, dword [ebp - 0x38]
mov edx, dword [0x1011d2f8]
mov esi, dword [0x1011d2f0]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x10], eax
xor eax, eax
xor ecx, ecx
xor edi, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x48], ecx
mov ecx, dword [0x1011d2cc]
mov byte [ebp - 4], 3
test ecx, ecx
jne 0x10005eb6
movzx eax, word [0x1011d2d0]
push edx
push esi
push 0x10
push eax
lea eax, [ebp - 0x34]
push 0x1011d2a8
push eax
call fcn.100a5180
mov ecx, eax
add esp, 0x18
lea eax, [ebp - 0x50]
cmp eax, ecx
jne 0x10005e5d
lea ecx, [ebp - 0x34]
call fcn.10005970
xor eax, eax
jmp 0x10005fb2
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov edi, dword [ecx + 4]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x48], eax
call fcn.10005970
mov eax, dword [ebp - 0x18]
mov ecx, eax
cmp eax, edi
je 0x10005fb2
nop dword [eax]
mov eax, dword [0x1011d2d4]
add dword [ecx], eax
add ecx, 4
cmp ecx, edi
jne 0x10005ea0
mov eax, dword [ebp - 0x18]
jmp 0x10005fb2
cmp ecx, 1
jne 0x10005f7f
and esi, 0xfffffff0
mov dword [ebp - 0x24], esi
cmp esi, edx
jae 0x10005fb2
mov ecx, esi
mov dword [ebp - 0x14], esi
push 0x110
lea eax, [ecx - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x10005ef0
mov esi, dword [ebp - 0x14]
add esi, 0xf0
jmp 0x10005f60
mov eax, dword [esi - 4]
cmp eax, 0xcccccccc
je 0x10005f38
cmp eax, 0x90909090
je 0x10005f38
cmp eax, 0xccccccc3
je 0x10005f38
cmp eax, 0x909090c3
je 0x10005f38
mov ecx, eax
and ecx, 0xff0000ff
cmp ecx, 0xcc0000c2
je 0x10005f38
cmp ecx, 0x900000c2
je 0x10005f38
shr eax, 8
cmp eax, 0xccccc3
je 0x10005f38
cmp eax, 0x9090c3
jne 0x10005f60
cmp edi, dword [ebp - 0x1c]
je 0x10005f47
mov dword [edi], esi
add edi, 4
mov dword [ebp - 0x4c], edi
jmp 0x10005f60
lea eax, [ebp - 0x24]
push eax
push edi
lea ecx, [ebp - 0x50]
call fcn.10005380
mov eax, dword [ebp - 0x48]
mov edi, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
add esi, 0x10
mov ecx, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x14], ecx
cmp esi, dword [0x1011d2f8]
jb 0x10005ed2
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x18], eax
jmp 0x10005fb2
cmp ecx, 2
jne 0x10005fb2
cmp esi, edx
jae 0x10005fb2
nop dword [eax + eax]
push 0x100
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x10005fef
add esi, 0xff
mov eax, dword [ebp - 0x18]
inc esi
cmp esi, dword [0x1011d2f8]
jb 0x10005f90
mov dword [ebp - 0x14], eax
cmp eax, edi
je 0x10006080
mov esi, dword [ebp - 0x3c]
mov eax, dword [eax]
push eax
push esi
push dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], eax
call fcn.100a8b40
cmp eax, esi
jne 0x1000606f
cmp esi, dword [ebp - 0x44]
je 0x10006053
mov eax, dword [ebp - 0x28]
mov dword [esi], eax
add esi, 4
mov dword [ebp - 0x3c], esi
jmp 0x1000606f
cmp byte [esi], 0xe8
jne 0x10005fa6
mov eax, dword [esi + 1]
add eax, 5
add eax, esi
mov dword [ebp - 0x28], eax
cmp dword [0x1011d2f0], eax
jae 0x10005fa6
cmp dword [0x1011d2f8], eax
jbe 0x10005fa6
mov edx, dword [ebp - 0x18]
push eax
push edi
push edx
call fcn.100a8b40
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
cmp edi, dword [ebp - 0x1c]
je 0x10006032
mov dword [edi], eax
add edi, 4
mov dword [ebp - 0x4c], edi
jmp 0x10005fa6
lea eax, [ebp - 0x28]
push eax
push edi
lea ecx, [ebp - 0x50]
call fcn.10005380
mov eax, dword [ebp - 0x48]
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x18], eax
jmp 0x10005fa9
lea eax, [ebp - 0x20]
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.10005380
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x10005fc0
push 0x10
push 0x1000
push str.LunaHook32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.100a4ec0
mov esi, dword [ebp - 0x10]
add esp, 0x10
mov edi, dword [ebp - 0x3c]
mov eax, esi
cmp eax, edi
je 0x100060ea
mov esi, dword [ebp - 0x60]
mov edx, dword [ebp - 0x64]
mov ecx, dword [eax]
cmp ecx, edx
jbe 0x100060bb
cmp ecx, esi
jb 0x100060c2
add eax, 4
cmp eax, edi
jne 0x100060b1
mov esi, dword [ebp - 0x10]
cmp eax, edi
je 0x100060ea
lea ecx, [eax + 4]
cmp ecx, edi
je 0x100060e8
mov edx, dword [ecx]
cmp edx, dword [ebp - 0x64]
jbe 0x100060dc
cmp edx, dword [ebp - 0x60]
jb 0x100060e1
mov dword [eax], edx
add eax, 4
add ecx, 4
cmp ecx, edi
jne 0x100060d0
cmp eax, edi
cmovne edi, eax
mov eax, edi
mov dword [ebp - 0x3c], edi
sub eax, esi
sar eax, 2
mov esi, eax
mov dword [ebp - 0x20], 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 0x10123b88
push 0x40
push esi
push eax
mov dword [ebp - 0x28], 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 - 0x34], ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x20], eax
jbe 0x10006253
mov eax, dword [ebp - 0x28]
xor edi, edi
mov dword [ebp - 0x24], eax
nop
lea ecx, [ebp - 0x54]
push ecx
push eax
mov eax, dword [ebp - 0x10]
push dword [eax + edi*4]
call fcn.10085d80
test eax, eax
je 0x1000618c
mov dword [ebp - 0x5c], edi
cmp esi, dword [ebp - 0x14]
je 0x10006176
mov dword [esi], edi
add esi, 4
mov dword [ebp - 0x30], esi
jmp 0x1000618c
lea eax, [ebp - 0x5c]
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.10005380
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
push dword [eax + edi*4]
call fcn.10086040
mov ecx, dword [ebp - 0x24]
movups xmm0, xmmword [0x1011d520]
movups xmmword [ecx], xmm0
movq xmm0, qword [0x1011d530]
movq qword [ecx + 0x10], xmm0
mov eax, dword [0x1011d538]
mov dword [ecx + 0x18], eax
mov ax, word [0x1011d53c]
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 - 0x54]
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 0x10006237
mov eax, dword [ebp - 0x20]
sub esp, 8
movd xmm1, edi
cvtdq2pd xmm1, xmm1
movd xmm0, eax
mulsd xmm1, qword [0x100f5940]
shr eax, 0x1f
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x100f5700]
divsd xmm1, xmm0
addsd xmm1, qword [0x100f5938]
movsd qword [esp], xmm1
push str.initializing_hook_search___f___
call fcn.1007e620
add esp, 0xc
mov eax, dword [ebp - 0x24]
inc edi
add eax, 0x1e
mov dword [ebp - 0x24], eax
cmp edi, dword [ebp - 0x20]
jb 0x10006150
mov ecx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x3c]
mov dword [ebp - 0x24], ecx
sub esi, ecx
sar esi, 2
test esi, esi
je 0x10006293
lea eax, [esi - 1]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x20], eax
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + eax*4]
mov eax, edi
lea ecx, [edx + 4]
sub eax, ecx
push eax
push ecx
push edx
call fcn.100c12a0
mov eax, dword [ebp - 0x20]
add esp, 0xc
sub eax, 4
sub edi, 4
mov dword [ebp - 0x20], eax
sub esi, 1
jne 0x10006265
mov dword [ebp - 0x3c], edi
mov esi, dword [ebp - 0x10]
mov eax, edi
sub eax, esi
sar eax, 2
push eax
push str.initialized_hook_search_with__zd_hooks
call fcn.1007e620
add esp, 8
call fcn.10085ca0
push str.starting_hook_search
call fcn.1007e620
mov eax, 0x10624dd3
imul dword [0x1011d2d8]
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.1007e620
add esp, 0xc
push dword [0x1011d2d8]
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, edi
je 0x100062fe
nop dword [eax]
push dword [esi]
call fcn.10086020
add esi, 4
cmp esi, edi
jne 0x100062f0
call fcn.10085ca0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [ebp - 0x10]
cmp esi, edi
je 0x10006323
push dword [esi]
call fcn.10086060
add esi, 4
cmp esi, edi
jne 0x10006315
push 0x8000
push 0
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
call fcn.10006d40
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x1000636f
mov ecx, dword [ebp - 0x14]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10006365
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100066c4
push ecx
push edx
call fcn.100bf788
add esp, 8
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x1000665f
mov ecx, dword [ebp - 0x1c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x100063a0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100066c4
push ecx
push edx
jmp 0x10006657
xor eax, eax
mov byte [0x10123bf0], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], eax
push dword [0x10c991fc]
mov byte [ebp - 4], 5
xor edi, edi
push str.initialized_hook_search_with__zd_hooks
mov dword [ebp - 0x14], 0xffffffff
call fcn.1007e620
mov ecx, dword [0x10c991f8]
add esp, 8
mov eax, dword [ecx]
cmp eax, ecx
je 0x10006442
nop word [eax + eax]
movups xmm0, xmmword [eax + 8]
xor edx, edx
movups xmmword [ebp - 0x7c], xmm0
movq xmm0, qword [eax + 0x18]
movq qword [ebp - 0x6c], xmm0
mov esi, dword [ebp - 0x68]
cmp edx, esi
mov edx, dword [ebp - 0x6c]
jb 0x10006428
ja 0x10006425
cmp dword [ebp - 0x14], edx
jb 0x10006428
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x54], 0
cmp dword [ebp - 0x54], esi
ja 0x1000643c
jb 0x1000643a
cmp edi, edx
ja 0x1000643c
mov edi, edx
mov eax, dword [eax]
cmp eax, ecx
jne 0x10006400
push edi
push dword [ebp - 0x14]
push str._p__p
call fcn.1007e620
push dword [0x1011d2f8]
push dword [0x1011d2f0]
push str._p__p
call fcn.1007e620
mov edi, dword [0x10c991f8]
add esp, 0x18
mov esi, dword [edi]
cmp esi, edi
je 0x100065e5
nop dword [eax]
movups xmm0, xmmword [esi + 8]
movups xmmword [ebp - 0x7c], xmm0
movq xmm0, qword [esi + 0x18]
movq qword [ebp - 0x6c], xmm0
mov ecx, dword [ebp - 0x68]
test ecx, ecx
ja 0x100065d6
mov eax, dword [ebp - 0x6c]
jb 0x100065d6
cmp eax, dword [0x1011d2f8]
ja 0x100065d6
test ecx, ecx
jb 0x100065d6
ja 0x100064c8
cmp eax, dword [0x1011d2f0]
jb 0x100065d6
mov eax, dword [0x1011d2e8]
inc dword [ebp - 0x1c]
push 0
sub esp, 0x28
mov dword [ebp - 0x54], eax
mov eax, esp
mov dword [ebp - 0x5c], eax
mov dword [eax + 0x24], 0
push 0x30
mov byte [ebp - 4], 6
call fcn.100bf758
mov ecx, dword [ebp - 0x54]
add esp, 4
mov edx, dword [ebp - 0x7c]
mov byte [ebp - 4], 5
mov dword [eax], 0x100f5920
mov dword [eax + 8], 0x100071b0
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0x74]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 0x6c]
mov dword [eax + 0x18], ecx
mov ecx, dword [ebp - 0x68]
mov dword [eax + 0x1c], ecx
mov cl, byte [ebp - 0x6c]
mov byte [eax + 0x28], cl
mov ecx, dword [ebp - 0x5c]
mov dword [eax + 0x20], edx
push edx
mov dword [ecx + 0x24], eax
call fcn.1007d2f0
add esp, 0x30
test al, al
je 0x1000656d
mov eax, dword [ebp - 0x30]
xor edx, edx
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], edx
cmp eax, dword [ebp - 0x20]
je 0x1000655a
mov dword [eax], ecx
mov dword [eax + 4], edx
add eax, 8
mov dword [ebp - 0x30], eax
jmp 0x1000656d
lea ecx, [ebp - 0x64]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.10005460
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x1c]
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 0x100065d6
mov eax, dword [0x10c991fc]
sub esp, 8
movd xmm1, dword [ebp - 0x1c]
cvtdq2pd xmm1, xmm1
movd xmm0, eax
mulsd xmm1, qword [0x100f5940]
shr eax, 0x1f
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x100f5700]
divsd xmm1, xmm0
addsd xmm1, qword [0x100f5938]
movsd qword [esp], xmm1
push str.initializing_hook_search___f___
call fcn.1007e620
add esp, 0xc
mov esi, dword [esi]
cmp esi, edi
jne 0x10006480
mov esi, dword [ebp - 0x34]
jmp 0x100065e7
xor esi, esi
push dword [ebp - 0x1c]
push str.initialized_hook_search_with__zd_hooks
call fcn.1007e620
mov eax, 0x10624dd3
imul dword [0x1011d2d8]
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.1007e620
add esp, 0x10
push dword [0x1011d2d8]
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [0x10123bf0], 1
call fcn.10006d40
test esi, esi
je 0x1000665f
mov ecx, dword [ebp - 0x20]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x10006655
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100066c9
push ecx
push esi
call fcn.100bf788
add esp, 8
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x10006692
mov edx, dword [ebp - 0x44]
mov eax, ecx
sub edx, ecx
and edx, 0xfffffffc
cmp edx, 0x1000
jb 0x10006688
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100066c9
push edx
push ecx
call fcn.100bf788
add esp, 8
push 0x1011d540
call fcn.100a84a0
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 5
call fcn.100a87c5
dec eax
push 6
mov dword [0x1011d56c], eax
call fcn.100a87c5
call fcn.100cb58f
call fcn.100cb58f
int3