Function at 0x57c7e0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x17c]
cmp eax, dword [ecx + 8]
jbe 0x57ce1e
sub esp, 0x1fc
mov dword [esp + 0x20c], 0
mov dword [esp + 0x210], 0
mov dword [esp + 0x214], 0
mov dword [esp + 0x218], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov edx, dword [esp + 0x204]
cmp edx, 8
jl 0x57cd7b
mov ebx, dword [esp + 0x200]
movzx ebp, byte [ebx + 3]
movzx esi, byte [ebx + 2]
shl esi, 8
or ebp, esi
movzx esi, byte [ebx + 1]
shl esi, 0x10
or esi, ebp
movzx ebp, byte [ebx]
shl ebp, 0x18
or ebp, esi
mov dword [esp + 0x6c], ebp
movzx ebp, byte [ebx + 4]
xchg ebp, eax
mov byte [esp + 0x70], al
xchg ebp, eax
movzx ebp, byte [ebx + 5]
xchg ebp, eax
mov byte [esp + 0x71], al
xchg ebp, eax
lea ecx, [edx - 6]
cmp ecx, 1
jbe 0x57ce13
movzx ecx, byte [ebx + 7]
movzx ebp, byte [ebx + 6]
shl ebp, 8
or ecx, ebp
mov word [esp + 0x72], cx
movzx ecx, byte [esp + 0x71]
cmp cl, 1
ja 0x57ca16
test cl, cl
jne 0x57c970
lea edi, [esp + 0x90]
xor eax, eax
call fcn.00465feb
mov ecx, dword [esp + 0x208]
lea ebp, [ecx - 8]
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 8
add ebp, ebx
mov dword [esp], ebp
lea ebp, [edx - 8]
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
call fcn.0057d550
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x5c], edx
lea edi, [esp + 0x90]
lea esi, [esp + 0xc]
call fcn.004664ce
lea edi, [esp + 0x7c]
lea esi, [esp + 0x90]
call fcn.004664ce
lea ecx, [0x6cf320]
mov dword [esp], ecx
lea ecx, [esp + 0x7c]
mov dword [esp + 4], ecx
call fcn.004095e0
mov ecx, dword [esp + 8]
lea edx, [0x785c00]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
jmp 0x57cbe2
lea edi, [esp + 0x17c]
xor eax, eax
call fcn.00465fe0
mov ecx, dword [esp + 0x208]
lea ebp, [ecx - 8]
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 8
add ebp, ebx
mov dword [esp], ebp
lea ebp, [edx - 8]
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
call fcn.0057d900
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x5c], edx
lea edi, [esp + 0x17c]
lea esi, [esp + 0xc]
call fcn.00466460
lea edi, [esp + 0x1bc]
lea esi, [esp + 0x17c]
call fcn.00466460
lea ecx, [0x6c8100]
mov dword [esp], ecx
lea ecx, [esp + 0x1bc]
mov dword [esp + 4], ecx
call fcn.004095e0
mov ecx, dword [esp + 8]
lea edx, [0x785c14]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
jmp 0x57cbe2
cmp cl, 2
je 0x57cb35
cmp cl, 3
jne 0x57cace
lea edi, [esp + 0x10c]
xor eax, eax
call fcn.00465fe2
mov ecx, dword [esp + 0x208]
lea ebp, [ecx - 8]
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 8
add ebp, ebx
mov dword [esp], ebp
lea ebp, [edx - 8]
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
call fcn.0057e1c0
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x5c], edx
lea edi, [esp + 0x10c]
lea esi, [esp + 0xc]
call fcn.00466474
lea edi, [esp + 0x144]
lea esi, [esp + 0x10c]
call fcn.00466474
lea ecx, [0x6d7d40]
mov dword [esp], ecx
lea ecx, [esp + 0x144]
mov dword [esp + 4], ecx
call fcn.004095e0
mov ecx, dword [esp + 8]
lea edx, [0x785c3c]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
jmp 0x57cbe2
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
movzx eax, byte [esp + 0x71]
lea ecx, [0x69b200]
mov dword [esp + 0x64], ecx
lea ecx, [0x934160]
lea eax, [ecx + eax*8]
mov dword [esp + 0x68], eax
lea eax, [0x6fbf31]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
lea eax, [esp + 0x64]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
jmp 0x57cbe2
lea edi, [esp + 0xa4]
xor eax, eax
call fcn.00465fe3
mov ecx, dword [esp + 0x208]
lea ebp, [ecx - 8]
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 8
add ebp, ebx
mov dword [esp], ebp
lea ebp, [edx - 8]
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
call fcn.0057dc50
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x5c], edx
lea edi, [esp + 0xa4]
lea esi, [esp + 0x18]
call fcn.0046647e
lea edi, [esp + 0xd8]
lea esi, [esp + 0xa4]
call fcn.0046647e
lea ecx, [0x6cf3c0]
mov dword [esp], ecx
lea ecx, [esp + 0xd8]
mov dword [esp + 4], ecx
call fcn.004095e0
mov ecx, dword [esp + 8]
lea edx, [0x785c28]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
test ecx, ecx
je 0x57cc75
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
je 0x57cbff
mov ecx, dword [ecx + 4]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
lea eax, [0x6fd10a]
mov dword [esp], eax
mov dword [esp + 4], 0x21
lea eax, [esp + 0x64]
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 + 0x60], ecx
lea edi, [esp + 0x20c]
lea esi, [esp + 0x6c]
call fcn.004664d8
mov dword [esp + 0x21c], 0
mov dword [esp + 0x220], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x224], eax
add esp, 0x1fc
ret
lea eax, [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x200]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x204]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x208]
mov dword [esp + 0xc], ecx
call fcn.0057f150
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test ecx, ecx
je 0x57cd47
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
test edx, edx
je 0x57ccd1
mov edx, dword [edx + 4]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ebx
lea eax, [0x6fd10a]
mov dword [esp], eax
mov dword [esp + 4], 0x21
lea eax, [esp + 0x64]
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 + 0x60], ecx
lea edi, [esp + 0x20c]
lea esi, [esp + 0x6c]
call fcn.004664d8
mov dword [esp + 0x21c], 0
mov dword [esp + 0x220], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x224], eax
add esp, 0x1fc
ret
lea edi, [esp + 0x20c]
lea esi, [esp + 0x6c]
call fcn.004664d8
mov dword [esp + 0x21c], eax
mov dword [esp + 0x220], 0
mov dword [esp + 0x224], 0
add esp, 0x1fc
ret
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp], edx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
lea eax, [0x706acc]
mov dword [esp], eax
mov dword [esp + 4], 0x3e
lea eax, [esp + 0x64]
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 + 0x60], ecx
lea edi, [esp + 0x20c]
lea esi, [esp + 0x6c]
call fcn.004664d8
mov dword [esp + 0x21c], 0
mov dword [esp + 0x220], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x224], eax
add esp, 0x1fc
ret
mov eax, 1
call fcn.00465e00
nop
call fcn.004649b0
jmp fcn.0057c7e0