Function at 0x518fa0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x735b41
mov eax, dword fs:[0]
push eax
sub esp, 0x264
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 - 0x22c], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 3
mov eax, dword [esi]
push ecx
lea ecx, [ebp - 0x70]
push ecx
mov ecx, esi
call dword [eax]
lea ecx, [ebp - 0x270]
call fcn.004d52c0
mov dword [ebp - 0x228], eax
mov byte [ebp - 4], 4
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x14]
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 0x254], eax
call dword [edx + 0x14]
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 0x250], eax
call dword [edx + 0x14]
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 0x24c], eax
call dword [edx + 0x14]
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 0x248], 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 ecx, esi
mov dword [ebp - 0x240], 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 - 0x238], eax
call dword [edx + 0x14]
mov edx, dword [esi]
mov ecx, esi
mov ebx, eax
call dword [edx + 0x14]
mov edx, dword [esi]
mov ecx, esi
mov edi, eax
call dword [edx + 0x14]
mov ecx, dword [ebp - 0x22c]
mov esi, eax
mov edx, dword [ecx]
call dword [edx + 0x14]
push eax
lea ecx, [ebp - 0x220]
call fcn.00449340
lea eax, [esi + 0x18]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x208]
call fcn.00449340
lea eax, [edi + 0x30]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x1f0]
call fcn.00449340
lea eax, [ebx + 0x48]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x1d8]
call fcn.00449340
push dword [ebp - 0x230]
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 8
call fcn.00449340
push dword [ebp - 0x234]
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 9
call fcn.00449340
mov eax, dword [ebp - 0x238]
lea ecx, [ebp - 0x190]
add eax, 0xd8
mov byte [ebp - 4], 0xa
push eax
call fcn.00449340
mov eax, dword [ebp - 0x23c]
lea ecx, [ebp - 0x178]
add eax, 0x60
mov byte [ebp - 4], 0xb
push eax
call fcn.00449340
mov eax, dword [ebp - 0x240]
lea ecx, [ebp - 0x160]
add eax, 0xa8
mov byte [ebp - 4], 0xc
push eax
call fcn.00449340
mov eax, dword [ebp - 0x244]
lea ecx, [ebp - 0x148]
add eax, 0xf0
mov byte [ebp - 4], 0xd
push eax
call fcn.00449340
mov eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x130]
add eax, 0x108
mov byte [ebp - 4], 0xe
push eax
call fcn.00449340
mov eax, dword [ebp - 0x24c]
lea ecx, [ebp - 0x118]
add eax, 0xc0
mov byte [ebp - 4], 0xf
push eax
call fcn.00449340
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x100]
add eax, 0x78
mov byte [ebp - 4], 0x10
push eax
call fcn.00449340
mov eax, dword [ebp - 0x254]
lea ecx, [ebp - 0xe8]
add eax, 0x90
mov byte [ebp - 4], 0x11
push eax
call fcn.00449340
push dword [ebp - 0x228]
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x12
call fcn.00449340
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x25c]
cmp edx, 0x10
jb 0x51929a
mov ecx, dword [ebp - 0x270]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x519290
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x519707
push edx
push ecx
call fcn.006d0bf7
add esp, 8
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x260], 0
push eax
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x25c], 0xf
mov byte [ebp - 0x270], 0
call fcn.0051d9b0
test al, al
je 0x5195c9
xor eax, eax
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
mov ebx, dword [ebp - 0x22c]
mov ecx, ebx
mov byte [ebp - 4], 0x17
mov eax, dword [ebx]
call dword [eax + 0x14]
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x70]
mov edi, dword [eax + 0x1b0]
push ecx
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 8]
mov byte [ebp - 0x221], 0
test eax, eax
je 0x519358
mov eax, dword [edi]
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x221], 1
push ecx
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x70]
push ecx
mov ecx, edi
call dword [eax + 0x10]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov esi, dword [eax + 0x1b4]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xa0]
push eax
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00449340
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov esi, eax
cmp esi, 2
jne 0x519457
cmp byte [ebp - 0x221], 0
jne 0x51945f
push 0x87e088
call fcn.006c0175
add esp, 4
test eax, eax
jne 0x51970c
push 0x87e088
mov byte [ebp - 4], 0x18
call fcn.006c019a
add esp, 4
test eax, eax
jne 0x519712
mov byte [ebp - 4], 0x17
mov eax, 0x865098
cmp dword [0x8650ac], 0x10
mov ecx, 0x867d80
push dword [0x8650a8]
cmovae eax, dword [0x865098]
cmp dword [0x867d94], 0x10
mov edx, dword [0x867d90]
cmovae ecx, dword [0x867d80]
push eax
call fcn.00450330
add esp, 8
test al, al
jne 0x51945f
mov eax, dword [edi]
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x70]
push ecx
mov ecx, edi
call dword [eax + 0x10]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov esi, dword [eax + 0x1b4]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xa0]
push eax
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00449340
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov esi, eax
test esi, esi
je 0x519504
mov ecx, esi
call fcn.00517860
mov edx, dword [ebp - 0x2c]
mov esi, eax
cmp edx, 0x10
jb 0x51949c
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x519492
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x519718
push edx
push ecx
call fcn.006d0bf7
add esp, 8
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x5194e2
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5194d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x519718
push edx
push ecx
call fcn.006d0bf7
add esp, 8
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00426ce0
jmp 0x5195ce
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x51953c
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x519532
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x519718
push edx
push ecx
call fcn.006d0bf7
add esp, 8
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x519586
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51957c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x519718
push edx
push ecx
call fcn.006d0bf7
add esp, 8
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0x14
call fcn.00426ce0
mov ecx, dword [ebp - 0x258]
lea eax, [ebp - 0x58]
cmp ecx, eax
je 0x5195c5
cmp dword [ebp - 0x44], 0x10
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.00426e90
xor esi, esi
jmp 0x5195ce
mov esi, 4
lea ecx, [ebp - 0x220]
call fcn.00519730
mov edx, dword [ebp - 0x74]
cmp edx, 0x10
jb 0x519610
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x519606
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51971d
push edx
push ecx
call fcn.006d0bf7
add esp, 8
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
cmp edx, 0x10
jb 0x519659
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51964f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51971d
push edx
push ecx
call fcn.006d0bf7
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
cmp edx, 0x10
jb 0x51969f
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x519695
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51971d
push edx
push ecx
call fcn.006d0bf7
add esp, 8
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp edx, 0x10
jb 0x5196e7
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5196dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51971d
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
push eax
call fcn.006c0703
push eax
call fcn.006c0703
call fcn.006f1bea
call fcn.006f1bea
int3