Function at 0x41b5d0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4389a4
mov eax, dword fs:[0]
push eax
sub esp, 0x66c
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x438]
mov ecx, 0x10b
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x445040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov ecx, 0x447432
call fcn.0041d47e
mov ecx, dword [ebp - 0x18]
call fcn.004026d0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x2a4]
push edx
call fcn.0040d220
add esp, 8
mov dword [ebp - 0x66c], eax
mov eax, dword [ebp - 0x66c]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00407600
lea ecx, [ebp - 0x2a4]
call fcn.00407370
mov esi, esp
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x24]
push edx
lea eax, [ebp - 0x2c4]
push eax
call fcn.0040d220
add esp, 8
mov dword [ebp - 0x66c], eax
mov ecx, dword [ebp - 0x66c]
mov dword [ebp - 0x670], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x670]
push edx
lea eax, [ebp - 0x2e4]
push eax
call fcn.00401340
add esp, 0xc
mov dword [ebp - 0x674], eax
mov ecx, dword [ebp - 0x674]
call fcn.00408990
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
cmp esi, esp
call fcn.0041d45b
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x18], eax
lea ecx, [ebp - 0x2e4]
call fcn.00407370
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c4]
call fcn.00407370
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x58]
push ecx
lea edx, [ebp - 0x38]
push edx
call fcn.0040d220
add esp, 8
mov byte [ebp - 4], 2
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x18
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.0041c210
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x44]
mov dword [eax + 0x30], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x50]
push ecx
lea edx, [ebp - 0x304]
push edx
call fcn.0040d220
add esp, 8
mov dword [ebp - 0x66c], eax
mov eax, dword [ebp - 0x66c]
mov dword [ebp - 0x670], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x670]
call fcn.00408990
mov esi, esp
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x30]
call ecx
cmp esi, esp
call fcn.0041d45b
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x2c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x304]
call fcn.00407370
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
push ecx
lea edx, [ebp - 0x324]
push edx
call fcn.0040d220
add esp, 8
mov dword [ebp - 0x66c], eax
mov eax, dword [ebp - 0x66c]
mov dword [ebp - 0x670], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x670]
call fcn.00408990
mov esi, esp
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x30]
call ecx
cmp esi, esp
call fcn.0041d45b
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x34], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x324]
call fcn.00407370
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
push ecx
lea edx, [ebp - 0x344]
push edx
call fcn.0040d220
add esp, 8
mov dword [ebp - 0x66c], eax
mov eax, dword [ebp - 0x66c]
mov dword [ebp - 0x670], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x670]
call fcn.00408990
mov esi, esp
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x30]
call ecx
cmp esi, esp
call fcn.0041d45b
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x38], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x344]
call fcn.00407370
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
push ecx
lea edx, [ebp - 0x364]
push edx
call fcn.0040d220
add esp, 8
mov dword [ebp - 0x66c], eax
mov eax, dword [ebp - 0x66c]
mov dword [ebp - 0x670], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x670]
call fcn.00408990
mov esi, esp
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x30]
call ecx
cmp esi, esp
call fcn.0041d45b
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x40], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x364]
call fcn.00407370
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x34]
push ecx
lea edx, [ebp - 0x384]
push edx
call fcn.0040d220
add esp, 8
mov dword [ebp - 0x66c], eax
mov eax, dword [ebp - 0x66c]
mov dword [ebp - 0x670], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x670]
call fcn.00408990
mov esi, esp
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x30]
call ecx
cmp esi, esp
call fcn.0041d45b
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x3c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x384]
call fcn.00407370
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
push ecx
lea edx, [ebp - 0x3a4]
push edx
call fcn.0040d220
add esp, 8
mov dword [ebp - 0x66c], eax
mov eax, dword [ebp - 0x66c]
mov dword [ebp - 0x670], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x670]
call fcn.00408990
mov esi, esp
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x30]
call ecx
cmp esi, esp
call fcn.0041d45b
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x44], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3a4]
call fcn.00407370
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
push ecx
lea edx, [ebp - 0x3c4]
push edx
call fcn.0040d220
add esp, 8
mov dword [ebp - 0x66c], eax
mov eax, dword [ebp - 0x66c]
mov dword [ebp - 0x670], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x670]
call fcn.00408990
mov esi, esp
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x30]
call ecx
cmp esi, esp
call fcn.0041d45b
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x48], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c4]
call fcn.00407370
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x48]
push ecx
lea edx, [ebp - 0x3e4]
push edx
call fcn.0040d220
add esp, 8
mov dword [ebp - 0x66c], eax
mov eax, dword [ebp - 0x66c]
mov dword [ebp - 0x670], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x670]
call fcn.00408990
mov esi, esp
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x30]
call ecx
cmp esi, esp
call fcn.0041d45b
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x4c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3e4]
call fcn.00407370
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x4c]
push ecx
lea edx, [ebp - 0x404]
push edx
call fcn.0040d220
add esp, 8
mov dword [ebp - 0x66c], eax
mov eax, dword [ebp - 0x66c]
mov dword [ebp - 0x670], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x670]
call fcn.00408990
mov esi, esp
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x30]
call ecx
cmp esi, esp
call fcn.0041d45b
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x50], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x404]
call fcn.00407370
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x54]
push ecx
lea edx, [ebp - 0x424]
push edx
call fcn.0040d220
add esp, 8
mov dword [ebp - 0x66c], eax
mov eax, dword [ebp - 0x66c]
mov dword [ebp - 0x670], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x670]
call fcn.00408990
mov esi, esp
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x30]
call ecx
cmp esi, esp
call fcn.0041d45b
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x54], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x424]
call fcn.00407370
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x70]
push ecx
lea edx, [ebp - 0x444]
push edx
call fcn.0040d220
add esp, 8
mov dword [ebp - 0x66c], eax
mov eax, dword [ebp - 0x66c]
mov dword [ebp - 0x670], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x670]
call fcn.00408990
mov esi, esp
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x30]
call ecx
cmp esi, esp
call fcn.0041d45b
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x58], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x444]
call fcn.00407370
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x74]
push edx
lea eax, [ebp - 0x464]
push eax
call fcn.0040d220
add esp, 8
mov dword [ebp - 0x66c], eax
mov ecx, dword [ebp - 0x66c]
mov dword [ebp - 0x670], ecx
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x670]
push edx
lea eax, [ebp - 0x484]
push eax
call fcn.00401340
add esp, 0xc
mov dword [ebp - 0x674], eax
mov ecx, dword [ebp - 0x674]
mov dword [ebp - 0x678], ecx
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x678]
call fcn.00408990
mov esi, esp
push eax
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x2c]
call eax
cmp esi, esp
call fcn.0041d45b
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x1c], eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x484]
call fcn.00407370
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x464]
call fcn.00407370
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
push ecx
lea edx, [ebp - 0x4a4]
push edx
call fcn.0040d220
add esp, 8
mov dword [ebp - 0x66c], eax
mov eax, dword [ebp - 0x66c]
mov dword [ebp - 0x670], eax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x670]
call fcn.00408990
mov esi, esp
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x1c]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x30]
call ecx
cmp esi, esp
call fcn.0041d45b
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x5c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4a4]
call fcn.00407370
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x7c]
push edx
lea eax, [ebp - 0x4c4]
push eax
call fcn.0040d220
add esp, 8
mov dword [ebp - 0x66c], eax
mov ecx, dword [ebp - 0x66c]
mov dword [ebp - 0x670], ecx
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x670]
push edx
lea eax, [ebp - 0x4e4]
push eax
call fcn.00401340
add esp, 0xc
mov dword [ebp - 0x674], eax
mov ecx, dword [ebp - 0x674]
mov dword [ebp - 0x678], ecx
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x678]
call fcn.00408990
mov esi, esp
push eax
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x2c]
call eax
cmp esi, esp
call fcn.0041d45b
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x20], eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x4e4]
call fcn.00407370
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c4]
call fcn.00407370
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
push ecx
lea edx, [ebp - 0x504]
push edx
call fcn.0040d220
add esp, 8
mov dword [ebp - 0x66c], eax
mov eax, dword [ebp - 0x66c]
mov dword [ebp - 0x670], eax
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x670]
call fcn.00408990
mov esi, esp
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x20]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x30]
call ecx
cmp esi, esp
call fcn.0041d45b
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x60], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x504]
call fcn.00407370
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x84]
push ecx
lea edx, [ebp - 0x524]
push edx
call fcn.0040d220
add esp, 8
mov dword [ebp - 0x66c], eax
mov eax, dword [ebp - 0x66c]
mov dword [ebp - 0x670], eax
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x670]
call fcn.00408990
mov esi, esp
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x20]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x30]
call ecx
cmp esi, esp
call fcn.0041d45b
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x64], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x524]
call fcn.00407370
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x88]
push ecx
lea edx, [ebp - 0x544]
push edx
call fcn.0040d220
add esp, 8
mov dword [ebp - 0x66c], eax
mov eax, dword [ebp - 0x66c]
mov dword [ebp - 0x670], eax
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x670]
call fcn.00408990
mov esi, esp
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x20]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x30]
call ecx
cmp esi, esp
call fcn.0041d45b
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x68], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x544]
call fcn.00407370
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x8c]
push edx
lea eax, [ebp - 0x564]
push eax
call fcn.0040d220
add esp, 8
mov dword [ebp - 0x66c], eax
mov ecx, dword [ebp - 0x66c]
mov dword [ebp - 0x670], ecx
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x670]
push edx
lea eax, [ebp - 0x584]
push eax
call fcn.00401340
add esp, 0xc
mov dword [ebp - 0x674], eax
mov ecx, dword [ebp - 0x674]
mov dword [ebp - 0x678], ecx
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x678]
call fcn.00408990
mov esi, esp
push eax
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x2c]
call eax
cmp esi, esp
call fcn.0041d45b
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x24], eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x584]
call fcn.00407370
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x564]
call fcn.00407370
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x90]
push ecx
lea edx, [ebp - 0x5a4]
push edx
call fcn.0040d220
add esp, 8
mov dword [ebp - 0x66c], eax
mov eax, dword [ebp - 0x66c]
mov dword [ebp - 0x670], eax
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x670]
call fcn.00408990
mov esi, esp
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x24]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x30]
call ecx
cmp esi, esp
call fcn.0041d45b
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x6c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5a4]
call fcn.00407370
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x94]
push ecx
lea edx, [ebp - 0x5c4]
push edx
call fcn.0040d220
add esp, 8
mov dword [ebp - 0x66c], eax
mov eax, dword [ebp - 0x66c]
mov dword [ebp - 0x670], eax
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x670]
call fcn.00408990
mov esi, esp
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x24]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x30]
call ecx
cmp esi, esp
call fcn.0041d45b
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x70], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c4]
call fcn.00407370
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x98]
push edx
lea eax, [ebp - 0x5e4]
push eax
call fcn.0040d220
add esp, 8
mov dword [ebp - 0x66c], eax
mov ecx, dword [ebp - 0x66c]
mov dword [ebp - 0x670], ecx
mov byte [ebp - 4], 0x1a
mov edx, dword [ebp - 0x670]
push edx
lea eax, [ebp - 0x604]
push eax
call fcn.00401340
add esp, 0xc
mov dword [ebp - 0x674], eax
mov ecx, dword [ebp - 0x674]
mov dword [ebp - 0x678], ecx
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x678]
call fcn.00408990
mov esi, esp
push eax
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x2c]
call eax
cmp esi, esp
call fcn.0041d45b
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x28], eax
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x604]
call fcn.00407370
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5e4]
call fcn.00407370
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x9c]
push ecx
lea edx, [ebp - 0x624]
push edx
call fcn.0040d220
add esp, 8
mov dword [ebp - 0x66c], eax
mov eax, dword [ebp - 0x66c]
mov dword [ebp - 0x670], eax
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x670]
call fcn.00408990
mov esi, esp
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x28]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x30]
call ecx
cmp esi, esp
call fcn.0041d45b
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x74], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x624]
call fcn.00407370
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa0]
push ecx
lea edx, [ebp - 0x644]
push edx
call fcn.0040d220
add esp, 8
mov dword [ebp - 0x66c], eax
mov eax, dword [ebp - 0x66c]
mov dword [ebp - 0x670], eax
mov byte [ebp - 4], 0x1d
mov ecx, dword [ebp - 0x670]
call fcn.00408990
mov esi, esp
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x28]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x30]
call ecx
cmp esi, esp
call fcn.0041d45b
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x78], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x644]
call fcn.00407370
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa4]
push ecx
lea edx, [ebp - 0x664]
push edx
call fcn.0040d220
add esp, 8
mov dword [ebp - 0x66c], eax
mov eax, dword [ebp - 0x66c]
mov dword [ebp - 0x670], eax
mov byte [ebp - 4], 0x1e
mov ecx, dword [ebp - 0x670]
call fcn.00408990
mov esi, esp
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x28]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x30]
call ecx
cmp esi, esp
call fcn.0041d45b
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x7c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x664]
call fcn.00407370
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.00407370
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
push edx
mov ecx, ebp
push eax
lea edx, [0x41c1ec]
call fcn.0041d407
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041d4b0
add esp, 0x678
cmp ebp, esp
call fcn.0041d45b
mov esp, ebp
pop ebp
ret 4