Function at 0x40c4b0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44337d
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4587e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push 0x44fdac
mov dword [ebp - 0x60], edi
mov word [edi], ax
call fcn.00403620
mov dword [ebp - 4], 0
lea ecx, [edi + 0x18]
xor eax, eax
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x44fdac
mov word [ecx], ax
call fcn.00403620
mov byte [ebp - 4], 1
lea ecx, [edi + 0x30]
xor eax, eax
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x44fdac
mov word [ecx], ax
call fcn.00403620
mov byte [ebp - 4], 2
lea ecx, [edi + 0x48]
xor eax, eax
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x44fdac
mov word [ecx], ax
call fcn.00403620
mov byte [ebp - 4], 3
lea ecx, [edi + 0x60]
xor eax, eax
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x44fdac
mov word [ecx], ax
call fcn.00403620
mov byte [ebp - 4], 4
lea ecx, [edi + 0x78]
xor eax, eax
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x44fdac
mov word [ecx], ax
call fcn.00403620
mov byte [ebp - 4], 5
lea ecx, [edi + 0x90]
xor eax, eax
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x44fdac
mov word [ecx], ax
call fcn.00403620
mov byte [ebp - 4], 6
lea ecx, [edi + 0xa8]
xor eax, eax
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x44fdac
mov word [ecx], ax
call fcn.00403620
mov byte [ebp - 4], 7
lea ecx, [edi + 0xc0]
xor eax, eax
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x44fdac
mov word [ecx], ax
call fcn.00403620
mov byte [ebp - 4], 8
lea ecx, [edi + 0xd8]
xor eax, eax
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x44fdac
mov word [ecx], ax
call fcn.00403620
mov byte [ebp - 4], 9
lea esi, [edi + 0xf0]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], eax
call fcn.0040a080
mov byte [edi + 0x108], al
xor eax, eax
push eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
push 0x44fdac
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
call fcn.00403620
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x40]
call fcn.0040bbd0
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x5c]
mov ecx, eax
call fcn.00409890
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x44], eax
call fcn.0040a260
mov ebx, eax
mov byte [ebp - 4], 0xd
cmp esi, ebx
je 0x40c719
cmp dword [esi + 0x14], 8
jb 0x40c6fe
push dword [esi]
call fcn.00423c7d
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
push ebx
mov ecx, esi
mov word [esi], ax
call fcn.00402d10
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x14], 8
jb 0x40c72e
push dword [ebp - 0x28]
call fcn.00423c7d
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x2c], 8
jb 0x40c757
push dword [ebp - 0x40]
call fcn.00423c7d
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x48], 8
jb 0x40c780
push dword [ebp - 0x5c]
call fcn.00423c7d
add esp, 4
xor eax, eax
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
mov dword [ebp - 4], 0xffffffff
mov eax, edi
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.00423c82
mov esp, ebp
pop ebp
ret