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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f84d0
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push esi
push edi
mov eax, dword [0x1012e100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x28], edi
push 0x1012d578
mov dword [ebp - 0x90], 0x1012d578
call fcn.100b63b3
add esp, 4
test eax, eax
jne 0x1000d64c
mov eax, dword [0x1012d5a4]
cmp eax, 0x7fffffff
je 0x1000d653
push 0xffffffffffffffff
sub esp, 8
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [0x1012d565], 0x1000e0a0
movsd qword [esp], xmm0
push str.initializing_hook_search___f___
push 0
call fcn.100070c0
mov eax, dword [ebp - 0x28]
add esp, 0x14
cmp dword [edi + 0x28], 0
mov esi, section..data
mov ecx, 0x9e
cmovne esi, edi
mov edi, 0x1012d2e0
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0x38]
mov dword [0x1012d318], eax
call fcn.1000e410
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 byte [0x1012d554], al
jne 0x1000d337
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp word [0x1012d338], ax
je 0x1000ccc4
push 0x10
push 0x1000
push 0x1012d338
call edi
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.100b2b30
mov eax, dword [0x1012d300]
add esp, 0x10
test eax, eax
jne 0x1000cc89
mov esi, dword [0x1012d328]
mov eax, esi
mov ecx, dword [ebp - 0x58]
cmp ecx, esi
mov edi, dword [ebp - 0x54]
cmova eax, ecx
cmp eax, edi
jae 0x1000cc4c
cmp ecx, esi
jbe 0x1000cc54
mov esi, ecx
jmp 0x1000cc4e
mov esi, edi
mov dword [0x1012d328], esi
mov edx, dword [0x1012d330]
cmp edi, edx
mov eax, edx
cmovb eax, edi
cmp eax, ecx
jbe 0x1000cc79
cmp edi, edx
jae 0x1000cc81
mov edx, edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x1012d330], edx
jmp 0x1000ccd0
mov edx, ecx
mov dword [0x1012d330], edx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
jmp 0x1000ccd0
cmp eax, 1
jne 0x1000ccc4
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
sub edx, ecx
cmp dword [0x1012d328], edx
mov esi, edx
cmovb esi, dword [0x1012d328]
add esi, ecx
cmp dword [0x1012d330], edx
mov dword [0x1012d328], esi
cmovb edx, dword [0x1012d330]
add edx, ecx
mov dword [0x1012d330], edx
jmp 0x1000ccd0
mov esi, dword [0x1012d328]
mov edx, dword [0x1012d330]
cmp word [0x1012d428], 0
je 0x1000cd36
push 0x1012d428
call edi
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.1000d900
mov ecx, eax
add esp, 8
lea eax, [ebp - 0x40]
cmp eax, ecx
je 0x1000cd22
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.1000c8f0
mov edx, dword [0x1012d330]
mov esi, dword [0x1012d328]
cmp word [0x1012d338], 0
je 0x1000cd85
push 0x1012d338
call edi
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.1000d900
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.1000e560
add esp, 0x10
lea ecx, [ebp - 0x34]
call fcn.1000c8f0
mov eax, dword [ebp - 0x38]
mov edx, dword [0x1012d330]
mov esi, dword [0x1012d328]
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 [0x1012d304]
mov byte [ebp - 4], 3
test ecx, ecx
jne 0x1000ce37
movzx eax, word [0x1012d308]
push edx
push esi
push 0x10
push eax
lea eax, [ebp - 0x34]
push 0x1012d2e0
push eax
call fcn.100b2df0
mov ecx, eax
add esp, 0x18
lea eax, [ebp - 0x50]
cmp eax, ecx
jne 0x1000cde1
lea ecx, [ebp - 0x34]
call fcn.1000c8f0
xor eax, eax
jmp 0x1000cf32
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.1000c8f0
mov eax, dword [ebp - 0x18]
mov ecx, eax
cmp eax, edi
je 0x1000cf32
mov eax, dword [0x1012d30c]
add dword [ecx], eax
add ecx, 4
cmp ecx, edi
jne 0x1000ce21
mov eax, dword [ebp - 0x18]
jmp 0x1000cf32
cmp ecx, 1
jne 0x1000cf00
and esi, 0xfffffff0
mov dword [ebp - 0x24], esi
cmp esi, edx
jae 0x1000cf32
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 0x1000ce71
mov esi, dword [ebp - 0x14]
add esi, 0xf0
jmp 0x1000cee1
mov eax, dword [esi - 4]
cmp eax, 0xcccccccc
je 0x1000ceb9
cmp eax, 0x90909090
je 0x1000ceb9
cmp eax, 0xccccccc3
je 0x1000ceb9
cmp eax, 0x909090c3
je 0x1000ceb9
mov ecx, eax
and ecx, 0xff0000ff
cmp ecx, 0xcc0000c2
je 0x1000ceb9
cmp ecx, 0x900000c2
je 0x1000ceb9
shr eax, 8
cmp eax, 0xccccc3
je 0x1000ceb9
cmp eax, 0x9090c3
jne 0x1000cee1
cmp edi, dword [ebp - 0x1c]
je 0x1000cec8
mov dword [edi], esi
add edi, 4
mov dword [ebp - 0x4c], edi
jmp 0x1000cee1
lea eax, [ebp - 0x24]
push eax
push edi
lea ecx, [ebp - 0x50]
call fcn.1000c400
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 [0x1012d330]
jb 0x1000ce53
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x18], eax
jmp 0x1000cf32
cmp ecx, 2
jne 0x1000cf32
cmp esi, edx
jae 0x1000cf32
nop dword [eax]
push 0x100
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x1000cf6f
add esi, 0xff
mov eax, dword [ebp - 0x18]
inc esi
cmp esi, dword [0x1012d330]
jb 0x1000cf10
mov dword [ebp - 0x14], eax
cmp eax, edi
je 0x1000d000
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.100b6a70
cmp eax, esi
jne 0x1000cfef
cmp esi, dword [ebp - 0x44]
je 0x1000cfd3
mov eax, dword [ebp - 0x28]
mov dword [esi], eax
add esi, 4
mov dword [ebp - 0x3c], esi
jmp 0x1000cfef
cmp byte [esi], 0xe8
jne 0x1000cf26
mov eax, dword [esi + 1]
add eax, 5
add eax, esi
mov dword [ebp - 0x28], eax
cmp dword [0x1012d328], eax
jae 0x1000cf26
cmp dword [0x1012d330], eax
jbe 0x1000cf26
mov edx, dword [ebp - 0x18]
push eax
push edi
push edx
call fcn.100b6a70
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
cmp edi, dword [ebp - 0x1c]
je 0x1000cfb2
mov dword [edi], eax
add edi, 4
mov dword [ebp - 0x4c], edi
jmp 0x1000cf26
lea eax, [ebp - 0x28]
push eax
push edi
lea ecx, [ebp - 0x50]
call fcn.1000c400
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 0x1000cf29
lea eax, [ebp - 0x20]
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.1000c400
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 0x1000cf40
push 0x10
push 0x1000
push str.LunaHook32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.100b2b30
mov esi, dword [ebp - 0x10]
add esp, 0x10
mov edi, dword [ebp - 0x3c]
mov eax, esi
cmp eax, edi
je 0x1000d06a
mov esi, dword [ebp - 0x60]
mov edx, dword [ebp - 0x64]
mov ecx, dword [eax]
cmp ecx, edx
jbe 0x1000d03b
cmp ecx, esi
jb 0x1000d042
add eax, 4
cmp eax, edi
jne 0x1000d031
mov esi, dword [ebp - 0x10]
cmp eax, edi
je 0x1000d06a
lea ecx, [eax + 4]
cmp ecx, edi
je 0x1000d068
mov edx, dword [ecx]
cmp edx, dword [ebp - 0x64]
jbe 0x1000d05c
cmp edx, dword [ebp - 0x60]
jb 0x1000d061
mov dword [eax], edx
add eax, 4
add ecx, 4
cmp ecx, edi
jne 0x1000d050
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 0x10134250
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 0x1000d1d6
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.1008ae60
test eax, eax
je 0x1000d10c
mov dword [ebp - 0x5c], edi
cmp esi, dword [ebp - 0x14]
je 0x1000d0f6
mov dword [esi], edi
add esi, 4
mov dword [ebp - 0x30], esi
jmp 0x1000d10c
lea eax, [ebp - 0x5c]
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.1000c400
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.1008b120
mov ecx, dword [ebp - 0x24]
movups xmm0, xmmword [0x1012d558]
movups xmmword [ecx], xmm0
movq xmm0, qword [0x1012d568]
movq qword [ecx + 0x10], xmm0
mov eax, dword [0x1012d570]
mov dword [ecx + 0x18], eax
mov ax, word [0x1012d574]
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 0x1000d1ba
mov eax, dword [ebp - 0x20]
movd xmm1, edi
cvtdq2pd xmm1, xmm1
push 0xffffffffffffffff
sub esp, 8
movd xmm0, eax
mulsd xmm1, qword [0x10104b00]
shr eax, 0x1f
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x101047e0]
divsd xmm1, xmm0
addsd xmm1, qword [0x10104af8]
movsd qword [esp], xmm1
push str.initializing_hook_search___f___
push ecx
call fcn.100070c0
add esp, 0x14
mov eax, dword [ebp - 0x24]
inc edi
add eax, 0x1e
mov dword [ebp - 0x24], eax
cmp edi, dword [ebp - 0x20]
jb 0x1000d0d0
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 0x1000d216
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.100cf280
mov eax, dword [ebp - 0x20]
add esp, 0xc
sub eax, 4
sub edi, 4
mov dword [ebp - 0x20], eax
sub esi, 1
jne 0x1000d1e8
mov dword [ebp - 0x3c], edi
mov esi, dword [ebp - 0x10]
mov eax, edi
sub eax, esi
push 0xffffffffffffffff
sar eax, 2
push eax
push str.initialized_hook_search_with__zd_hooks
push 0
call fcn.100070c0
add esp, 0x10
call fcn.1008ad80
push 0xffffffffffffffff
push str.starting_hook_search
push 0
call fcn.100070c0
mov eax, 0x10624dd3
imul dword [0x1012d310]
push 0xffffffffffffffff
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
push 0
call fcn.100070c0
add esp, 0x1c
push dword [0x1012d310]
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, edi
je 0x1000d28e
nop dword [eax]
push dword [esi]
call fcn.1008b100
add esi, 4
cmp esi, edi
jne 0x1000d280
call fcn.1008ad80
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [ebp - 0x10]
cmp esi, edi
je 0x1000d2b3
push dword [esi]
call fcn.1008b140
add esi, 4
cmp esi, edi
jne 0x1000d2a5
push 0x8000
push 0
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
call fcn.1000dce0
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x1000d2ff
mov ecx, dword [ebp - 0x14]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1000d2f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d660
push ecx
push edx
call fcn.100cd6b7
add esp, 8
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x1000d5fb
mov ecx, dword [ebp - 0x1c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1000d330
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d660
push ecx
push edx
jmp 0x1000d5f3
xor eax, eax
mov byte [0x101342c0], 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 0xffffffffffffffff
push dword [0x101341d4]
xor edi, edi
mov byte [ebp - 4], 5
push str.initialized_hook_search_with__zd_hooks
push edi
mov dword [ebp - 0x14], 0xffffffff
call fcn.100070c0
mov ecx, dword [0x101341d0]
add esp, 0x10
mov eax, dword [ecx]
cmp eax, ecx
je 0x1000d3d2
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 0x1000d3b8
ja 0x1000d3b5
cmp dword [ebp - 0x14], edx
jb 0x1000d3b8
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x54], 0
cmp dword [ebp - 0x54], esi
ja 0x1000d3cc
jb 0x1000d3ca
cmp edi, edx
ja 0x1000d3cc
mov edi, edx
mov eax, dword [eax]
cmp eax, ecx
jne 0x1000d390
push 0xffffffffffffffff
push edi
push dword [ebp - 0x14]
push str._p__p
push 0
call fcn.100070c0
push 0xffffffffffffffff
push dword [0x1012d330]
push dword [0x1012d328]
push str._p__p
push 0
call fcn.100070c0
mov edi, dword [0x101341d0]
add esp, 0x28
mov esi, dword [edi]
cmp esi, edi
je 0x1000d579
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 0x1000d56a
mov eax, dword [ebp - 0x6c]
jb 0x1000d56a
cmp eax, dword [0x1012d330]
ja 0x1000d56a
test ecx, ecx
jb 0x1000d56a
ja 0x1000d459
cmp eax, dword [0x1012d328]
jb 0x1000d56a
mov eax, dword [0x1012d320]
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.100cd687
mov ecx, dword [ebp - 0x54]
add esp, 4
mov edx, dword [ebp - 0x7c]
mov byte [ebp - 4], 5
mov dword [eax], 0x10104ae0
mov dword [eax + 8], 0x1000e100
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.10085aa0
add esp, 0x30
test al, al
je 0x1000d4fe
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 0x1000d4eb
mov dword [eax], ecx
mov dword [eax + 4], edx
add eax, 8
mov dword [ebp - 0x30], eax
jmp 0x1000d4fe
lea ecx, [ebp - 0x64]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.1000c4e0
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 0x1000d56a
mov eax, dword [0x101341d4]
movd xmm1, dword [ebp - 0x1c]
cvtdq2pd xmm1, xmm1
push 0xffffffffffffffff
sub esp, 8
movd xmm0, eax
mulsd xmm1, qword [0x10104b00]
shr eax, 0x1f
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x101047e0]
divsd xmm1, xmm0
addsd xmm1, qword [0x10104af8]
movsd qword [esp], xmm1
push str.initializing_hook_search___f___
push ecx
call fcn.100070c0
add esp, 0x14
mov esi, dword [esi]
cmp esi, edi
jne 0x1000d411
mov esi, dword [ebp - 0x34]
jmp 0x1000d57b
xor esi, esi
push 0xffffffffffffffff
push dword [ebp - 0x1c]
push str.initialized_hook_search_with__zd_hooks
push 0
call fcn.100070c0
mov eax, 0x10624dd3
imul dword [0x1012d310]
push 0xffffffffffffffff
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
push 0
call fcn.100070c0
add esp, 0x20
push dword [0x1012d310]
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [0x101342c0], 1
call fcn.1000dce0
test esi, esi
je 0x1000d5fb
mov ecx, dword [ebp - 0x20]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x1000d5f1
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d665
push ecx
push esi
call fcn.100cd6b7
add esp, 8
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1000d62e
mov edx, dword [ebp - 0x44]
mov eax, ecx
sub edx, ecx
and edx, 0xfffffffc
cmp edx, 0x1000
jb 0x1000d624
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d665
push edx
push ecx
call fcn.100cd6b7
add esp, 8
push 0x1012d578
call fcn.100b63c4
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.100b66e9
dec eax
push 6
mov dword [0x1012d5a4], eax
call fcn.100b66e9
call fcn.100d94af
call fcn.100d94af
int3