Function at 0x579e70
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x57a200
sub esp, 0x60
lea edi, [esp + 0x70]
xor eax, eax
call fcn.00465fea
lea edi, [esp + 0x48]
call fcn.00465fea
mov ecx, dword [esp + 0x68]
cmp ecx, 2
jl 0x579fcb
mov eax, dword [esp + 0x64]
movzx edx, byte [eax + 1]
movzx ebx, byte [eax]
shl ebx, 8
or edx, ebx
movzx edx, dx
lea ebx, [edx + edx*2]
shl ebx, 2
add ebx, 2
cmp ecx, ebx
jl 0x579f0b
mov dword [esp + 0x20], edx
lea eax, [0x6c4480]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.0044bce0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x64]
xor ebp, ebp
jmp 0x57a095
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 + 0x68]
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, [0x705e58]
mov dword [esp], eax
mov dword [esp + 4], 0x39
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 + 0x70]
lea esi, [esp + 0x48]
call fcn.004664c4
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x90], eax
add esp, 0x60
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, [0x705897]
mov dword [esp], eax
mov dword [esp + 4], 0x38
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 + 0x70]
lea esi, [esp + 0x48]
call fcn.004664c4
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x90], eax
add esp, 0x60
ret
movzx ecx, byte [esi + edx + 0xb]
movzx ebp, byte [esi + edx + 0xa]
shl ebp, 8
or ecx, ebp
movzx ebp, byte [esi + edx + 9]
shl ebp, 0x10
or ecx, ebp
movzx edx, byte [esi + edx + 8]
shl edx, 0x18
or edx, ecx
mov dword [ebx + edi*4 + 8], edx
mov ecx, dword [esp + 0x1c]
lea ebp, [ecx + 1]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
mov ebx, esi
cmp ebp, eax
jge 0x57a185
mov dword [esp + 0x1c], ebp
mov esi, ebx
lea ebx, [ebp + ebp*2]
mov edi, ebx
shl ebx, 2
lea ebp, [ebx + 2]
cmp edx, ebp
jb 0x57a1f6
mov edx, dword [esp + 0x48]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x24], edx
sub ecx, ebx
lea edx, [ecx - 2]
neg edx
sar edx, 0x1f
and edx, ebp
mov ecx, dword [esp + 0x68]
sub ecx, ebx
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
cmp ebx, ebp
jae 0x57a1ed
lea ebp, [ecx - 2]
cmp ebp, 0xb
jbe 0x57a1e1
mov dword [esp + 0x24], edx
mov ebp, dword [esp + 0x28]
lea ebx, [ebp + edi*4]
movzx ebp, byte [esi + edx + 1]
movzx edx, byte [esi + edx]
shl edx, 8
or ebp, edx
mov word [ebx], bp
lea edx, [ecx - 4]
cmp edx, 1
jbe 0x57a1d5
mov edx, dword [esp + 0x28]
lea ebx, [edx + edi*4 + 2]
mov ebp, dword [esp + 0x24]
movzx edx, byte [esi + ebp + 3]
movzx ebp, byte [esi + ebp + 2]
shl ebp, 8
or edx, ebp
mov word [ebx], dx
lea edx, [ecx - 6]
cmp edx, 3
jbe 0x57a1c9
mov edx, dword [esp + 0x24]
movzx ebx, byte [esi + edx + 7]
movzx ebp, byte [esi + edx + 6]
shl ebp, 8
or ebx, ebp
movzx ebp, byte [esi + edx + 5]
shl ebp, 0x10
or ebx, ebp
movzx ebp, byte [esi + edx + 4]
shl ebp, 0x18
or ebp, ebx
mov ebx, dword [esp + 0x28]
mov dword [ebx + edi*4 + 4], ebp
add ecx, 0xfffffff6
cmp ecx, 3
ja 0x57a05d
jmp 0x57a1bf
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ecx
lea edi, [esp + 0x70]
lea esi, [esp + 0x48]
call fcn.004664c4
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x60
ret
mov eax, 3
call fcn.00465e00
mov eax, 3
mov ecx, edx
call fcn.00465e00
mov eax, 1
mov ecx, edx
call fcn.00465e00
mov eax, 0xb
mov ecx, ebp
call fcn.00465e00
mov eax, ebx
mov ecx, ebp
call fcn.00465e00
mov eax, ebp
mov ecx, edx
call fcn.00465e60
nop
call fcn.004649b0
jmp fcn.00579e70