Function at 0x4026a0
Capabilities:
Allocate or change rwx memory
Create process on windows
Enumerate processes
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40639c
mov eax, dword fs:[0]
push eax
sub esp, 0x4b0
mov eax, dword [0x40a040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push eax
mov dword [ebp - 0x304], eax
mov dword [ebp - 0x2c], eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
push eax
mov dword [ebp - 0x2c], edx
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
add esp, 8
mov dword [ebp - 0x2fc], 0x22c
xor esi, esi
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x40275f
lea eax, [ebp - 0x2fc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x40274d
nop word [eax + eax]
push 0x40731c
lea eax, [ebp - 0x2d8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
lea eax, [ebp - 0x2fc]
push eax
cmove esi, dword [ebp - 0x2f4]
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x402720
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
test esi, esi
je 0x402765
jmp 0x4027e9
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Plants_vs._Zombies
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, dword [ebp - 0x18]
test esi, esi
jne 0x4027e9
push 0x40736c
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wchdir]
push 0x44
lea eax, [ebp - 0x4bc]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
push eax
lea eax, [ebp - 0x4bc]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0x40731c
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4027df
push dword [ebp - 0x38]
call edi
push dword [ebp - 0x34]
call edi
mov esi, dword [ebp - 0x30]
jmp 0x4027e1
xor esi, esi
test esi, esi
je 0x4030f2
push esi
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov cl, byte [0x40b388]
mov esi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [0x40b38c], eax
test cl, cl
je 0x402814
mov edx, dword [0x6a9ec0]
jmp 0x402839
push 0
push 4
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push ecx
push 0x6a9ec0
push eax
call esi
mov edx, dword [ebp - 0x18]
mov cl, byte [0x40b388]
mov eax, dword [0x40b38c]
add edx, 0x350
test cl, cl
jne 0x402856
push 0
push 4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push ecx
push edx
push eax
call esi
xor edx, edx
lea ecx, [edx + 4]
call fcn.004012c0
mov dword [0x40b390], eax
mov al, byte [0x40b388]
test al, al
je 0x402876
mov ecx, dword [0x6a9ec0]
jmp 0x40289a
push 0
push 4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0x6a9ec0
push dword [0x40b38c]
call esi
mov ecx, dword [ebp - 0x18]
mov al, byte [0x40b388]
add ecx, 0x33c
test al, al
je 0x4028a8
mov eax, dword [ecx]
jmp 0x4028c3
push 0
push 4
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push ecx
push dword [0x40b38c]
call esi
mov eax, dword [ebp - 0x2c]
push eax
push 1
push 0x1fffff
mov dword [0x40b398], eax
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edx, dword [0x40b390]
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 0x23
lea eax, [edx + 0x530]
mov byte [0x40b389], 0
mov dword [0x40aba9], eax
lea ecx, [edx + 0x540]
mov eax, 0x415824
mov byte [0x40b388], 0
sub eax, edx
mov dword [0x40aba2], ecx
mov dword [0x40abbf], eax
lea eax, [edx + 0x500]
push 0x40aba0
push eax
push dword [0x40b38c]
mov dword [0x40abb2], ecx
call edi
mov eax, dword [0x40b390]
add eax, 0xffbea7bb
cmp byte [0x40b388], 0
mov dword [0x40ab99], eax
je 0x402986
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 2
push eax
push 0x40
push 0x400
push 0x415d40
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [0x40ab98]
mov ecx, 0x415d40
mov dword [ecx], eax
mov ax, word [0x40ab9c]
mov word [ecx + 4], ax
mov al, byte [0x40ab9e]
mov byte [ecx + 6], al
jmp 0x40299c
push 0
push 7
push 0x40ab98
push 0x415d40
push dword [0x40b38c]
call edi
mov edi, dword [ebp - 0x304]
cmp byte [0x40b388], 0
je 0x4029b2
mov eax, dword [0x6a9ec0]
jmp 0x4029d1
push 0
push 4
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push 0x6a9ec0
push dword [0x40b38c]
call esi
mov eax, dword [ebp - 0x2c]
push 0x10
mov dword [ebp - 0x2c], eax
call fcn.00405480
mov esi, eax
xorps xmm0, xmm0
mov dword [ebp - 0x304], esi
add esp, 4
mov eax, dword [ebp - 0x2c]
or edi, 0x18
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi + 0xc], eax
add eax, 0x7fc
cmp byte [0x40b388], 0
mov dword [esi + 4], 1
mov dword [esi + 8], 1
mov dword [esi], vtable.std::_Ref_count_obj2_class_PVZ::PVZApp_.0
je 0x402a26
mov ecx, dword [eax]
mov dword [ebp - 0x2c], ecx
jmp 0x402a48
push 0
push 4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push ecx
push eax
push dword [0x40b38c]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
or eax, 0xffffffff
lea ecx, [esi + 4]
lock xadd dword [ecx], eax
jne 0x402a6d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lea ecx, [esi + 8]
lock xadd dword [ecx], eax
jne 0x402a6d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [ebp - 0x2c], 1
je 0x402a86
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
jmp 0x4029a2
sub esp, 0xc
mov dword [ebp - 0x304], edi
lea ecx, [ebp - 0x188]
mov byte [0x40b389], 1
push str.main.pak
call fcn.00404ad0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x188]
push ecx
mov word [ebp - 0x2c], 1
lea ecx, [ebp - 0xb8]
push dword [ebp - 0x2c]
mov eax, dword [eax + 4]
push 0
mov byte [ebp - 0x17], 0
mov eax, dword [ebp + eax - 0x150]
test eax, eax
sete byte [ebp - 0x18]
push dword [ebp - 0x18]
push eax
call fcn.00404e10
sub esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x478]
push str.dlls_3.dll
call fcn.00404ad0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x478]
push ecx
mov word [ebp - 0x2c], 1
lea ecx, [ebp - 0xa0]
push dword [ebp - 0x2c]
mov eax, dword [eax + 4]
push 0
mov byte [ebp - 0x17], 0
mov eax, dword [ebp + eax - 0x440]
test eax, eax
sete byte [ebp - 0x18]
push dword [ebp - 0x18]
push eax
call fcn.00404e10
sub esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c0]
push str.PlantsVsZombies.exe
call fcn.00404ad0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x3c0]
push ecx
mov word [ebp - 0x2c], 1
lea ecx, [ebp - 0x88]
push dword [ebp - 0x2c]
mov eax, dword [eax + 4]
push 0
mov byte [ebp - 0x17], 0
mov eax, dword [ebp + eax - 0x388]
test eax, eax
sete byte [ebp - 0x18]
push dword [ebp - 0x18]
push eax
call fcn.00404e10
lea edx, [ebp - 0xb8]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x50]
call fcn.004020f0
mov byte [ebp - 4], 6
mov ecx, edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
or ecx, 1
cmp dword [eax + 0x14], 0xf
mov edx, eax
mov dword [ebp - 0x304], ecx
mov dword [ebp - 0x2c], ecx
jbe 0x402bb6
mov edx, dword [eax]
mov eax, dword [eax + 0x10]
cmp eax, 0x20
jne 0x402d73
sub eax, 4
mov esi, str.5357d2793ac855c33e1ded229c5b8f9d
mov dword [ebp - 0x18], eax
jb 0x402be7
nop
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x402bec
mov eax, dword [ebp - 0x18]
add edx, 4
add esi, 4
sub eax, 4
mov dword [ebp - 0x18], eax
jae 0x402bd0
cmp eax, 0xfffffffc
je 0x402c23
mov al, byte [edx]
cmp al, byte [esi]
jne 0x402c1c
cmp dword [ebp - 0x18], 0xfffffffd
je 0x402c23
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x402c1c
cmp dword [ebp - 0x18], 0xfffffffe
je 0x402c23
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x402c1c
cmp dword [ebp - 0x18], 0xffffffff
je 0x402c23
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x402c23
sbb eax, eax
or eax, 1
jmp 0x402c25
xor eax, eax
test eax, eax
jne 0x402d73
lea edx, [ebp - 0xa0]
lea ecx, [ebp - 0xd0]
call fcn.004020f0
mov dword [ebp - 4], 7
mov edx, eax
mov ecx, dword [ebp - 0x304]
or ecx, 2
cmp dword [eax + 0x14], 0xf
mov dword [ebp - 0x304], ecx
mov dword [ebp - 0x2c], ecx
jbe 0x402c61
mov edx, dword [eax]
mov eax, dword [eax + 0x10]
cmp eax, 0x20
jne 0x402d73
sub eax, 4
mov esi, str.4dde09c5b698f38746a991eecde440eb
mov dword [ebp - 0x18], eax
jb 0x402c97
nop word [eax + eax]
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x402c9c
mov eax, dword [ebp - 0x18]
add edx, 4
add esi, 4
sub eax, 4
mov dword [ebp - 0x18], eax
jae 0x402c80
cmp eax, 0xfffffffc
je 0x402cd3
mov al, byte [edx]
cmp al, byte [esi]
jne 0x402ccc
cmp dword [ebp - 0x18], 0xfffffffd
je 0x402cd3
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x402ccc
cmp dword [ebp - 0x18], 0xfffffffe
je 0x402cd3
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x402ccc
cmp dword [ebp - 0x18], 0xffffffff
je 0x402cd3
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x402cd3
sbb eax, eax
or eax, 1
jmp 0x402cd5
xor eax, eax
test eax, eax
jne 0x402d73
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x70]
call fcn.004020f0
mov ecx, dword [ebp - 0x304]
mov edx, eax
or ecx, 4
cmp dword [eax + 0x14], 0xf
jbe 0x402cfe
mov edx, dword [eax]
mov eax, dword [eax + 0x10]
cmp eax, 0x20
jne 0x402d73
sub eax, 4
mov esi, str.10d952534a2e32c88ff42ca5f34f6c9c
mov dword [ebp - 0x18], eax
jb 0x402d2a
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x402d2f
mov eax, dword [ebp - 0x18]
add edx, 4
add esi, 4
sub eax, 4
mov dword [ebp - 0x18], eax
jae 0x402d13
cmp eax, 0xfffffffc
je 0x402d66
mov al, byte [edx]
cmp al, byte [esi]
jne 0x402d5f
cmp dword [ebp - 0x18], 0xfffffffd
je 0x402d66
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x402d5f
cmp dword [ebp - 0x18], 0xfffffffe
je 0x402d66
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x402d5f
cmp dword [ebp - 0x18], 0xffffffff
je 0x402d66
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x402d66
sbb eax, eax
or eax, 1
jmp 0x402d68
xor eax, eax
mov byte [ebp - 0x300], 0
test eax, eax
je 0x402d7a
mov byte [ebp - 0x300], 1
test cl, 4
je 0x402dd6
mov eax, dword [ebp - 0x5c]
and ecx, 0xfffffffb
mov dword [ebp - 0x304], ecx
cmp eax, 0xf
jbe 0x402dc4
mov edx, dword [ebp - 0x70]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x402db4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e76
push ecx
push edx
call fcn.004054b0
mov ecx, dword [ebp - 0x304]
add esp, 8
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov dword [ebp - 4], 6
test cl, 2
je 0x402e44
mov eax, dword [ebp - 0xbc]
and ecx, 0xfffffffd
mov dword [ebp - 0x304], ecx
cmp eax, 0xf
jbe 0x402e29
mov edx, dword [ebp - 0xd0]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x402e19
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e76
push ecx
push edx
call fcn.004054b0
mov ecx, dword [ebp - 0x304]
add esp, 8
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
mov dword [ebp - 4], 5
test cl, 1
je 0x402e86
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x402e86
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402e7c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402e7c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004054b0
add esp, 8
cmp byte [ebp - 0x300], 0
je 0x4030fc
mov ecx, 0x407474
call fcn.004015a0
mov ecx, 0x407488
mov edi, eax
call fcn.004015a0
mov ecx, 0x407310
mov esi, eax
call fcn.004015a0
mov dword [0x40abca], eax
mov edx, 0x34
mov eax, dword [0x40b390]
mov ecx, 0x40abc4
mov dword [0x40abc5], 0
mov dword [0x40abcf], esi
mov dword [0x40abd4], edi
mov dword [0x40abd9], 1
mov dword [0x40abde], 0x64
mov dword [0x40abf3], eax
call fcn.00401340
mov esi, eax
call fcn.00401240
mov edx, 0x15
mov dword [0x40ad09], esi
mov ecx, 0x40ad08
mov dword [0x40ad0e], eax
call fcn.00401340
mov ecx, dword [ebp - 0x74]
cmp ecx, 0xf
jbe 0x402f55
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402f4b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403269
push ecx
push edx
call fcn.004054b0
add esp, 8
mov eax, dword [ebp - 0x3c0]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x3c0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x3c4], eax
lea ecx, [ebp - 0x3b0]
call fcn.004049f0
lea ecx, [ebp - 0x3a8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x350]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 0x8c]
cmp ecx, 0xf
jbe 0x402fee
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402fe4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403269
push ecx
push edx
call fcn.004054b0
add esp, 8
mov eax, dword [ebp - 0x478]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x478]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x47c], eax
lea ecx, [ebp - 0x468]
call fcn.004049f0
lea ecx, [ebp - 0x460]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x408]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 0xa4]
cmp ecx, 0xf
jbe 0x40308d
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403083
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403269
push ecx
push edx
call fcn.004054b0
add esp, 8
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x188]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x18c], eax
lea ecx, [ebp - 0x178]
call fcn.004049f0
lea ecx, [ebp - 0x170]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x118]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, 1
jmp 0x403f5c
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x74]
cmp ecx, 0xf
jbe 0x403137
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40312d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403269
push ecx
push edx
call fcn.004054b0
add esp, 8
mov eax, dword [ebp - 0x3c0]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x3c0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x3c4], eax
lea ecx, [ebp - 0x3b0]
call fcn.004049f0
lea ecx, [ebp - 0x3a8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x350]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x8c]
cmp ecx, 0xf
jbe 0x4031d4
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4031ca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403269
push ecx
push edx
call fcn.004054b0
add esp, 8
mov eax, dword [ebp - 0x478]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x478]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x47c], eax
lea ecx, [ebp - 0x468]
call fcn.004049f0
lea ecx, [ebp - 0x460]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x408]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xa4]
cmp ecx, 0xf
jbe 0x403279
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40326f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40326f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004054b0
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x188]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x18c], eax
lea ecx, [ebp - 0x178]
call fcn.004049f0
lea ecx, [ebp - 0x170]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x118]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
cmp byte [0x40b388], 0
mov eax, dword [0x40b390]
mov dword [0x40ad87], eax
lea ecx, [eax + 0x600]
mov dword [ebp - 0x18], ecx
mov dword [0x40ad75], ecx
je 0x40333d
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x2c]
push eax
push 0x40
push 0x400
push ecx
mov dword [ebp - 0x2c], 2
call esi
mov ecx, dword [ebp - 0x18]
movq xmm0, qword [str.dlls_3.dll]
movq qword [ecx], xmm0
mov ax, word [0x4073f0]
mov word [ecx + 8], ax
jmp 0x403355
push 0
push 0xa
push str.dlls_3.dll
push ecx
push dword [0x40b38c]
call edi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [0x40b390]
add eax, 0x60a
mov byte [ebp - 0x300], 0
cmp byte [0x40b388], 0
mov dword [ebp - 0x18], eax
je 0x403394
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 2
push ecx
push 0x40
push 0x400
push eax
call esi
mov ecx, dword [ebp - 0x18]
mov al, byte [ebp - 0x300]
mov byte [ecx], al
jmp 0x4033a8
push 0
push 1
lea ecx, [ebp - 0x300]
push ecx
push eax
push dword [0x40b38c]
call edi
mov edx, 0x18
mov ecx, 0x40ad74
call fcn.00401340
mov ecx, str.init
mov dword [0x40b394], eax
call fcn.004021e0
mov ecx, eax
test ecx, ecx
je 0x403404
sar eax, 8
mov edx, 0xe
mov byte [ebp - 0x2f], al
mov eax, ecx
mov byte [ebp - 0x30], cl
shr ecx, 0x18
sar eax, 0x10
mov byte [ebp - 0x2d], cl
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], 0x2e8
mov dword [ebp - 0x34], 0x6806eb00
mov byte [ebp - 0x2e], al
mov word [ebp - 0x2c], 0xc3c3
call fcn.00401340
cmp byte [0x40b388], 0
mov byte [ebp - 0x300], 0x90
je 0x40343a
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 2
push eax
push 0x40
push 0x400
push 0x457e5b
call esi
mov al, byte [ebp - 0x300]
mov byte [0x457e5b], al
jmp 0x403452
push 0
push 1
lea eax, [ebp - 0x300]
push eax
push 0x457e5b
push dword [0x40b38c]
call edi
cmp byte [0x40b388], 0
mov byte [ebp - 0x308], 0x90
je 0x403488
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 2
push eax
push 0x40
push 0x400
push 0x457e5c
call esi
mov al, byte [ebp - 0x308]
mov byte [0x457e5c], al
jmp 0x4034a0
push 0
push 1
lea eax, [ebp - 0x308]
push eax
push 0x457e5c
push dword [0x40b38c]
call edi
cmp byte [0x40b388], 0
mov byte [ebp - 0x300], 0x70
je 0x4034d6
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 2
push eax
push 0x40
push 0x400
push 0x54eba8
call esi
mov al, byte [ebp - 0x300]
mov byte [0x54eba8], al
jmp 0x4034ee
push 0
push 1
lea eax, [ebp - 0x300]
push eax
push 0x54eba8
push dword [0x40b38c]
call edi
cmp byte [0x40b388], 0
mov dword [ebp - 0x2c], 0x87e9
je 0x403521
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 2
push eax
push 0x40
push 0x400
push 0x40bc8c
call esi
mov eax, dword [ebp - 0x2c]
mov dword [0x40bc8c], eax
jmp 0x403536
push 0
push 4
lea eax, [ebp - 0x2c]
push eax
push 0x40bc8c
push dword [0x40b38c]
call edi
cmp byte [0x40b388], 0
mov byte [ebp - 0x308], 0
je 0x40356c
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 2
push eax
push 0x40
push 0x400
push 0x40bc90
call esi
mov al, byte [ebp - 0x308]
mov byte [0x40bc90], al
jmp 0x403584
push 0
push 1
lea eax, [ebp - 0x308]
push eax
push 0x40bc90
push dword [0x40b38c]
call edi
cmp byte [0x40b388], 0
mov byte [ebp - 0x300], 0xeb
je 0x4035ba
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 2
push eax
push 0x40
push 0x400
push 0x42492d
call esi
mov al, byte [ebp - 0x300]
mov byte [0x42492d], al
jmp 0x4035d2
push 0
push 1
lea eax, [ebp - 0x300]
push eax
push 0x42492d
push dword [0x40b38c]
call edi
cmp byte [0x40b388], 0
mov dword [ebp - 0x2c], 0x12d
je 0x40360b
lea eax, [ebp - 0x304]
mov dword [ebp - 0x304], 2
push eax
push 0x40
push 0x400
push 0x69f234
call esi
mov eax, dword [ebp - 0x2c]
mov dword [0x69f234], eax
jmp 0x403620
push 0
push 4
lea eax, [ebp - 0x2c]
push eax
push 0x69f234
push dword [0x40b38c]
call edi
cmp byte [0x40b388], 0
mov dword [ebp - 0x18], 5
je 0x403659
lea eax, [ebp - 0x304]
mov dword [ebp - 0x304], 2
push eax
push 0x40
push 0x400
push 0x522eab
call esi
mov eax, dword [ebp - 0x18]
mov dword [0x522eab], eax
jmp 0x40366e
push 0
push 4
lea eax, [ebp - 0x18]
push eax
push 0x522eab
push dword [0x40b38c]
call edi
cmp byte [0x40b388], 0
mov dword [ebp - 0x2c], 0x96
je 0x4036a7
lea eax, [ebp - 0x304]
mov dword [ebp - 0x304], 2
push eax
push 0x40
push 0x400
push 0x45e5c3
call esi
mov eax, dword [ebp - 0x2c]
mov dword [0x45e5c3], eax
jmp 0x4036bc
push 0
push 4
lea eax, [ebp - 0x2c]
push eax
push 0x45e5c3
push dword [0x40b38c]
call edi
cmp byte [0x40b388], 0
mov dword [ebp - 0x18], 0x32
je 0x4036f7
lea eax, [ebp - 0x304]
mov dword [ebp - 0x304], 2
push eax
push 0x40
push 0x400
push 0x69f2c0
call esi
mov eax, dword [ebp - 0x18]
mov ecx, 0x69f2c0
mov dword [ecx], eax
jmp 0x40370c
push 0
push 4
lea eax, [ebp - 0x18]
push eax
push 0x69f2c0
push dword [0x40b38c]
call edi
cmp byte [0x40b388], 0
mov dword [ebp - 0x2c], 0x64
je 0x403747
lea eax, [ebp - 0x304]
mov dword [ebp - 0x304], 2
push eax
push 0x40
push 0x400
push 0x69f374
call esi
mov eax, dword [ebp - 0x2c]
mov ecx, 0x69f374
mov dword [ecx], eax
jmp 0x40375c
push 0
push 4
lea eax, [ebp - 0x2c]
push eax
push 0x69f374
push dword [0x40b38c]
call edi
cmp byte [0x40b388], 0
mov dword [ebp - 0x18], 0x4b
je 0x403797
lea eax, [ebp - 0x304]
mov dword [ebp - 0x304], 2
push eax
push 0x40
push 0x400
push 0x69f398
call esi
mov eax, dword [ebp - 0x18]
mov ecx, 0x69f398
mov dword [ecx], eax
jmp 0x4037ac
push 0
push 4
lea eax, [ebp - 0x18]
push eax
push 0x69f398
push dword [0x40b38c]
call edi
cmp byte [0x40b388], 0
mov dword [ebp - 0x2c], 0x7d
je 0x4037e7
lea eax, [ebp - 0x304]
mov dword [ebp - 0x304], 2
push eax
push 0x40
push 0x400
push 0x69f3bc
call esi
mov eax, dword [ebp - 0x2c]
mov ecx, 0x69f3bc
mov dword [ecx], eax
jmp 0x4037fc
push 0
push 4
lea eax, [ebp - 0x2c]
push eax
push 0x69f3bc
push dword [0x40b38c]
call edi
cmp byte [0x40b388], 0
mov dword [ebp - 0x18], 0xc8
je 0x403837
lea eax, [ebp - 0x304]
mov dword [ebp - 0x304], 2
push eax
push 0x40
push 0x400
push 0x69f548
call esi
mov eax, dword [ebp - 0x18]
mov ecx, 0x69f548
mov dword [ecx], eax
jmp 0x40384c
push 0
push 4
lea eax, [ebp - 0x18]
push eax
push 0x69f548
push dword [0x40b38c]
call edi
cmp byte [0x40b388], 0
mov dword [ebp - 0x2c], 0x32
je 0x403887
lea eax, [ebp - 0x304]
mov dword [ebp - 0x304], 2
push eax
push 0x40
push 0x400
push 0x69f5b4
call esi
mov eax, dword [ebp - 0x2c]
mov ecx, 0x69f5b4
mov dword [ecx], eax
jmp 0x40389c
push 0
push 4
lea eax, [ebp - 0x2c]
push eax
push 0x69f5b4
push dword [0x40b38c]
call edi
cmp byte [0x40b388], 0
mov dword [ebp - 0x18], 0x64
je 0x4038d7
lea eax, [ebp - 0x304]
mov dword [ebp - 0x304], 2
push eax
push 0x40
push 0x400
push 0x69f5d8
call esi
mov eax, dword [ebp - 0x18]
mov ecx, 0x69f5d8
mov dword [ecx], eax
jmp 0x4038ec
push 0
push 4
lea eax, [ebp - 0x18]
push eax
push 0x69f5d8
push dword [0x40b38c]
call edi
cmp byte [0x40b388], 0
mov dword [ebp - 0x2c], 0x4b
je 0x403927
lea eax, [ebp - 0x304]
mov dword [ebp - 0x304], 2
push eax
push 0x40
push 0x400
push 0x69f668
call esi
mov eax, dword [ebp - 0x2c]
mov ecx, 0x69f668
mov dword [ecx], eax
jmp 0x40393c
push 0
push 4
lea eax, [ebp - 0x2c]
push eax
push 0x69f668
push dword [0x40b38c]
call edi
cmp byte [0x40b388], 0
mov dword [ebp - 0x18], 0x32
je 0x403977
lea eax, [ebp - 0x304]
mov dword [ebp - 0x304], 2
push eax
push 0x40
push 0x400
push 0x69f68c
call esi
mov eax, dword [ebp - 0x18]
mov ecx, 0x69f68c
mov dword [ecx], eax
jmp 0x40398c
push 0
push 4
lea eax, [ebp - 0x18]
push eax
push 0x69f68c
push dword [0x40b38c]
call edi
cmp byte [0x40b388], 0
mov dword [ebp - 0x2c], 0x4b
je 0x4039c7
lea eax, [ebp - 0x304]
mov dword [ebp - 0x304], 2
push eax
push 0x40
push 0x400
push 0x69f6b0
call esi
mov eax, dword [ebp - 0x2c]
mov ecx, 0x69f6b0
mov dword [ecx], eax
jmp 0x4039dc
push 0
push 4
lea eax, [ebp - 0x2c]
push eax
push 0x69f6b0
push dword [0x40b38c]
call edi
cmp byte [0x40b388], 0
mov dword [ebp - 0x18], 0xc8
je 0x403a17
lea eax, [ebp - 0x304]
mov dword [ebp - 0x304], 2
push eax
push 0x40
push 0x400
push 0x69f6d4
call esi
mov eax, dword [ebp - 0x18]
mov ecx, 0x69f6d4
mov dword [ecx], eax
jmp 0x403a2c
push 0
push 4
lea eax, [ebp - 0x18]
push eax
push 0x69f6d4
push dword [0x40b38c]
call edi
cmp byte [0x40b388], 0
mov dword [ebp - 0x2c], 0x32
je 0x403a67
lea eax, [ebp - 0x304]
mov dword [ebp - 0x304], 2
push eax
push 0x40
push 0x400
push 0x69f740
call esi
mov eax, dword [ebp - 0x2c]
mov ecx, 0x69f740
mov dword [ecx], eax
jmp 0x403a7c
push 0
push 4
lea eax, [ebp - 0x2c]
push eax
push 0x69f740
push dword [0x40b38c]
call edi
cmp byte [0x40b388], 0
mov dword [ebp - 0x18], 0x32
je 0x403ab7
lea eax, [ebp - 0x304]
mov dword [ebp - 0x304], 2
push eax
push 0x40
push 0x400
push 0x69f788
call esi
mov eax, dword [ebp - 0x18]
mov ecx, 0x69f788
mov dword [ecx], eax
jmp 0x403acc
push 0
push 4
lea eax, [ebp - 0x18]
push eax
push 0x69f788
push dword [0x40b38c]
call edi
cmp byte [0x40b388], 0
mov dword [ebp - 0x2c], 0x19
je 0x403b07
lea eax, [ebp - 0x304]
mov dword [ebp - 0x304], 2
push eax
push 0x40
push 0x400
push 0x69f7ac
call esi
mov eax, dword [ebp - 0x2c]
mov ecx, 0x69f7ac
mov dword [ecx], eax
jmp 0x403b1c
push 0
push 4
lea eax, [ebp - 0x2c]
push eax
push 0x69f7ac
push dword [0x40b38c]
call edi
cmp byte [0x40b388], 0
mov dword [ebp - 0x18], 0xc8
je 0x403b57
lea eax, [ebp - 0x304]
mov dword [ebp - 0x304], 2
push eax
push 0x40
push 0x400
push 0x69f83c
call esi
mov eax, dword [ebp - 0x18]
mov ecx, 0x69f83c
mov dword [ecx], eax
jmp 0x403b6c
push 0
push 4
lea eax, [ebp - 0x18]
push eax
push 0x69f83c
push dword [0x40b38c]
call edi
cmp byte [0x40b388], 0
mov dword [ebp - 0x2c], 0x96
je 0x403ba7
lea eax, [ebp - 0x304]
mov dword [ebp - 0x304], 2
push eax
push 0x40
push 0x400
push 0x69f860
call esi
mov eax, dword [ebp - 0x2c]
mov ecx, 0x69f860
mov dword [ecx], eax
jmp 0x403bbc
push 0
push 4
lea eax, [ebp - 0x2c]
push eax
push 0x69f860
push dword [0x40b38c]
call edi
cmp byte [0x40b388], 0
mov dword [ebp - 0x18], 0x4b
je 0x403bf7
lea eax, [ebp - 0x304]
mov dword [ebp - 0x304], 2
push eax
push 0x40
push 0x400
push 0x69f884
call esi
mov eax, dword [ebp - 0x18]
mov ecx, 0x69f884
mov dword [ecx], eax
jmp 0x403c0c
push 0
push 4
lea eax, [ebp - 0x18]
push eax
push 0x69f884
push dword [0x40b38c]
call edi
cmp byte [0x40b388], 0
mov dword [ebp - 0x2c], 0x4b
je 0x403c47
lea eax, [ebp - 0x304]
mov dword [ebp - 0x304], 2
push eax
push 0x40
push 0x400
push 0x69f938
call esi
mov eax, dword [ebp - 0x2c]
mov ecx, 0x69f938
mov dword [ecx], eax
jmp 0x403c5c
push 0
push 4
lea eax, [ebp - 0x2c]
push eax
push 0x69f938
push dword [0x40b38c]
call edi
cmp byte [0x40b388], 0
mov dword [ebp - 0x18], 0xbb8
je 0x403c97
lea eax, [ebp - 0x304]
mov dword [ebp - 0x304], 2
push eax
push 0x40
push 0x400
push 0x69f354
call esi
mov eax, dword [ebp - 0x18]
mov ecx, 0x69f354
mov dword [ecx], eax
jmp 0x403cac
push 0
push 4
lea eax, [ebp - 0x18]
push eax
push 0x69f354
push dword [0x40b38c]
call edi
cmp byte [0x40b388], 0
mov dword [ebp - 0x2c], 0x28
je 0x403cdf
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 2
push eax
push 0x40
push 0x400
push 0x69f21c
call esi
mov eax, dword [ebp - 0x2c]
mov dword [0x69f21c], eax
jmp 0x403cf4
push 0
push 4
lea eax, [ebp - 0x2c]
push eax
push 0x69f21c
push dword [0x40b38c]
call edi
mov ecx, str.onDialogButtonDepress
call fcn.004021e0
mov ecx, eax
mov dword [ebp - 0x30], 0x5464a0
sar eax, 8
mov byte [ebp - 0x47], al
mov eax, ecx
sar eax, 0x10
mov byte [ebp - 0x48], cl
shr ecx, 0x18
mov byte [ebp - 0x46], al
lea eax, [ebp - 0x58]
push 0x20
mov byte [ebp - 0x45], cl
lea ecx, [ebp - 0x34]
push eax
mov dword [ebp - 0x34], 9
mov dword [ebp - 0x58], 0x242474ff
mov dword [ebp - 0x54], 0x2c2474ff
mov dword [ebp - 0x50], 0x2e8
mov dword [ebp - 0x4c], 0x6806eb00
mov dword [ebp - 0x44], 0x8c483c3
mov dword [ebp - 0x40], 0x474c084
mov dword [ebp - 0x3c], 0x8c261
call fcn.00402360
mov ecx, str.onDialogDraw
call fcn.004021e0
mov ecx, eax
mov dword [ebp - 0x30], 0x457995
sar eax, 8
mov byte [ebp - 0x1a], al
mov eax, ecx
sar eax, 0x10
mov byte [ebp - 0x1b], cl
shr ecx, 0x18
mov byte [ebp - 0x19], al
lea eax, [ebp - 0x28]
push 0x15
mov byte [ebp - 0x18], cl
lea ecx, [ebp - 0x34]
push eax
mov dword [ebp - 0x34], 5
mov dword [ebp - 0x28], 0x2474ff57
mov dword [ebp - 0x24], 0x2e828
mov dword [ebp - 0x20], 0x6eb0000
mov byte [ebp - 0x1c], 0x68
mov dword [ebp - 0x17], 0x8c483c3
call fcn.00402360
mov ecx, str.onDrawUITop
call fcn.004021e0
mov ecx, eax
mov dword [ebp - 0x30], 0x41acdf
sar eax, 8
mov byte [ebp - 0x1b], al
mov eax, ecx
sar eax, 0x10
mov byte [ebp - 0x1c], cl
shr ecx, 0x18
mov byte [ebp - 0x1a], al
lea eax, [ebp - 0x28]
push 0x14
mov byte [ebp - 0x19], cl
lea ecx, [ebp - 0x34]
push eax
mov dword [ebp - 0x34], 5
mov dword [ebp - 0x28], 0x282474ff
mov dword [ebp - 0x24], 0x2e8
mov dword [ebp - 0x20], 0x6806eb00
mov dword [ebp - 0x18], 0x4c483c3
call fcn.00402360
mov ecx, str.onNewGame
call fcn.004021e0
mov ecx, eax
mov dword [ebp - 0x30], 0x44f8d8
sar eax, 8
mov byte [ebp - 0x17], al
mov eax, ecx
mov dword [ebp - 0x34], 5
mov dword [ebp - 0x20], 0x2e8
mov dword [ebp - 0x1c], 0x6806eb00
mov byte [ebp - 0x18], cl
sar eax, 0x10
shr ecx, 0x18
mov byte [ebp - 0x16], al
lea eax, [ebp - 0x20]
push 0xd
mov byte [ebp - 0x15], cl
lea ecx, [ebp - 0x34]
push eax
mov byte [ebp - 0x14], 0xc3
call fcn.00402360
mov ecx, str.onAppUpdate
call fcn.004021e0
mov ecx, eax
mov dword [ebp - 0x30], 0x453a50
sar eax, 8
mov byte [ebp - 0x1a], al
mov eax, ecx
sar eax, 0x10
mov byte [ebp - 0x1b], cl
shr ecx, 0x18
mov byte [ebp - 0x19], al
lea eax, [ebp - 0x24]
push 0x11
mov byte [ebp - 0x18], cl
lea ecx, [ebp - 0x34]
push eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x24], 0x2e851
mov dword [ebp - 0x20], 0x6eb0000
mov byte [ebp - 0x1c], 0x68
mov dword [ebp - 0x17], 0x4c483c3
call fcn.00402360
mov ecx, str.onGameObjectsUpdate
call fcn.004021e0
mov ecx, eax
mov dword [ebp - 0x30], 0x4130d0
sar eax, 8
mov byte [ebp - 0x62], al
mov eax, ecx
sar eax, 0x10
mov byte [ebp - 0x63], cl
shr ecx, 0x18
mov byte [ebp - 0x61], al
lea eax, [ebp - 0x6c]
push 0x11
mov byte [ebp - 0x60], cl
lea ecx, [ebp - 0x34]
push eax
mov dword [ebp - 0x34], 5
mov dword [ebp - 0x6c], 0x2e853
mov dword [ebp - 0x68], 0x6eb0000
mov byte [ebp - 0x64], 0x68
mov dword [ebp - 0x5f], 0x4c483c3
call fcn.00402360
push dword [0x40b38c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x40b388], 0
mov eax, dword [0x40b390]
je 0x403f46
push 0
push eax
call fcn.004054b0
add esp, 8
jmp 0x403f5a
push 0x8000
push 0
push eax
push dword [0x40b38c]
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00405472
mov esp, ebp
pop ebp
ret