Function at 0x566000
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63c888
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x6db1a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov esi, dword [ebp + 8]
mov eax, dword [ebx + 0x50]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x6c]
lea eax, [ebx + 0x60]
push eax
call fcn.004fb710
lea eax, [ebx + 0x58]
push eax
lea ecx, [esi + 0x18]
call fcn.004fb710
mov eax, dword [ebx + 0x16c]
lea ecx, [esi + 0x40]
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0x170]
mov dword [esi + 0x20], eax
mov eax, dword [ebx + 0x184]
mov dword [esi + 0x24], eax
mov eax, dword [ebx + 0x188]
mov dword [esi + 0x28], eax
mov eax, dword [ebx + 0x18c]
mov dword [esi + 0x2c], eax
mov eax, dword [ebx + 0x1f4]
mov dword [esi + 0x30], eax
lea eax, [ebx + 0x5c]
movsd xmm0, qword [ebx + 0x1f8]
push eax
movsd qword [esi + 0x38], xmm0
call fcn.004fb710
mov eax, dword [ebx + 0x174]
lea edi, [esi + 0x74]
mov dword [esi + 0x44], eax
mov eax, dword [ebx + 0x178]
mov dword [esi + 0x48], eax
mov eax, dword [ebx + 0x194]
mov dword [esi + 0x4c], eax
mov eax, dword [ebx + 0x198]
mov dword [esi + 0x50], eax
mov eax, dword [ebx + 0x19c]
mov dword [esi + 0x54], eax
mov eax, dword [ebx + 0x204]
mov dword [esi + 0x58], eax
movsd xmm0, qword [ebx + 0x208]
movsd qword [esi + 0x60], xmm0
mov eax, dword [ebx + 0x21f4]
mov dword [esi + 0x68], eax
lea eax, [ebx + 0x1a8]
mov dword [ebp - 0x20], eax
sub ebx, 0xffffff80
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], 5
mov esi, dword [ebx]
cmp dword [esi - 0xc], 0
lea eax, [esi - 0xc]
mov dword [ebp - 0x1c], esi
jl 0x566118
mov dword [ebp - 0x18], esi
lock inc dword [eax]
jmp 0x56613f
mov eax, dword [0x6ce014]
mov dword [ebp - 0x18], eax
test esi, esi
jne 0x566128
xor eax, eax
jmp 0x56612f
push esi
call dword [0x64c2e4]
push esi
push eax
lea ecx, [ebp - 0x18]
call fcn.004fccc0
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x1c], esi
cmp dword [esi - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
je 0x566212
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x21f8]
cmp eax, dword [ecx + 0x21fc]
je 0x566212
lea eax, [ebp - 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [0x6ce014]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x10]
call fcn.004fb710
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0
mov esi, dword [eax + 0x21f8]
mov eax, dword [eax + 0x21fc]
cmp esi, eax
je 0x5661cc
mov edi, eax
nop word [eax + eax]
push dword [ebp - 0x10]
push dword [esi + 4]
call fcn.005c7bde
add esp, 8
test eax, eax
je 0x5661c9
add esi, 0x10
cmp esi, edi
jne 0x5661b0
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x6ce010]
je 0x5661f8
lea ecx, [eax - 0xc]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x5661f8
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff4
push eax
call fcn.005b9a8a
add esp, 4
mov eax, dword [ebp - 0x14]
cmp esi, dword [eax + 0x21fc]
je 0x56620f
mov eax, dword [esi + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x28], eax
mov esi, dword [ebp - 0x1c]
mov edx, dword [edi - 4]
lea ecx, [edi - 4]
mov eax, dword [ebx]
cmp edx, eax
je 0x566285
cmp dword [edx - 0xc], 0
lea esi, [edx - 0xc]
mov dword [ebp - 0x34], esi
mov esi, dword [ebp - 0x1c]
jge 0x56623a
add edx, 0xfffffff4
cmp edx, dword [0x6ce010]
jne 0x566243
jmp 0x56623d
add edx, 0xfffffff4
cmp dword [eax - 0xc], 0
jge 0x56624e
push eax
push dword [eax - 8]
call fcn.004fccc0
jmp 0x566285
cmp edx, dword [0x6ce010]
je 0x56627f
mov edx, dword [ebp - 0x34]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x566276
mov eax, dword [ecx]
sub eax, 0xc
push eax
call fcn.005b9a8a
add esp, 4
lea ecx, [edi - 4]
mov eax, dword [0x6ce014]
mov dword [ecx], eax
mov eax, dword [ebx]
mov dword [ecx], eax
lock inc dword [eax - 0xc]
mov ecx, dword [edi]
mov eax, dword [ebx + 4]
cmp ecx, eax
je 0x5662e6
lea edx, [ecx - 0xc]
add ecx, 0xfffffff4
cmp dword [edx], 0
jge 0x5662a1
cmp ecx, dword [0x6ce010]
jne 0x5662a7
cmp dword [eax - 0xc], 0
jge 0x5662b4
push eax
push dword [eax - 8]
mov ecx, edi
call fcn.004fccc0
jmp 0x5662e6
cmp ecx, dword [0x6ce010]
je 0x5662e0
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x5662d6
mov eax, dword [edi]
sub eax, 0xc
push eax
call fcn.005b9a8a
add esp, 4
mov eax, dword [0x6ce014]
mov dword [edi], eax
mov eax, dword [ebx + 4]
mov dword [edi], eax
lock inc dword [eax - 0xc]
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x20]
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x18]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x20]
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 0x24]
mov dword [edi + 0x1c], eax
mov eax, dword [ebx + 0x28]
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [ebp - 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [ecx - 4]
mov dword [edi + 0x2c], eax
mov eax, dword [ecx]
mov dword [edi + 0x30], eax
mov eax, dword [ecx + 4]
mov dword [edi + 0x34], eax
mov eax, dword [ecx + 0x6c]
mov dword [edi + 0x3c], eax
lea eax, [esi - 0xc]
movsd xmm0, qword [ecx + 0x70]
movsd qword [edi + 0x44], xmm0
mov dword [ebp - 4], 0xffffffff
cmp eax, dword [0x6ce010]
je 0x566373
add esi, 0xfffffff4
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x566373
push esi
call fcn.005b9a8a
mov ecx, dword [ebp - 0x20]
add esp, 4
add ecx, 0x10
add edi, 0x50
add ebx, 0x30
mov dword [ebp - 0x20], ecx
sub dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], edi
jne 0x566102
mov ebx, dword [ebp + 8]
add ebx, 0x200
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
cmp esi, edi
je 0x5663b0
nop
mov ecx, esi
call fcn.0055d890
add esi, 0x20
cmp esi, edi
jne 0x5663a0
mov esi, dword [ebx]
mov eax, dword [ebp - 0x14]
mov dword [ebx + 4], esi
mov esi, dword [eax + 0x26c]
cmp esi, dword [eax + 0x270]
je 0x566550
nop dword [eax + eax]
mov edi, dword [0x6ce014]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [esi + 8]
mov dword [ebp - 4], 2
mov dword [ebp - 0x50], eax
cmp edi, ecx
je 0x566459
cmp dword [edi - 0xc], 0
lea edx, [edi - 0xc]
jge 0x566418
lea eax, [edi - 0xc]
cmp eax, dword [0x6ce010]
jne 0x56641e
cmp dword [ecx - 0xc], 0
jge 0x56642f
push ecx
push dword [ecx - 8]
lea ecx, [ebp - 0x4c]
call fcn.004fccc0
mov edi, dword [ebp - 0x48]
jmp 0x566459
lea eax, [edi - 0xc]
cmp eax, dword [0x6ce010]
je 0x56644f
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x56644f
push edx
call fcn.005b9a8a
add esp, 4
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x4c], eax
lock inc dword [eax - 0xc]
mov ecx, dword [esi + 0x10]
cmp edi, ecx
je 0x5664b2
cmp dword [edi - 0xc], 0
lea edx, [edi - 0xc]
jge 0x566474
lea eax, [edi - 0xc]
cmp eax, dword [0x6ce010]
jne 0x56647a
cmp dword [ecx - 0xc], 0
jge 0x566488
push ecx
push dword [ecx - 8]
lea ecx, [ebp - 0x48]
call fcn.004fccc0
jmp 0x5664b2
lea eax, [edi - 0xc]
cmp eax, dword [0x6ce010]
je 0x5664a8
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x5664a8
push edx
call fcn.005b9a8a
add esp, 4
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x48], eax
lock inc dword [eax - 0xc]
mov eax, dword [esi + 0x14]
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 4]
push ecx
cmp dword [ebx + 8], eax
je 0x5664e3
mov ecx, eax
call fcn.0055c3d0
add dword [ebx + 4], 0x20
jmp 0x5664eb
push eax
mov ecx, ebx
call fcn.0055a4e0
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
lea eax, [ecx - 0xc]
cmp eax, dword [0x6ce010]
je 0x566518
add ecx, 0xfffffff4
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x566518
push ecx
call fcn.005b9a8a
add esp, 4
mov ecx, dword [ebp - 0x4c]
lea eax, [ecx - 0xc]
cmp eax, dword [0x6ce010]
je 0x56653e
add ecx, 0xfffffff4
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x56653e
push ecx
call fcn.005b9a8a
add esp, 4
mov eax, dword [ebp - 0x14]
add esi, 0x24
cmp esi, dword [eax + 0x270]
jne 0x5663d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4