Function at 0x40a990
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f655
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x46d008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx], 0
je 0x40a9e2
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 4]
call ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x10]
add edx, 4
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [eax], edx
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
je 0x40aa17
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 8
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [edx], ecx
mov edx, dword [ebp - 0x1c]
cmp dword [edx], 0
je 0x40aa49
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 4]
call edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
add eax, 0xc
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x20]
cmp dword [ecx], 0
je 0x40aa7b
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 4]
call ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x10]
mov byte [edx + 0x10], cl
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x11]
mov byte [edx + 0x11], cl
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x12]
mov byte [edx + 0x12], cl
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x13]
mov byte [edx + 0x13], cl
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x14]
mov byte [edx + 0x14], cl
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x15]
mov byte [edx + 0x15], cl
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x16]
mov byte [edx + 0x16], cl
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x17]
mov byte [edx + 0x17], cl
mov edx, dword [ebp + 8]
add edx, 0x18
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.0043e7a0
mov byte [ebp - 4], 4
mov eax, dword [ebp + 8]
add eax, 0x24
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.0043e7a0
mov byte [ebp - 4], 5
mov ecx, dword [ebp + 8]
add ecx, 0x30
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.0043e7a0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov dword [edx + 0x3c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
mov dword [edx + 0x40], ecx
mov edx, dword [ebp + 8]
add edx, 0x44
mov eax, dword [ebp - 0x10]
add eax, 0x44
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov edx, dword [edx + 8]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x50]
mov dword [eax + 0x50], edx
mov ecx, dword [ecx + 0x54]
mov dword [eax + 0x54], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x58]
mov dword [edx + 0x58], ecx
mov eax, dword [eax + 0x5c]
mov dword [edx + 0x5c], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x60]
mov byte [ecx + 0x60], al
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x68]
mov dword [ecx + 0x68], eax
mov edx, dword [edx + 0x6c]
mov dword [ecx + 0x6c], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x70]
mov dword [eax + 0x70], edx
mov ecx, dword [ecx + 0x74]
mov dword [eax + 0x74], ecx
mov edx, dword [ebp + 8]
add edx, 0x78
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x78
call fcn.0040ac10
mov byte [ebp - 4], 7
mov eax, dword [ebp + 8]
add eax, 0xa8
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa8
call fcn.0040ac10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xd8]
mov dword [ecx + 0xd8], eax
mov edx, dword [edx + 0xdc]
mov dword [ecx + 0xdc], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4