Function at 0x5778dc
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00470968
test al, al
je 0x463392
mov eax, dword [ebx + 0x10]
mov edx, dword [0x470178]
call fcn.00403708
mov al, byte [eax + 0x86]
mov edx, dword [ebx + 0x18]
cmp al, byte [edx + 0x57]
je 0x463396
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
push ebx
push esi
mov esi, edx
mov ebx, eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
je 0x4633df
mov edx, esi
mov eax, dword [ebx + 0x18]
call fcn.00464490
pop esi
pop ebx
ret
ret
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x10]
push edi
xor edi, edi
cmp ecx, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x30], edi
je 0x5779c5
mov al, byte [ecx + 0x29]
test al, al
jne 0x577934
cmp dword [ecx], edi
jne 0x577934
movzx eax, word [esi + 0x1a]
movzx edx, word [esi + 0x18]
push edi
push edi
push edi
push eax
push edx
push 5
call fcn.005ad58c
mov ecx, dword [esi + 0x10]
xor eax, eax
cmp word [esi + 0x20], di
setge al
mov dword [ecx + 0x20], eax
mov ecx, dword [esi + 0x10]
mov al, byte [ecx + 0x29]
test al, al
jne 0x577942
cmp dword [ecx], edi
je 0x577958
call fcn.005ad51c
mov eax, dword [esi + 0x10]
mov edx, dword [eax + 4]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x18], edx
mov dword [esp + 0x28], eax
movzx eax, byte [esi + 0x1c]
movsx ecx, word [esi + 0x20]
cmp eax, ecx
jne 0x577968
xor edx, edx
jmp 0x57798d
mov ecx, dword [esp + 0x50]
mov dl, byte [ecx + eax*4 + 4]
mov byte [esp + 0x16], dl
mov dl, byte [ecx + eax*4 + 5]
mov al, byte [ecx + eax*4 + 6]
mov byte [esp + 0x15], dl
mov byte [esp + 0x14], al
mov byte [esp + 0x17], 0xff
mov edx, dword [esp + 0x14]
cmp word [esi + 0x1a], 0
jbe 0x5779c3
mov ebx, dword [esp + 0x18]
lea esp, [esp]
xor eax, eax
cmp word [esi + 0x18], ax
jbe 0x5779bc
movzx ecx, di
imul ecx, dword [esp + 0x28]
movzx ebp, ax
lea ebp, [ecx + ebp*4]
inc eax
mov dword [ebx + ebp], edx
cmp ax, word [esi + 0x18]
jb 0x5779ac
inc edi
cmp di, word [esi + 0x1a]
jb 0x57799c
xor edi, edi
mov ecx, dword [esi + 0x14]
mov word [ecx + 0x4104], di
mov edx, dword [esi + 0x14]
mov word [edx + 0x4102], di
mov edx, dword [esi + 0xc]
cmp edx, edi
je 0x577cd1
mov eax, dword [esi + 4]
mov ebx, dword [esi + 8]
lea ecx, [eax + 1]
cmp ecx, ebx
ja 0x577cd1
mov al, byte [eax + edx]
mov dword [esi + 4], ecx
movzx ecx, al
mov ebp, 1
shl ebp, cl
lea edx, [ecx + 1]
xor ebx, ebx
push ebx
lea eax, [ebp + 2]
push edx
mov ecx, esi
mov dword [esp + 0x40], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edi
call fcn.005777ac
cmp eax, 0xffffffff
je 0x577cb0
cmp eax, 0xfffffffe
je 0x577ccf
lea ecx, [ebp + 1]
cmp eax, ecx
je 0x577c83
cmp eax, ebp
jne 0x577a63
mov edx, dword [esp + 0x38]
lea ecx, [ebp + 2]
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
jmp 0x577c69
cmp eax, dword [esp + 0x1c]
jge 0x577a6d
mov ebx, eax
jmp 0x577a7f
mov ecx, dword [esi + 0x14]
mov byte [ecx + 0x3000], bl
mov ebx, dword [esp + 0x20]
mov edi, 1
add ebp, 2
cmp ebx, ebp
jl 0x577ac9
lea ebx, [ebx]
cmp edi, 0x1000
jg 0x577ccf
test ebx, ebx
jl 0x577ccf
cmp ebx, 0xfff
jg 0x577ccf
mov ecx, dword [esi + 0x14]
mov dl, byte [ecx + ebx + 0x2000]
mov byte [ecx + edi + 0x3000], dl
mov ecx, dword [esi + 0x14]
movzx ebx, word [ecx + ebx*2]
inc edi
cmp ebx, ebp
jge 0x577a8c
cmp edi, 0x1000
jg 0x577ccf
mov edx, dword [esi + 0x14]
mov ecx, dword [esp + 0x20]
mov byte [edx + edi + 0x3000], bl
mov edx, dword [esp + 0x2c]
inc edi
cmp ecx, edx
je 0x577b40
mov edx, dword [esp + 0x1c]
test edx, edx
jl 0x577ccf
cmp edx, 0x1000
jg 0x577ccf
mov ebp, dword [esi + 0x14]
mov word [ebp + edx*2], cx
mov ecx, dword [esi + 0x14]
mov byte [ecx + edx + 0x2000], bl
inc edx
cmp edx, 0x1000
mov dword [esp + 0x1c], edx
jg 0x577ccf
mov ecx, dword [esp + 0x14]
mov ebp, 1
shl ebp, cl
cmp edx, ebp
jl 0x577b40
cmp ecx, 0xc
jge 0x577b40
inc ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x577c65
dec edi
mov dword [esp + 0x34], edi
js 0x577c65
nop
mov ebp, dword [esp + 0x50]
mov edx, dword [esi + 0x14]
mov al, byte [edx + edi + 0x3000]
mov cl, byte [ebp]
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x10]
dec cl
and al, cl
mov ecx, dword [esp + 0x24]
add ecx, edx
mov edx, dword [esp + 0x44]
add edx, edi
cmp cx, word [esi + 0x18]
jae 0x577bd7
cmp dx, word [esi + 0x1a]
jae 0x577bd7
movzx edx, dx
imul edx, dword [esp + 0x28]
add edx, dword [esp + 0x18]
movzx ecx, cx
lea ecx, [edx + ecx*4]
movsx edx, word [esi + 0x20]
movzx eax, al
cmp eax, edx
je 0x577bc8
mov dl, byte [ebp + eax*4 + 4]
mov byte [ecx + 2], dl
mov dl, byte [ebp + eax*4 + 5]
mov byte [ecx + 1], dl
mov al, byte [ebp + eax*4 + 6]
mov byte [ecx], al
mov byte [ecx + 3], 0xff
jmp 0x577bd7
mov byte [ecx + 2], 0
mov byte [ecx + 1], 0
mov byte [ecx], 0
mov byte [ecx + 3], 0
mov eax, dword [esp + 0x24]
inc eax
cmp ax, word [esp + 0x48]
mov dword [esp + 0x24], eax
jne 0x577c56
mov eax, dword [esp + 0x54]
test eax, eax
mov dword [esp + 0x24], 0
je 0x577c51
mov ecx, dword [esp + 0x30]
movzx eax, cx
cmp eax, 3
ja case.default.0x577c03
jmp dword [eax*4 + 0x440640]
cmp di, word [esp + 0x4c]
jb 0x577c56
inc ecx
movzx eax, cx
dec eax
mov dword [esp + 0x30], ecx
je 0x577c47
dec eax
je 0x577c3d
dec eax
jne 0x577c56
mov dword [esp + 0x10], 1
jmp 0x577c56
mov dword [esp + 0x10], 2
jmp 0x577c56
mov dword [esp + 0x10], 4
jmp 0x577c56
inc edi
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x34]
dec edi
mov dword [esp + 0x34], edi
jns 0x577b5c
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
xor edi, edi
push edi
push ecx
mov ecx, esi
call fcn.005777ac
cmp eax, 0xffffffff
jne 0x577a33
jmp 0x577cb0
mov edi, dword [esp + 0x14]
push 0
push edi
mov ecx, esi
call fcn.005777ac
cmp eax, 0xffffffff
je 0x577cb0
lea ebx, [ebx]
cmp eax, 0xfffffffe
je 0x577ccf
push 0
push edi
mov ecx, esi
call fcn.005777ac
cmp eax, 0xffffffff
jne 0x577c9c
mov eax, dword [esp + 0x18]
test eax, eax
je 0x577cc0
mov ecx, dword [esi + 0x10]
call fcn.005ad53c
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2c
ret 0x18
xor edi, edi
cmp dword [esp + 0x18], edi
je 0x577cdf
mov ecx, dword [esi + 0x10]
call fcn.005ad53c
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 0x18