Function at 0x566790
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x566ac4
sub esp, 0x58
lea edi, [esp + 0x68]
xor eax, eax
call fcn.00465feb
lea edi, [esp + 0x44]
call fcn.00465feb
mov ecx, dword [esp + 0x60]
cmp ecx, 8
jl 0x566945
mov edx, dword [esp + 0x5c]
movzx ebx, byte [edx + 1]
movzx ebp, byte [edx]
shl ebp, 8
or ebx, ebp
mov word [esp + 0x44], bx
lea ebx, [ecx - 2]
cmp ebx, 1
jbe 0x566ab7
movzx ebx, byte [edx + 3]
movzx ebp, byte [edx + 2]
shl ebp, 8
or ebx, ebp
mov word [esp + 0x46], bx
lea ebx, [ecx - 4]
cmp ebx, 1
jbe 0x566aab
movzx ebx, byte [edx + 5]
movzx ebp, byte [edx + 4]
shl ebp, 8
or ebx, ebp
mov word [esp + 0x48], bx
lea ebx, [ecx - 6]
cmp ebx, 1
jbe 0x566a9f
movzx eax, byte [edx + 7]
movzx ebx, byte [edx + 6]
shl ebx, 8
or eax, ebx
movzx eax, ax
mov ebx, eax
shl eax, 2
add eax, 8
cmp ecx, eax
jl 0x566888
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], eax
lea eax, [0x69be00]
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 + 0x4c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x60]
xor ebp, ebp
jmp 0x5669e4
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
lea eax, [0x705c90]
mov dword [esp], eax
mov dword [esp + 4], 0x39
lea eax, [esp + 0x34]
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 + 0x28], ecx
lea edi, [esp + 0x68]
lea esi, [esp + 0x44]
call fcn.004664ce
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x84], eax
add esp, 0x58
ret
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp], ecx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
lea eax, [0x70531f]
mov dword [esp], eax
mov dword [esp + 4], 0x38
lea eax, [esp + 0x2c]
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 + 0x28], ecx
lea edi, [esp + 0x68]
lea esi, [esp + 0x44]
call fcn.004664ce
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x84], eax
add esp, 0x58
ret
mov edx, dword [esp + 0x24]
mov dword [edx + esi*4], ebx
lea ebp, [esi + 1]
mov edx, dword [esp + 0x64]
mov ebx, edi
cmp ebp, eax
jge 0x566a52
mov esi, ebp
shl ebp, 2
mov edi, edx
lea edx, [ebp + 8]
cmp ebx, edx
jb 0x566a96
sub edi, ebp
lea ebx, [edi - 8]
neg ebx
sar ebx, 0x1f
and ebx, edx
mov edx, dword [esp + 0x60]
mov edi, edx
sub edx, ebp
add edx, 0xfffffff8
cmp edx, 3
jbe 0x566a8a
mov edx, dword [esp + 0x50]
mov dword [esp + 0x20], edx
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x24], ebp
movzx ebp, byte [ecx + ebx + 3]
movzx edx, byte [ecx + ebx + 2]
shl edx, 8
or ebp, edx
movzx edx, byte [ecx + ebx + 1]
shl edx, 0x10
or edx, ebp
movzx ebx, byte [ecx + ebx]
shl ebx, 0x18
or ebx, edx
mov edx, dword [esp + 0x20]
cmp esi, edx
jb 0x5669d4
jmp 0x566a81
lea edi, [esp + 0x68]
lea esi, [esp + 0x44]
call fcn.004664ce
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x58
ret
mov eax, esi
mov ecx, edx
call fcn.00465e00
mov eax, 3
mov ecx, edx
call fcn.00465e00
mov eax, edx
mov ecx, ebx
call fcn.00465e60
mov eax, 1
mov ecx, ebx
call fcn.00465e00
mov eax, 1
mov ecx, ebx
call fcn.00465e00
mov eax, 1
mov ecx, ebx
call fcn.00465e00
nop
call fcn.004649b0
jmp fcn.00566790