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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x56c0e3
sub esp, 0x6c
lea edi, [esp + 0x7c]
xor eax, eax
call fcn.00465fe7
lea edi, [esp + 0x48]
call fcn.00465fe7
mov ecx, dword [esp + 0x74]
cmp ecx, 0xc
jl 0x56bf2b
mov edx, dword [esp + 0x70]
movzx ebx, byte [edx + 3]
movzx ebp, byte [edx + 2]
shl ebp, 8
or ebx, ebp
movzx ebp, byte [edx + 1]
shl ebp, 0x10
or ebx, ebp
movzx ebp, byte [edx]
shl ebp, 0x18
or ebp, ebx
mov dword [esp + 0x48], ebp
lea ebx, [ecx - 4]
cmp ebx, 3
jbe 0x56c0d6
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 ebx, ebp
movzx ebp, byte [edx + 4]
shl ebp, 0x18
or ebp, ebx
mov dword [esp + 0x4c], ebp
lea ebx, [ecx - 8]
cmp ebx, 3
jbe 0x56c0ca
movzx eax, byte [edx + 0xb]
movzx ebx, byte [edx + 0xa]
shl ebx, 8
or eax, ebx
movzx ebx, byte [edx + 9]
shl ebx, 0x10
or eax, ebx
movzx ebx, byte [edx + 8]
shl ebx, 0x18
or ebx, eax
mov dword [esp + 0x50], ebx
mov eax, ebx
shl ebx, 2
add ebx, 0xc
cmp ecx, ebx
jl 0x56be6b
mov dword [esp + 0x24], eax
lea ecx, [0x6b3fa0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044bce0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
xor ebp, ebp
jmp 0x56bfe4
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp], ebx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
lea eax, [0x70130a]
mov dword [esp], eax
mov dword [esp + 4], 0x2e
lea eax, [esp + 0x38]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
lea edi, [esp + 0x7c]
lea esi, [esp + 0x48]
call fcn.004664a6
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xa8], eax
add esp, 0x6c
ret
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp], ecx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
lea eax, [0x701338]
mov dword [esp], eax
mov dword [esp + 4], 0x2e
lea eax, [esp + 0x30]
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 + 0x2c], ecx
lea edi, [esp + 0x7c]
lea esi, [esp + 0x48]
call fcn.004664a6
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xa8], eax
add esp, 0x6c
ret
mov edx, dword [esp + 0x28]
lea edx, [edx + esi*4 + 2]
mov ebx, dword [esp + 0x1c]
movzx ebp, byte [ecx + ebx + 3]
movzx ebx, byte [ecx + ebx + 2]
shl ebx, 8
or ebp, ebx
mov word [edx], bp
lea ebp, [esi + 1]
mov ebx, dword [esp + 0x78]
mov edx, edi
cmp ebp, eax
jge 0x56c066
mov esi, ebp
shl ebp, 2
mov edi, ebx
lea ebx, [ebp + 0xc]
cmp edx, ebx
jb 0x56c0c1
mov edx, dword [esp + 0x54]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x20], edx
sub edi, ebp
lea edx, [edi - 0xc]
neg edx
sar edx, 0x1f
and edx, ebx
mov ebx, dword [esp + 0x74]
mov edi, ebx
sub ebx, ebp
mov ebp, dword [esp + 0x20]
cmp esi, ebp
jae 0x56c0b8
lea ebp, [ebx - 0xc]
cmp ebp, 3
jbe 0x56c0ac
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], edx
mov ebp, dword [esp + 0x28]
lea ebp, [ebp + esi*4]
movzx ebx, byte [ecx + edx + 1]
movzx edx, byte [ecx + edx]
shl edx, 8
or ebx, edx
mov word [ebp], bx
mov edx, dword [esp + 0x20]
add edx, 0xfffffff2
cmp edx, 1
ja 0x56bfbd
jmp 0x56c0a0
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ebx
lea edi, [esp + 0x7c]
lea esi, [esp + 0x48]
call fcn.004664a6
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
add esp, 0x6c
ret
mov eax, 1
mov ecx, edx
call fcn.00465e00
mov eax, 3
mov ecx, ebp
call fcn.00465e00
mov eax, esi
mov ecx, ebp
call fcn.00465e00
mov eax, ebx
mov ecx, edx
call fcn.00465e60
mov eax, 3
mov ecx, ebx
call fcn.00465e00
mov eax, 3
mov ecx, ebx
call fcn.00465e00
nop
call fcn.004649b0
jmp fcn.0056bd60