Function at 0x576a20
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x576d65
sub esp, 0x5c
lea edi, [esp + 0x6c]
xor eax, eax
call fcn.00465fea
lea edi, [esp + 0x44]
call fcn.00465fea
mov ecx, dword [esp + 0x64]
cmp ecx, 0x10
jl 0x576c08
mov edx, dword [esp + 0x60]
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 + 0x44], ebp
lea ebx, [ecx - 4]
cmp ebx, 7
jbe 0x576d58
nop
movzx ebx, byte [edx + 4]
mov byte [esp + 0x48], bl
movzx ebx, byte [edx + 5]
mov byte [esp + 0x49], bl
movzx ebx, byte [edx + 6]
mov byte [esp + 0x4a], bl
movzx ebx, byte [edx + 7]
mov byte [esp + 0x4b], bl
movzx ebx, byte [edx + 8]
mov byte [esp + 0x4c], bl
movzx ebx, byte [edx + 9]
mov byte [esp + 0x4d], bl
movzx ebx, byte [edx + 0xa]
mov byte [esp + 0x4e], bl
movzx ebx, byte [edx + 0xb]
mov byte [esp + 0x4f], bl
lea ebx, [ecx - 0xc]
cmp ebx, 3
jbe 0x576d4c
movzx eax, byte [edx + 0xf]
movzx ebx, byte [edx + 0xe]
shl ebx, 8
or eax, ebx
movzx ebx, byte [edx + 0xd]
shl ebx, 0x10
or eax, ebx
movzx ebx, byte [edx + 0xc]
shl ebx, 0x18
or ebx, eax
mov eax, ebx
shl ebx, 1
add ebx, 0x10
cmp ecx, ebx
jl 0x576b48
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebx
lea ecx, [0x69bdc0]
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 + 0x50], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x64]
xor ebp, ebp
jmp 0x576cab
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp], ebx
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 + 0x64]
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, [0x7036b8]
mov dword [esp], eax
mov dword [esp + 4], 0x34
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 + 0x6c]
lea esi, [esp + 0x44]
call fcn.004664c4
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x8c], eax
add esp, 0x5c
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, [0x7036ec]
mov dword [esp], eax
mov dword [esp + 4], 0x34
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 + 0x6c]
lea esi, [esp + 0x44]
call fcn.004664c4
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x8c], eax
add esp, 0x5c
ret
mov edx, dword [esp + 0x24]
mov word [edx + esi*2], bp
lea ebp, [esi + 1]
mov edx, dword [esp + 0x68]
mov ebx, edi
cmp ebp, eax
jge 0x576cfc
mov esi, ebp
shl ebp, 1
mov edi, edx
lea edx, [ebp + 0x10]
cmp ebx, edx
jb 0x576d43
sub edi, ebp
lea ebx, [edi - 0x10]
neg ebx
sar ebx, 0x1f
and ebx, edx
mov edx, dword [esp + 0x64]
mov edi, edx
sub edx, ebp
add edx, 0xfffffff0
cmp edx, 1
jbe 0x576d37
mov edx, dword [esp + 0x54]
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x24], ebp
movzx ebp, byte [ecx + ebx + 1]
movzx ebx, byte [ecx + ebx]
shl ebx, 8
or ebp, ebx
cmp esi, edx
jb 0x576c9a
jmp 0x576d2e
lea edi, [esp + 0x6c]
lea esi, [esp + 0x44]
call fcn.004664c4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x5c
ret
mov eax, esi
mov ecx, edx
call fcn.00465e00
mov eax, 1
mov ecx, edx
call fcn.00465e00
mov eax, edx
mov ecx, ebx
call fcn.00465e60
mov eax, 3
mov ecx, ebx
call fcn.00465e00
mov eax, 7
mov ecx, ebx
call fcn.00465e00
nop
call fcn.004649b0
jmp fcn.00576a20