Function at 0x45e740
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [ebp + 8]
push eax
call fcn.0045e470
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x45e763
mov eax, dword [ebp - 4]
jmp 0x45eac3
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x45e77e
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0xffffffff
xor eax, eax
jmp 0x45eac3
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 0x14]
sub ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 3]
test eax, eax
jne 0x45e7bd
cmp dword [ebp + 0xc], 0
jne 0x45e7bd
mov eax, 0xb
jmp 0x45eac3
cmp dword [ebp + 0x18], 0
je 0x45e7ce
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov dword [ecx + 0x1c], edx
jmp 0x45e7df
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x18]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0xc]
jg 0x45ea1b
xor eax, eax
mov ecx, dword [ebp + 8]
mov word [ecx + 0x3e], ax
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 3]
test eax, eax
je 0x45e8b3
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.0045b3e0
add esp, 8
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 9]
add eax, edx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 7]
test ecx, ecx
je 0x45e861
mov edx, dword [ebp - 0x2c]
movzx eax, byte [edx]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x7f
ja 0x45e845
mov dword [ebp - 0x38], 1
jmp 0x45e858
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00453d80
add esp, 8
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x38]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00453be0
add esp, 8
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp + 0x14]
jg 0x45e88c
jl 0x45e883
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp + 0x10]
jae 0x45e88c
mov dword [ebp - 0x14], 0xffffffff
jmp 0x45e8ae
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp + 0x14]
jl 0x45e8a7
jg 0x45e89e
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp + 0x10]
jbe 0x45e8a7
mov dword [ebp - 0x14], 1
jmp 0x45e8ae
mov dword [ebp - 0x14], 0
jmp 0x45e993
push 0
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0045e210
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x28], ecx
mov edx, dword [eax + 0x2c]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x34]
cdq
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x24]
jl 0x45e91a
jg 0x45e8f3
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp - 0x28]
jb 0x45e91a
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
call eax
add esp, 0x14
mov dword [ebp - 0x14], eax
jmp 0x45e993
push 1
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00452ba0
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x45e93b
mov eax, 7
jmp 0x45eac3
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x28]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0045e140
add esp, 0x10
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
call eax
add esp, 0x14
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00452c70
add esp, 4
cmp dword [ebp - 4], 0
je 0x45e993
mov eax, dword [ebp - 4]
jmp 0x45eac3
cmp dword [ebp - 0x14], 0
jne 0x45e9db
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 6]
test eax, eax
je 0x45e9c5
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 4]
test edx, edx
jne 0x45e9c5
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
sub edx, 1
mov dword [ebp - 0xc], edx
jmp 0x45ea1b
cmp dword [ebp + 0x1c], 0
je 0x45e9d4
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0
xor eax, eax
jmp 0x45eac3
cmp dword [ebp - 0x14], 0
jge 0x45e9ef
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
add edx, 1
mov dword [ebp - 0x18], edx
jmp 0x45e9fb
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
sub ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0xc]
jle 0x45ea05
jmp 0x45ea1b
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0xc]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1c], eax
jmp 0x45e7eb
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 4]
test eax, eax
je 0x45ea2f
mov dword [ebp - 8], 0
jmp 0x45ea76
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx + 0x14]
cmp dword [ebp - 0x18], edx
jl 0x45ea5a
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x44]
lea ecx, [ecx + eax + 8]
push ecx
call fcn.0045ad60
add esp, 4
mov dword [ebp - 8], eax
jmp 0x45ea76
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.0045b3e0
add esp, 8
push eax
call fcn.0045ad60
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x45ea8e
cmp dword [ebp + 0x1c], 0
je 0x45ea8a
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
xor eax, eax
jmp 0x45eac3
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x1c], ecx
xor edx, edx
mov eax, dword [ebp + 8]
mov word [eax + 0x3e], dx
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0045e310
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x45eabe
mov eax, dword [ebp - 4]
jmp 0x45eac3
jmp 0x45e77e
mov esp, ebp
pop ebp
ret