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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x424d02
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x435014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
lea ecx, [eax + 4]
mov dword [eax], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
push ecx
mov dword [ebp - 4], 0
call fcn.00401ca0
mov dword [ebp - 4], 1
lea eax, [edi + 0x18]
mov dword [ebp - 0x14], eax
lea ecx, [eax + 4]
mov dword [eax], 0
mov dword [ebp - 0x14], eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
push ecx
mov byte [ebp - 4], 2
call fcn.00401cf0
lea esi, [edi + 0x30]
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], 0
mov dword [ebp - 0x18], esi
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
push ecx
mov byte [ebp - 4], 4
call fcn.00401cf0
lea eax, [esi + 0x10]
mov dword [ebp - 0x18], eax
lea ecx, [eax + 4]
mov dword [eax], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
push ecx
mov byte [ebp - 4], 6
call fcn.00401cf0
lea eax, [esi + 0x20]
mov dword [ebp - 0x18], eax
lea ecx, [eax + 4]
mov dword [eax], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
push ecx
mov byte [ebp - 4], 8
call fcn.00401cf0
lea eax, [esi + 0x30]
mov dword [ebp - 0x18], eax
lea ecx, [eax + 4]
mov dword [eax], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
push ecx
mov byte [ebp - 4], 0xa
call fcn.00401cf0
lea esi, [edi + 0x74]
mov dword [ebp - 0x18], esi
lea ecx, [esi + 4]
mov dword [esi], 0
mov dword [ebp - 0x14], esi
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
push ecx
mov byte [ebp - 4], 0xc
call fcn.00401cf0
lea eax, [esi + 0x10]
mov dword [ebp - 0x14], eax
lea ecx, [eax + 4]
mov dword [eax], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
push ecx
mov byte [ebp - 4], 0xe
call fcn.00401cf0
lea ecx, [edi + 0x98]
mov byte [ebp - 4], 0xf
call fcn.00401870
lea esi, [edi + 0x11c]
mov dword [ebp - 0x18], esi
lea ecx, [esi + 4]
mov dword [esi], 0
mov dword [ebp - 0x14], esi
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
push ecx
mov byte [ebp - 4], 0x11
call fcn.00401cf0
lea eax, [esi + 0x10]
mov dword [ebp - 0x14], eax
lea ecx, [eax + 4]
mov dword [eax], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
push ecx
mov byte [ebp - 4], 0x13
call fcn.00401cf0
lea eax, [edi + 0x140]
mov dword [ebp - 0x18], eax
lea ecx, [eax + 4]
mov dword [eax], 0
mov dword [ebp - 0x18], eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
push ecx
mov byte [ebp - 4], 0x15
call fcn.00401cf0
lea esi, [edi + 0x158]
mov dword [ebp - 0x18], esi
lea ecx, [esi + 4]
mov dword [esi], 0
mov dword [ebp - 0x14], esi
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
push ecx
mov byte [ebp - 4], 0x17
call fcn.00401cf0
lea eax, [esi + 0x10]
mov dword [ebp - 0x14], eax
lea ecx, [eax + 4]
mov dword [eax], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
push ecx
mov byte [ebp - 4], 0x19
call fcn.00401cf0
lea eax, [edi + 0x17c]
mov dword [ebp - 0x18], eax
lea ecx, [eax + 4]
mov dword [eax], 0
mov dword [ebp - 0x18], eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
push ecx
mov byte [ebp - 4], 0x1b
call fcn.00401cf0
lea eax, [edi + 0x190]
mov dword [ebp - 0x18], eax
lea ecx, [eax + 4]
mov dword [eax], 0
mov dword [ebp - 0x18], eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
push ecx
mov byte [ebp - 4], 0x1d
call fcn.00401cf0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret