Function at 0x529250
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ed7bf
mov eax, dword fs:[0]
push eax
sub esp, 0x378
mov eax, dword [0x653ea8]
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 ebx, ecx
mov dword [ebp - 0x36c], ebx
call fcn.00516e20
xor eax, eax
cmp eax, dword [ebx + 0x30]
sbb eax, eax
and eax, 0x18
add eax, 8
add eax, ebx
cmp dword [eax + 0x14], 0x10
jb 0x5292a2
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x110]
push 0x5fde60
push eax
call fcn.00411ca0
add esp, 0xc
lea ecx, [ebp - 0x348]
call fcn.004a5000
mov ecx, dword [0x6d993c]
lea eax, [ebp - 0x364]
push 0
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x348]
push eax
call fcn.004da3c0
test al, al
jne 0x5292f6
xor bl, bl
jmp 0x52999e
lea ecx, [ebp - 0x384]
call fcn.004a5580
mov dword [ebp - 0x354], 0
mov dword [ebp - 0x350], 0
mov dword [ebp - 0x34c], 0
push dword [ebp - 0x364]
lea ecx, [ebp - 0x348]
mov byte [ebp - 4], 2
push 0
call fcn.004a5540
push eax
lea ecx, [ebp - 0x384]
call fcn.004a55f0
xor esi, esi
lea ecx, [ebp - 0x384]
mov dword [ebp - 0x358], esi
call fcn.004a59d0
test eax, eax
je 0x529986
nop dword [eax]
push 0x5f6f30
lea eax, [ebp - 0x354]
push eax
push esi
lea ecx, [ebp - 0x384]
call fcn.004a5e80
test al, al
je 0x529967
push dword [ebp - 0x354]
call fcn.004a91e0
mov esi, dword [ebp - 0x354]
add esp, 4
mov eax, esi
mov edi, eax
mov ebx, dword [esi + 0x14]
cmp ebx, 0x10
jb 0x5293a2
mov eax, dword [esi]
push 1
push 0x5fde70
push dword [esi + 0x10]
push eax
call fcn.00416f70
add esp, 0x10
test eax, eax
je 0x5293dd
mov eax, edi
cmp ebx, 0x10
jb 0x5293c2
mov eax, dword [esi]
push 1
push 0x624418
push dword [esi + 0x10]
push eax
call fcn.00416f70
add esp, 0x10
test eax, eax
jne 0x529967
mov ecx, dword [ebp - 0x350]
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xb
jae 0x529405
push 0x5fde78
jmp 0x52995f
mov eax, edi
cmp ebx, 0x10
jb 0x52940e
mov eax, dword [esi]
push 1
push 0x5fde70
push dword [esi + 0x10]
push eax
call fcn.00416f70
add esp, 0x10
test eax, eax
jne 0x529431
mov dword [ebp - 0x35c], 1
jmp 0x52945d
cmp ebx, 0x10
jb 0x529438
mov edi, dword [esi]
push 1
push 0x624418
push dword [esi + 0x10]
push edi
call fcn.00416f70
add esp, 0x10
test eax, eax
jne 0x52995a
mov dword [ebp - 0x35c], 2
add esi, 0x18
cmp dword [esi + 0x14], 0x10
jb 0x529468
mov esi, dword [esi]
mov ecx, esi
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x1ec], 0xf
mov byte [ebp - 0x200], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x529488
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x200]
call fcn.004073c0
mov edx, dword [ebp - 0x354]
add edx, 0x30
mov byte [ebp - 4], 3
cmp dword [edx + 0x14], 0x10
jb 0x5294b3
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x1d8], 0
mov dword [ebp - 0x1d4], 0xf
mov byte [ebp - 0x1e8], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5294d3
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x1e8]
call fcn.004073c0
mov edx, dword [ebp - 0x354]
add edx, 0x48
mov byte [ebp - 4], 4
cmp dword [edx + 0x14], 0x10
jb 0x5294fe
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x1bc], 0xf
mov byte [ebp - 0x1d0], 0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x529520
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x1d0]
call fcn.004073c0
mov edx, dword [ebp - 0x354]
add edx, 0x60
mov byte [ebp - 4], 5
cmp dword [edx + 0x14], 0x10
jb 0x52954b
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x1a8], 0
mov dword [ebp - 0x1a4], 0xf
mov byte [ebp - 0x1b8], 0
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x529570
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x1b8]
call fcn.004073c0
mov edx, dword [ebp - 0x354]
add edx, 0x78
mov byte [ebp - 4], 6
cmp dword [edx + 0x14], 0x10
jb 0x52959b
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x18c], 0xf
mov byte [ebp - 0x1a0], 0
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5295c0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x1a0]
call fcn.004073c0
mov edx, dword [ebp - 0x354]
add edx, 0x90
mov byte [ebp - 4], 7
cmp dword [edx + 0x14], 0x10
jb 0x5295ee
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0xf
mov byte [ebp - 0x188], 0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x529610
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x188]
call fcn.004073c0
mov edx, dword [ebp - 0x354]
add edx, 0xa8
mov byte [ebp - 4], 8
cmp dword [edx + 0x14], 0x10
jb 0x52963e
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0xf
mov byte [ebp - 0x170], 0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x529660
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x170]
call fcn.004073c0
mov edx, dword [ebp - 0x354]
add edx, 0xc0
mov byte [ebp - 4], 9
cmp dword [edx + 0x14], 0x10
jb 0x52968e
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0xf
mov byte [ebp - 0x158], 0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5296b0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x158]
call fcn.004073c0
mov edx, dword [ebp - 0x354]
add edx, 0xd8
mov byte [ebp - 4], 0xa
cmp dword [edx + 0x14], 0x10
jb 0x5296de
mov edx, dword [edx]
mov eax, edx
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0xf
mov byte [ebp - 0x140], 0
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x529700
sub eax, esi
lea ecx, [ebp - 0x140]
push eax
push edx
call fcn.004073c0
mov edx, dword [ebp - 0x354]
add edx, 0xf0
mov byte [ebp - 4], 0xb
cmp dword [edx + 0x14], 0x10
jb 0x52972e
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x529750
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x128]
call fcn.004073c0
cmp dword [ebp - 0x1ec], 0x10
lea eax, [ebp - 0x200]
mov byte [ebp - 4], 0xc
cmovae eax, dword [ebp - 0x200]
push eax
call fcn.0058eaff
cmp dword [ebp - 0x1d4], 0x10
lea ecx, [ebp - 0x1e8]
mov dword [ebp - 0x368], eax
cmovae ecx, dword [ebp - 0x1e8]
push ecx
call fcn.0058eaff
cmp dword [ebp - 0x1bc], 0x10
lea ecx, [ebp - 0x1d0]
mov ebx, eax
cmovae ecx, dword [ebp - 0x1d0]
push ecx
call fcn.0058eaff
cmp dword [ebp - 0x1a4], 0x10
lea ecx, [ebp - 0x1b8]
mov edi, eax
cmovae ecx, dword [ebp - 0x1b8]
push ecx
call fcn.0058eaff
cmp dword [ebp - 0x18c], 0x10
lea ecx, [ebp - 0x1a0]
mov esi, eax
cmovae ecx, dword [ebp - 0x1a0]
push ecx
call fcn.0058eaff
cmp dword [ebp - 0x174], 0x10
lea eax, [ebp - 0x188]
cmovae eax, dword [ebp - 0x188]
push eax
call fcn.0058eab9
cmp dword [ebp - 0x15c], 0x10
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x374], eax
cmovae ecx, dword [ebp - 0x170]
push ecx
call fcn.0058eaff
cmp dword [ebp - 0x144], 0x10
lea eax, [ebp - 0x158]
cmovae eax, dword [ebp - 0x158]
push eax
call fcn.0058eaff
cmp dword [ebp - 0x12c], 0x10
lea eax, [ebp - 0x140]
cmovae eax, dword [ebp - 0x140]
push eax
call fcn.0058eab9
cmp dword [ebp - 0x114], 0x10
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x370], eax
cmovae ecx, dword [ebp - 0x128]
push ecx
call fcn.0058eab9
mov ecx, dword [ebp - 0x36c]
add esp, 0x28
mov dword [ebp - 0x360], eax
push esi
push edi
push ebx
push dword [ebp - 0x368]
call fcn.00514f70
mov esi, eax
mov eax, dword [ebp - 0x35c]
mov dword [esi + 4], eax
cmp eax, 1
jne 0x5298be
mov eax, dword [ebp - 0x360]
mov dword [esi + 0x40], eax
jmp 0x5298cc
cmp eax, 2
jne 0x5298cc
mov eax, dword [ebp - 0x360]
mov dword [esi + 8], eax
push dword [ebp - 0x370]
mov ecx, esi
call fcn.0053d2d0
push dword [ebp - 0x374]
mov ecx, esi
call fcn.0053d380
lea ecx, [ebp - 0x128]
call fcn.004075a0
lea ecx, [ebp - 0x140]
call fcn.004075a0
lea ecx, [ebp - 0x158]
call fcn.004075a0
lea ecx, [ebp - 0x170]
call fcn.004075a0
lea ecx, [ebp - 0x188]
call fcn.004075a0
lea ecx, [ebp - 0x1a0]
call fcn.004075a0
lea ecx, [ebp - 0x1b8]
call fcn.004075a0
lea ecx, [ebp - 0x1d0]
call fcn.004075a0
lea ecx, [ebp - 0x1e8]
call fcn.004075a0
lea ecx, [ebp - 0x200]
mov byte [ebp - 4], 2
call fcn.004075a0
jmp 0x529967
push 0x5fded8
call fcn.004a4cc0
add esp, 4
inc dword [ebp - 0x358]
lea ecx, [ebp - 0x384]
call fcn.004a59d0
mov esi, dword [ebp - 0x358]
cmp esi, eax
jb 0x529360
lea ecx, [ebp - 0x354]
mov bl, 1
call fcn.0040fb00
lea ecx, [ebp - 0x384]
call fcn.004a55b0
lea ecx, [ebp - 0x348]
call fcn.004a5090
mov al, bl
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.00553607
mov esp, ebp
pop ebp
ret