Function at 0x566ad0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x566eef
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, 0xc
jl 0x566cc9
mov edx, dword [esp + 0x64]
movzx ebx, byte [edx + 1]
movzx ebp, byte [edx]
shl ebp, 8
or ebx, ebp
mov word [esp + 0x48], bx
lea ebx, [ecx - 2]
cmp ebx, 9
jbe 0x566ee2
movzx ebx, byte [edx + 3]
movzx ebp, byte [edx + 2]
shl ebp, 8
or ebx, ebp
mov word [esp + 0x4a], bx
lea ebx, [ecx - 4]
cmp ebx, 1
jbe 0x566ed6
movzx ebx, byte [edx + 5]
movzx ebp, byte [edx + 4]
shl ebp, 8
or ebx, ebp
mov word [esp + 0x4c], bx
lea ebp, [ecx - 6]
cmp ebp, 1
jbe 0x566eca
movzx ebp, byte [edx + 7]
movzx esi, byte [edx + 6]
shl esi, 8
or ebp, esi
mov word [esp + 0x4e], bp
lea ebp, [ecx - 8]
cmp ebp, 1
jbe 0x566ebe
movzx ebp, byte [edx + 9]
movzx esi, byte [edx + 8]
shl esi, 8
or ebp, esi
mov word [esp + 0x50], bp
lea ebp, [ecx - 0xa]
cmp ebp, 1
jbe 0x566eb2
movzx eax, byte [edx + 0xb]
movzx ebp, byte [edx + 0xa]
shl ebp, 8
or eax, ebp
mov word [esp + 0x52], ax
movzx eax, bx
mov ebx, eax
shl eax, 3
add eax, 0xc
cmp ecx, eax
jl 0x566c09
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], eax
lea eax, [0x6bde40]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
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 + 0x64]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
xor ebp, ebp
jmp 0x566d97
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp], eax
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, [0x705357]
mov dword [esp], eax
mov dword [esp + 4], 0x38
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, [0x70538f]
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
mov edx, dword [esp + 0x28]
lea edx, [edx + esi*8 + 4]
mov ebx, dword [esp + 0x24]
movzx ebp, byte [ecx + ebx + 7]
movzx edi, byte [ecx + ebx + 6]
shl edi, 8
or edi, ebp
movzx ebp, byte [ecx + ebx + 5]
shl ebp, 0x10
or ebp, edi
movzx ebx, byte [ecx + ebx + 4]
shl ebx, 0x18
or ebx, ebp
mov dword [edx], ebx
lea ebp, [esi + 1]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
cmp ebp, eax
jge 0x566e4a
mov esi, ebp
shl ebp, 3
mov edi, ebx
lea ebx, [ebp + 0xc]
cmp edx, ebx
jb 0x566ea9
mov edx, dword [esp + 0x54]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x24], edx
sub edi, ebp
lea edx, [edi - 0xc]
neg edx
sar edx, 0x1f
and edx, ebx
mov ebx, dword [esp + 0x68]
sub ebx, ebp
mov ebp, dword [esp + 0x24]
cmp esi, ebp
jae 0x566ea0
lea ebp, [ebx - 0xc]
cmp ebp, 7
jbe 0x566e94
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], ebx
mov ebp, dword [esp + 0x28]
lea ebp, [ebp + esi*8]
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 + 0x1c]
lea ebx, [edx - 0xe]
cmp ebx, 1
jbe 0x566e88
mov ebx, dword [esp + 0x28]
lea ebp, [ebx + esi*8 + 2]
mov ebx, dword [esp + 0x24]
movzx edx, byte [ecx + ebx + 3]
movzx ebx, byte [ecx + ebx + 2]
shl ebx, 8
or edx, ebx
mov word [ebp], dx
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
cmp edx, 3
ja 0x566d5b
jmp 0x566e7c
lea edi, [esp + 0x70]
lea esi, [esp + 0x48]
call fcn.004664c4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x60
ret
mov eax, 3
mov ecx, edx
call fcn.00465e00
mov eax, 1
mov ecx, ebx
call fcn.00465e00
mov eax, 7
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, 1
mov ecx, ebp
call fcn.00465e00
mov eax, 1
mov ecx, ebp
call fcn.00465e00
mov eax, 1
mov ecx, ebp
call fcn.00465e00
mov eax, 1
mov ecx, ebx
call fcn.00465e00
mov eax, 9
mov ecx, ebx
call fcn.00465e00
nop
call fcn.004649b0
jmp fcn.00566ad0