Function at 0x456e60
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x50d080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 0x220], edx
mov ecx, dword [ebp + 0x10]
lea esi, [eax + 0x10]
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x218], edx
mov byte [ebp - 0x20d], 0
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x21c], edi
test ecx, ecx
je 0x456f76
mov edx, dword [ebp + 0xc]
jns 0x456f2d
mov edi, ecx
mov dword [ebp - 0x214], 0x104
and edi, 0x7fffffff
add edi, edx
movzx eax, word [edi]
cmp ax, word [ebp - 0x214]
jae 0x456f27
push eax
lea eax, [edi + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004af896
movzx ecx, word [edi]
xor edx, edx
push dword [ebp - 0x21c]
mov word [ebp + ecx*2 - 0x20c], dx
lea ecx, [ebp - 0x20c]
push ecx
call fcn.0048affe
add esp, 0x14
test eax, eax
je 0x456f6a
mov al, byte [ebp - 0x20d]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cdd2
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x21c]
movzx eax, word [ebp + 0x18]
cmp ecx, eax
jne 0x456f10
push dword [ebp - 0x218]
mov ecx, ebx
push 0x409
push edi
push edx
mov edx, dword [ebp - 0x220]
push esi
call fcn.00457100
add esp, 0x14
test al, al
je 0x456f10
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cdd2
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x218]
mov eax, dword [ebp - 0x224]
movzx eax, word [eax + 0xc]
xor ecx, ecx
mov ebx, dword [ebp + 0x18]
xor edi, edi
mov dword [ebp - 0x214], eax
cmp cx, ax
jae 0x456fcb
nop dword [eax]
mov ecx, dword [ebp - 0x228]
push edx
mov edx, dword [ebp - 0x220]
push ebx
push dword [ebp - 0x21c]
push dword [ebp + 0xc]
push esi
call fcn.00457100
add esp, 0x14
test al, al
jne 0x4570d5
mov edx, dword [ebp - 0x218]
inc edi
add esi, 8
cmp di, word [ebp - 0x214]
jb 0x456f90
mov eax, dword [ebp - 0x224]
xor ecx, ecx
xor edi, edi
movzx eax, word [eax + 0xe]
mov dword [ebp - 0x214], eax
cmp cx, ax
jae 0x4570e8
mov eax, dword [esi + 4]
mov ecx, dword [esi]
test eax, eax
jns 0x457029
push dword [ebp - 0x218]
mov edx, dword [ebp - 0x220]
and eax, 0x7fffffff
push ebx
push dword [ebp - 0x21c]
push ecx
mov ecx, dword [ebp + 0xc]
add eax, ecx
push ecx
mov ecx, dword [ebp - 0x228]
push eax
call fcn.00456e60
add esp, 0x18
test al, al
jne 0x4570d5
jmp 0x457032
test ecx, ecx
js 0x457032
cmp bx, cx
je 0x457056
inc edi
add esi, 8
cmp di, word [ebp - 0x214]
jb 0x456fe8
mov al, byte [ebp - 0x20d]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cdd2
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp - 0x228]
xor edx, edx
mov edi, dword [eax + ecx]
mov eax, dword [eax + ecx + 4]
lea ecx, [esi + 0x18]
mov dword [ebp - 0x224], eax
movzx eax, word [esi + 0x14]
add ecx, eax
movzx eax, word [esi + 6]
mov dword [ebp - 0x214], eax
test eax, eax
je 0x4570b4
mov esi, dword [ecx + 0xc]
cmp edi, esi
jb 0x45709d
mov eax, dword [ecx + 8]
add eax, esi
cmp edi, eax
jb 0x4570a7
mov eax, dword [ebp - 0x214]
inc edx
add ecx, 0x28
cmp edx, eax
jb 0x457087
jmp 0x4570b4
mov ebx, dword [ecx + 0x14]
sub ebx, esi
add ebx, edi
add ebx, dword [ebp - 0x220]
mov esi, dword [ebp - 0x218]
mov ecx, esi
mov edi, dword [ebp - 0x224]
push esi
push edi
call fcn.00417600
push edi
push ebx
push dword [esi]
call fcn.0047e6d0
add esp, 0xc
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cdd2
mov esp, ebp
pop ebp
ret
mov al, cl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047cdd2
mov esp, ebp
pop ebp
ret