Function at 0x56c370
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5e6700
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5fc7d0]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5fc7d0]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov edx, ecx
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x68]
lea edi, [edx + 0x24]
mov ecx, 0x40
mov eax, dword [ebx]
lea esi, [ebx + 0x24]
mov dword [edx], eax
mov ebp, dword [ebx]
mov eax, dword [ebx + 4]
add ebp, ebx
mov dword [edx + 4], eax
mov eax, dword [ebx + 8]
mov dword [edx + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [edx + 0xc], eax
lea eax, [ebx + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [eax]
mov dword [edx + 0x10], eax
lea eax, [ebx + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [eax]
mov dword [edx + 0x14], eax
lea eax, [ebx + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
mov dword [edx + 0x18], eax
mov eax, dword [ebx + 0x1c]
mov dword [edx + 0x1c], eax
lea eax, [ebx + 0x20]
add ebx, 0x124
mov dword [esp + 0x2c], eax
mov eax, dword [eax]
mov dword [edx + 0x20], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x28], ebx
rep movsd dword es:[edi], dword [esi]
cmp ebx, ebp
jbe 0x56c426
xor al, al
jmp 0x56c63a
mov ebp, dword [esp + 0x30]
xor esi, esi
xor edi, edi
mov ebx, edx
mov al, byte [esi + ebp]
test al, al
je 0x56c4d4
cmp al, 0x2c
jne 0x56c4c7
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
mov eax, esi
mov dword [esp + 0x60], 0
sub eax, edi
mov dword [esp + 0x38], 0x52f2f8
push eax
lea eax, [edi + ebp]
push eax
lea ecx, [esp + 0x40]
call fcn.005977d0
movzx eax, byte [0x6023f0]
lea ecx, [ebx + 0x124]
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x64], 1
push eax
push 0
lea eax, [esp + 0x3c]
push eax
call fcn.005602f0
inc edi
mov dword [esp + 0x60], 0xffffffff
add edi, esi
mov dword [esp + 0x38], 0x52f2f8
cmp dword [esp + 0x50], 0x10
jb 0x56c4c7
push dword [esp + 0x3c]
call fcn.005c40d3
add esp, 4
inc esi
cmp esi, 0x100
jb 0x56c430
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
push dword [esi]
lea ecx, [edi + 0x12c]
push ebx
call fcn.0054e280
add ebx, dword [esi]
mov ebp, dword [esp + 0x18]
cmp ebx, ebp
ja 0x56c41f
mov eax, dword [esp + 0x20]
xor esi, esi
cmp dword [eax], esi
jle 0x56c567
jmp 0x56c510
mov ebp, dword [edi + 0x150]
lea ecx, [edi + 0x150]
push ebx
push dword [ebp + 4]
push ebp
call fcn.005662d0
mov edx, eax
mov ecx, 0xccccccb
mov eax, dword [edi + 0x154]
sub ecx, eax
cmp ecx, 1
jb 0x56c65b
lea ecx, [eax + 1]
add ebx, 0xc
mov dword [edi + 0x154], ecx
mov dword [ebp + 4], edx
mov eax, dword [edx + 4]
mov ebp, dword [esp + 0x18]
mov dword [eax], edx
cmp ebx, ebp
ja 0x56c41f
mov eax, dword [esp + 0x20]
inc esi
cmp esi, dword [eax]
jl 0x56c510
mov eax, dword [esp + 0x24]
xor esi, esi
cmp dword [eax], esi
jle 0x56c5c8
mov ebp, dword [edi + 0x158]
lea ecx, [edi + 0x158]
push ebx
push dword [ebp + 4]
push ebp
call fcn.005662d0
mov edx, eax
mov ecx, 0xccccccb
mov eax, dword [edi + 0x15c]
sub ecx, eax
cmp ecx, 1
jb 0x56c65b
lea ecx, [eax + 1]
add ebx, 0xc
mov dword [edi + 0x15c], ecx
mov dword [ebp + 4], edx
mov eax, dword [edx + 4]
mov ebp, dword [esp + 0x18]
mov dword [eax], edx
cmp ebx, ebp
ja 0x56c41f
mov eax, dword [esp + 0x24]
inc esi
cmp esi, dword [eax]
jl 0x56c571
mov eax, dword [esp + 0x1c]
xor esi, esi
cmp dword [eax], esi
jle 0x56c633
mov edi, dword [esp + 0x14]
jmp 0x56c5e0
mov ebp, dword [edi + 0x160]
lea ecx, [edi + 0x160]
push ebx
push dword [ebp + 4]
push ebp
call fcn.005662d0
mov edx, eax
mov ecx, 0xccccccb
mov eax, dword [edi + 0x164]
sub ecx, eax
cmp ecx, 1
jb 0x56c65b
lea ecx, [eax + 1]
add ebx, 0xc
mov dword [edi + 0x164], ecx
mov dword [ebp + 4], edx
mov eax, dword [edx + 4]
mov ebp, dword [esp + 0x18]
mov dword [eax], edx
cmp ebx, ebp
ja 0x56c41f
mov eax, dword [esp + 0x1c]
inc esi
cmp esi, dword [eax]
jl 0x56c5e0
xor eax, eax
cmp ebx, ebp
sete al
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.005c4b26
add esp, 0x50
ret 4
push 0x52f648
call fcn.005c36d7
int3