Function at 0x51c1b0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62f082
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x6ec7c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
lea eax, [ebp + 8]
mov dword [ebp - 4], 6
push eax
call fcn.004146c0
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 7
push eax
lea ecx, [esi + 0x18]
call fcn.004146c0
lea eax, [ebp + 0x38]
mov byte [ebp - 4], 8
push eax
lea ecx, [esi + 0x30]
call fcn.004146c0
lea eax, [ebp + 0x50]
mov byte [ebp - 4], 9
push eax
lea ecx, [esi + 0x48]
call fcn.004146c0
lea eax, [ebp + 0x68]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [esi + 0x60]
call fcn.004146c0
lea eax, [ebp + 0x80]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [esi + 0x78]
call fcn.004146c0
lea eax, [ebp + 0x98]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [esi + 0x90]
call fcn.004146c0
mov ecx, dword [ebp + 0x1c]
cmp ecx, 7
jbe 0x51c291
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x51c287
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51c468
push ecx
push edx
call fcn.00604b8c
add esp, 8
mov ecx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp ecx, 7
jbe 0x51c2df
mov edx, dword [ebp + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x51c2d5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51c468
push ecx
push edx
call fcn.00604b8c
add esp, 8
mov ecx, dword [ebp + 0x4c]
xor eax, eax
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 7
mov word [ebp + 0x20], ax
cmp ecx, 7
jbe 0x51c32d
mov edx, dword [ebp + 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x51c323
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51c468
push ecx
push edx
call fcn.00604b8c
add esp, 8
mov ecx, dword [ebp + 0x64]
xor eax, eax
mov dword [ebp + 0x48], 0
mov dword [ebp + 0x4c], 7
mov word [ebp + 0x38], ax
cmp ecx, 7
jbe 0x51c37b
mov edx, dword [ebp + 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x51c371
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51c468
push ecx
push edx
call fcn.00604b8c
add esp, 8
mov ecx, dword [ebp + 0x7c]
xor eax, eax
mov dword [ebp + 0x60], 0
mov dword [ebp + 0x64], 7
mov word [ebp + 0x50], ax
cmp ecx, 7
jbe 0x51c3c9
mov edx, dword [ebp + 0x68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x51c3bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51c468
push ecx
push edx
call fcn.00604b8c
add esp, 8
mov ecx, dword [ebp + 0x94]
xor eax, eax
mov dword [ebp + 0x78], 0
mov dword [ebp + 0x7c], 7
mov word [ebp + 0x68], ax
cmp ecx, 7
jbe 0x51c419
mov edx, dword [ebp + 0x80]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x51c40f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51c468
push ecx
push edx
call fcn.00604b8c
add esp, 8
mov ecx, dword [ebp + 0xac]
xor eax, eax
mov dword [ebp + 0x90], 0
mov dword [ebp + 0x94], 7
mov word [ebp + 0x80], ax
cmp ecx, 7
jbe 0x51c478
mov edx, dword [ebp + 0x98]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x51c46e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x51c46e
call dword [0x63e2e0]
push ecx
push edx
call fcn.00604b8c
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xa8