Function at 0x598220
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7e4df5
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push edi
push ecx
lea edi, [ebp - 0x44]
mov ecx, 0xe
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x87fbc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00424b70
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CMFCPropertyGridProperty.0
mov ecx, dword [ebp - 0x10]
add ecx, 8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.005acb50
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0x18
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.005acb50
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x14]
mov dword [edx + 0x28], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00405a30
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.00405a30
mov ecx, dword [ebp - 0x10]
add ecx, 0x88
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.00412700
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
add eax, 0x8c
mov dword [ebp - 0x20], eax
cmp dword [ebp + 0x10], 0
jne 0x5982f9
mov dword [ebp - 0x24], 0x850710
jmp 0x5982ff
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x20]
call fcn.00411e20
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
add eax, 0x90
mov dword [ebp - 0x28], eax
cmp dword [ebp + 0x18], 0
jne 0x598329
mov dword [ebp - 0x2c], 0x850710
jmp 0x59832f
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0x28]
call fcn.00411e20
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x10]
add eax, 0x94
mov dword [ebp - 0x30], eax
cmp dword [ebp + 0x1c], 0
jne 0x598359
mov dword [ebp - 0x34], 0x850710
jmp 0x59835f
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x30]
call fcn.00411e20
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x10]
add eax, 0x98
mov dword [ebp - 0x38], eax
cmp dword [ebp + 0x20], 0
jne 0x598389
mov dword [ebp - 0x3c], 0x850710
jmp 0x59838f
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 0x38]
call fcn.00411e20
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x10]
add eax, 0x9c
mov dword [ebp - 0x40], eax
push 0xa
mov ecx, dword [ebp - 0x40]
call fcn.006da5a0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x10]
add ecx, 0xcc
mov dword [ebp - 0x44], ecx
push 0xa
mov ecx, dword [ebp - 0x44]
call fcn.00597750
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x5c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x6c], 0
mov ecx, dword [ebp - 0x10]
call fcn.0059cd60
mov ecx, dword [ebp - 0x10]
call fcn.005aa220
nop
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx + 8]
cmp edx, 0xb
jne 0x59840d
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x68], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x44
cmp ebp, esp
call fcn.00784930
mov esp, ebp
pop ebp
ret 0x1c