Function at 0x56c0f0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x48]
cmp eax, dword [ecx + 8]
jbe 0x56c49a
sub esp, 0xc8
lea edi, [esp + 0xdc]
xor eax, eax
call fcn.00465feb
lea edi, [esp + 0x64]
call fcn.00465feb
mov ecx, dword [esp + 0xd0]
cmp ecx, 8
jl 0x56c1c0
mov edx, dword [esp + 0xcc]
movzx ebx, byte [edx + 1]
movzx ebp, byte [edx]
shl ebp, 8
or ebx, ebp
mov word [esp + 0x64], bx
lea ebx, [ecx - 2]
cmp ebx, 1
jbe 0x56c48d
movzx ebx, byte [edx + 3]
movzx ebp, byte [edx + 2]
shl ebp, 8
or ebx, ebp
mov word [esp + 0x66], bx
lea ebx, [ecx - 4]
cmp ebx, 3
jbe 0x56c481
movzx ebx, byte [edx + 7]
movzx ebp, byte [edx + 6]
shl ebp, 8
or ebx, ebp
movzx ebp, byte [edx + 5]
shl ebp, 0x10
or ebp, ebx
movzx ebx, byte [edx + 4]
shl ebx, 0x18
or ebx, ebp
mov dword [esp + 0x44], ebx
mov dword [esp + 0x68], ebx
mov ebp, dword [esp + 0xd4]
mov esi, dword [esp + 0xd8]
xor edi, edi
mov eax, 8
mov dword [esp + 0x50], eax
xor eax, eax
jmp 0x56c28c
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp], ecx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
lea eax, [0x700b07]
mov dword [esp], eax
mov dword [esp + 4], 0x2d
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x58], ecx
lea edi, [esp + 0xdc]
lea esi, [esp + 0x64]
call fcn.004664ce
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xf8], eax
add esp, 0xc8
ret
mov eax, dword [esp + 0x54]
lea edi, [eax + 1]
mov ebp, dword [esp + 0xd4]
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0xd8]
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0xd0]
xor eax, eax
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0xcc]
cmp edi, ebx
jge 0x56c442
mov ebx, dword [esp + 0x50]
cmp ecx, ebx
jb 0x56c47a
mov dword [esp + 0x54], edi
lea edi, [esp + 0xa0]
call fcn.00465fe6
sub ebp, ebx
mov edi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, ebx
add ebp, edx
mov dword [esp], ebp
mov ebp, dword [esp + 0xd0]
sub ebp, ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
call fcn.0056c4b0
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
lea edi, [esp + 0xa0]
lea esi, [esp + 0x10]
call fcn.0046649c
lea edi, [esp + 0x78]
lea esi, [esp + 0xa0]
call fcn.0046649c
test edx, edx
jne 0x56c3b5
mov ecx, dword [esp + 0x70]
inc ecx
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x74]
cmp ebx, ecx
jae 0x56c361
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x6ce4c0]
mov dword [esp + 0x10], eax
call fcn.0044be60
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], ecx
lea ecx, [ecx + ecx*4]
lea edi, [edx + ecx*8 - 0x28]
mov ecx, dword [0x1eaa9f0]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x48]
add edx, ebx
test ecx, ecx
jne 0x56c38e
lea esi, [esp + 0x78]
call fcn.0046649c
jmp 0x56c258
mov dword [esp + 0x4c], edx
lea eax, [0x6ce4c0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
call fcn.004115f0
mov edx, dword [esp + 0x4c]
jmp 0x56c258
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
test ebx, ebx
je 0x56c3cc
mov ebx, dword [ebx + 4]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebp
lea eax, [0x6f3f0f]
mov dword [esp], eax
mov dword [esp + 4], 0x10
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x58], ecx
lea edi, [esp + 0xdc]
lea esi, [esp + 0x64]
call fcn.004664ce
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xf8], eax
add esp, 0xc8
ret
lea edi, [esp + 0xdc]
lea esi, [esp + 0x64]
call fcn.004664ce
mov eax, dword [esp + 0x50]
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
add esp, 0xc8
ret
mov eax, ebx
call fcn.00465e60
mov eax, 3
mov ecx, ebx
call fcn.00465e00
mov eax, 1
mov ecx, ebx
call fcn.00465e00
nop
call fcn.004649b0
jmp fcn.0056c0f0