Function at 0x436870
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c7cb0
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x641490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x1c], 0
push 0x6119a5
lea ecx, [ebp - 0x34]
call fcn.00406610
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x5c], ax
push 0x10000
call fcn.00460442
add esp, 4
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x64]
mov eax, dword [edx]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
mov edx, dword [ebp - 0x60]
push edx
call fcn.00408860
add esp, 0x10
mov eax, dword [ebp - 0x64]
movzx ecx, byte [eax + 4]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0
mov eax, dword [ebp - 0x60]
push eax
call fcn.00408830
add esp, 0x10
mov ecx, dword [ebp - 0x64]
movzx edx, byte [ecx + 5]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.00408830
add esp, 0x10
mov edx, dword [ebp - 0x64]
movzx eax, byte [edx + 6]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
mov edx, dword [ebp - 0x60]
push edx
call fcn.00408830
add esp, 0x10
mov eax, dword [ebp - 0x64]
add eax, 8
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xac], esp
push eax
call fcn.00406580
mov dword [ebp - 0xb0], eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
mov edx, dword [ebp - 0x60]
push edx
call fcn.00408ff0
add esp, 0x24
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x20]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0
mov eax, dword [ebp - 0x60]
push eax
call fcn.00408860
add esp, 0x10
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x2c]
push edx
mov eax, dword [ecx + 0x28]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
mov edx, dword [ebp - 0x60]
push edx
call fcn.004288e0
add esp, 0x14
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x34]
push ecx
mov edx, dword [eax + 0x30]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.004288e0
add esp, 0x14
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0x64]
add ecx, 0x38
call fcn.00406b40
cmp eax, 0x10
jne 0x4369f5
push 0x10
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x64]
add ecx, 0x38
call fcn.00406720
push eax
call fcn.0042f7b0
add esp, 0xc
push 8
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0
mov eax, dword [ebp - 0x60]
push eax
call fcn.00408890
add esp, 0x14
mov ecx, dword [ebp - 0x64]
add ecx, 0x50
push ecx
lea edx, [ebp - 0x104]
push edx
call fcn.0042fe50
add esp, 8
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040f5d0
lea ecx, [ebp - 0x104]
call fcn.004066a0
lea ecx, [ebp - 0x34]
call fcn.00406b40
mov word [ebp - 0x5c], ax
movzx ecx, word [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0
mov eax, dword [ebp - 0x60]
push eax
call fcn.004288b0
add esp, 0x10
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xb8], esp
lea edx, [ebp - 0x34]
push edx
call fcn.00406580
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.00408ff0
add esp, 0x24
mov edx, dword [ebp - 0x64]
add edx, 0x68
push edx
lea eax, [ebp - 0x17c]
push eax
call fcn.0042fe50
add esp, 8
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0040f5d0
lea ecx, [ebp - 0x17c]
call fcn.004066a0
lea ecx, [ebp - 0x34]
call fcn.00406b40
mov word [ebp - 0x5c], ax
movzx edx, word [ebp - 0x5c]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.004288b0
add esp, 0x10
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc8], esp
lea edx, [ebp - 0x34]
push edx
call fcn.00406580
mov dword [ebp - 0xd8], eax
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.00408ff0
add esp, 0x24
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0x84]
push eax
mov ecx, dword [edx + 0x80]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0
mov eax, dword [ebp - 0x60]
push eax
call fcn.004288e0
add esp, 0x14
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x8c]
push edx
mov eax, dword [ecx + 0x88]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
mov edx, dword [ebp - 0x60]
push edx
call fcn.004288e0
add esp, 0x14
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x64]
add ecx, 0x38
call fcn.00406b40
cmp eax, 0x10
jne 0x436b8c
push 0x10
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x64]
add ecx, 0x90
call fcn.00406720
push eax
call fcn.0042f7b0
add esp, 0xc
push 8
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.00408890
add esp, 0x14
mov edx, dword [ebp - 0x64]
add edx, 0xa8
push edx
lea eax, [ebp - 0x14c]
push eax
call fcn.0042fe50
add esp, 8
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0040f5d0
lea ecx, [ebp - 0x14c]
call fcn.004066a0
lea ecx, [ebp - 0x34]
call fcn.00406b40
mov word [ebp - 0x5c], ax
movzx edx, word [ebp - 0x5c]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.004288b0
add esp, 0x10
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xa4], esp
lea edx, [ebp - 0x34]
push edx
call fcn.00406580
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.00408ff0
add esp, 0x24
mov edx, dword [ebp - 0x64]
add edx, 0xc0
push edx
lea eax, [ebp - 0x1ac]
push eax
call fcn.0042fe50
add esp, 8
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0040f5d0
lea ecx, [ebp - 0x1ac]
call fcn.004066a0
lea ecx, [ebp - 0x34]
call fcn.00406b40
mov word [ebp - 0x5c], ax
movzx edx, word [ebp - 0x5c]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.004288b0
add esp, 0x10
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x98], esp
lea edx, [ebp - 0x34]
push edx
call fcn.00406580
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.00408ff0
add esp, 0x24
mov edx, dword [ebp - 0x64]
add edx, 0xd8
push edx
lea eax, [ebp - 0x11c]
push eax
call fcn.0042fe50
add esp, 8
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0040f5d0
lea ecx, [ebp - 0x11c]
call fcn.004066a0
lea ecx, [ebp - 0x34]
call fcn.00406b40
mov word [ebp - 0x5c], ax
movzx edx, word [ebp - 0x5c]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.004288b0
add esp, 0x10
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xb4], esp
lea edx, [ebp - 0x34]
push edx
call fcn.00406580
mov dword [ebp - 0xd4], eax
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.00408ff0
add esp, 0x24
mov edx, dword [ebp - 0x64]
add edx, 0xf0
push edx
lea eax, [ebp - 0x134]
push eax
call fcn.0042fe50
add esp, 8
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0040f5d0
lea ecx, [ebp - 0x134]
call fcn.004066a0
lea ecx, [ebp - 0x34]
call fcn.00406b40
mov word [ebp - 0x5c], ax
movzx edx, word [ebp - 0x5c]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.004288b0
add esp, 0x10
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xbc], esp
lea edx, [ebp - 0x34]
push edx
call fcn.00406580
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.00408ff0
add esp, 0x24
mov edx, dword [ebp - 0x64]
add edx, 0x108
push edx
lea eax, [ebp - 0x164]
push eax
call fcn.0042fe50
add esp, 8
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0040f5d0
lea ecx, [ebp - 0x164]
call fcn.004066a0
lea ecx, [ebp - 0x34]
call fcn.00406b40
mov word [ebp - 0x5c], ax
movzx edx, word [ebp - 0x5c]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.004288b0
add esp, 0x10
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc4], esp
lea edx, [ebp - 0x34]
push edx
call fcn.00406580
mov dword [ebp - 0xe4], eax
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.00408ff0
add esp, 0x24
mov edx, dword [ebp - 0x64]
add edx, 0x120
push edx
lea eax, [ebp - 0x194]
push eax
call fcn.0042fe50
add esp, 8
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0040f5d0
lea ecx, [ebp - 0x194]
call fcn.004066a0
lea ecx, [ebp - 0x34]
call fcn.00406b40
mov word [ebp - 0x5c], ax
movzx edx, word [ebp - 0x5c]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.004288b0
add esp, 0x10
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xcc], esp
lea edx, [ebp - 0x34]
push edx
call fcn.00406580
mov dword [ebp - 0xec], eax
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.00408ff0
add esp, 0x24
push 0x616a9c
lea ecx, [ebp - 0x58]
call fcn.00406610
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x38], edx
xor eax, eax
mov word [ebp - 0x5c], ax
movzx ecx, word [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0
mov eax, dword [ebp - 0x60]
push eax
call fcn.004288b0
add esp, 0x10
mov dword [ebp - 0x68], 0
jmp 0x436f08
mov ecx, dword [ebp - 0x68]
add ecx, 1
mov dword [ebp - 0x68], ecx
mov ecx, dword [ebp - 0x64]
add ecx, 0x138
call fcn.0041cf10
cmp dword [ebp - 0x68], eax
jae 0x436fc3
mov edx, dword [ebp - 0x68]
push edx
mov ecx, dword [ebp - 0x64]
add ecx, 0x138
call fcn.00409f20
push eax
lea eax, [ebp - 0x1c4]
push eax
call fcn.0042fe50
add esp, 8
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0040f5d0
lea ecx, [ebp - 0x1c4]
call fcn.004066a0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xe0], esp
lea edx, [ebp - 0x34]
push edx
call fcn.00406580
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.00408ff0
add esp, 0x24
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xa0], esp
lea edx, [ebp - 0x58]
push edx
call fcn.00406580
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.00408ff0
add esp, 0x24
cmp dword [ebp - 0x1c], 0xf800
jle 0x436fbe
jmp 0x436fc3
jmp 0x436eff
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x38]
sub edx, 2
mov word [ebp - 0x5c], dx
movzx eax, word [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x38]
push ecx
push 0
mov edx, dword [ebp - 0x60]
push edx
call fcn.004288b0
add esp, 0x10
mov eax, dword [ebp - 0x1c]
sub eax, 4
mov ecx, dword [ebp - 0x64]
mov dword [ecx], eax
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x64]
mov eax, dword [edx]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
mov edx, dword [ebp - 0x60]
push edx
call fcn.00408860
add esp, 0x10
mov eax, dword [ebp - 0x64]
mov ecx, dword [0x642750]
add ecx, dword [eax]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
push edx
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax]
sub ecx, 2
push ecx
mov edx, dword [ebp - 0x60]
add edx, 6
push edx
call fcn.0045ed50
add esp, 0xc
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax]
add ecx, 4
push ecx
mov edx, dword [ebp - 0x60]
push edx
lea ecx, [ebp - 0x40]
call fcn.00405b30
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 4], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.004066a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004066a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058835d
mov esp, ebp
pop ebp
ret 4