Function at 0x519be0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x735b9e
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x857060]
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 esi, ecx
mov dword [ebp - 0x248], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0x10]
mov ecx, eax
push 0
push 0x798f50
mov dword [ebp - 0x24c], eax
call fcn.00426e90
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
push 0
push 0x798f50
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00426e90
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00546f50
lea ecx, [ebp - 0x264]
call fcn.004d52c0
mov dword [ebp - 0x218], eax
mov byte [ebp - 4], 3
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x14]
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 0x220], eax
call dword [edx + 0x14]
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 0x224], eax
call dword [edx + 0x14]
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 0x228], eax
call dword [edx + 0x14]
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 0x22c], eax
call dword [edx + 0x14]
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 0x230], eax
call dword [edx + 0x14]
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 0x234], eax
call dword [edx + 0x14]
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 0x238], eax
call dword [edx + 0x14]
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 0x23c], eax
call dword [edx + 0x14]
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 0x240], eax
call dword [edx + 0x14]
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 0x244], eax
call dword [edx + 0x14]
mov edx, dword [esi]
mov ebx, eax
mov ecx, esi
call dword [edx + 0x14]
mov edx, dword [esi]
mov ecx, esi
mov edi, eax
call dword [edx + 0x14]
push dword [ebp - 0x218]
mov esi, eax
lea eax, [ebp - 0x40]
push eax
push 0
push 0
call fcn.004d5290
add esp, 8
push edx
push eax
push dword [ebp - 0x21c]
mov eax, dword [ebp - 0x220]
push dword [ebp - 0x214]
add eax, 0x198
push eax
mov eax, dword [ebp - 0x224]
add eax, 0x180
push eax
mov eax, dword [ebp - 0x228]
add eax, 0x90
push eax
mov eax, dword [ebp - 0x22c]
add eax, 0x78
push eax
mov eax, dword [ebp - 0x230]
add eax, 0xc0
push eax
mov eax, dword [ebp - 0x234]
add eax, 0xa8
push eax
mov eax, dword [ebp - 0x238]
add eax, 0x60
push eax
mov eax, dword [ebp - 0x23c]
add eax, 0x108
push eax
mov eax, dword [ebp - 0x240]
add eax, 0xf0
push eax
mov eax, dword [ebp - 0x244]
add eax, 0xd8
push eax
lea eax, [ebx + 0x30]
push eax
lea eax, [edi + 0x48]
push eax
lea eax, [esi + 0x18]
mov esi, dword [ebp - 0x248]
push eax
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x14]
push eax
lea ecx, [ebp - 0x210]
call fcn.0051cd40
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x250]
cmp edx, 0x10
jb 0x519e48
mov ecx, dword [ebp - 0x264]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x519e3e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x519f9d
push edx
push ecx
call fcn.006d0bf7
add esp, 8
lea eax, [ebp - 0x58]
mov dword [ebp - 0x254], 0
push eax
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x250], 0xf
mov byte [ebp - 0x264], 0
call fcn.0051cec0
test al, al
je 0x519ec7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
lea edx, [ebp - 0x28]
push edx
lea edx, [ebp - 0x58]
mov ecx, dword [eax + 0x1b4]
push edx
push dword [ebp - 0x214]
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
je 0x519ea5
mov ecx, eax
call fcn.00517860
mov esi, eax
jmp 0x519ecc
mov ecx, dword [ebp - 0x24c]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x519ec3
cmp dword [ebp - 0x14], 0x10
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00426e90
xor esi, esi
jmp 0x519ecc
mov esi, 4
lea ecx, [ebp - 0x210]
call fcn.00519fb0
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x519f0b
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x519f01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x519fa2
push edx
push ecx
call fcn.006d0bf7
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x519f3b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x519f31
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x519fa2
push edx
push ecx
call fcn.006d0bf7
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x519f7d
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x519f73
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x519fa2
push edx
push ecx
call fcn.006d0bf7
add esp, 8
mov eax, esi
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.006d0965
mov esp, ebp
pop ebp
ret 0xc
call fcn.006f1bea
call fcn.006f1bea
int3