Function at 0x4e8770
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x5b2ee4]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x43]
cmp ecx, 1
jne 0x4e8827
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x42]
test eax, eax
je 0x4e8827
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
movzx eax, byte [edx + 3]
test eax, eax
je 0x4e8827
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x100], ecx
mov edx, dword [ebp - 0x100]
mov eax, dword [edx + 0x28]
cmp eax, dword [ebp + 0x14]
jne 0x4e87e5
mov ecx, dword [ebp - 0x100]
mov edx, dword [ecx + 0x2c]
cmp edx, dword [ebp + 0x18]
jne 0x4e87e5
mov eax, dword [ebp + 0x20]
mov dword [eax], 0
xor eax, eax
jmp 0x4e8da8
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x41]
test edx, edx
je 0x4e8827
mov eax, dword [ebp + 8]
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x104]
mov edx, dword [ecx + 0x2c]
cmp edx, dword [ebp + 0x18]
jg 0x4e8827
jl 0x4e8817
mov eax, dword [ebp - 0x104]
mov ecx, dword [eax + 0x28]
cmp ecx, dword [ebp + 0x14]
jae 0x4e8827
mov edx, dword [ebp + 0x20]
mov dword [edx], 0xffffffff
xor eax, eax
jmp 0x4e8da8
mov eax, dword [ebp + 8]
push eax
call fcn.004e83e0
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4e8844
mov eax, dword [ebp - 4]
jmp 0x4e8da8
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x43]
test edx, edx
jne 0x4e885f
mov eax, dword [ebp + 0x20]
mov dword [eax], 0xffffffff
xor eax, eax
jmp 0x4e8da8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
movzx eax, byte [edx + 3]
test eax, eax
je 0x4e886f
jmp 0x4e88ab
cmp dword [ebp + 0x10], 0
jne 0x4e88ab
push 0xc8
lea ecx, [ebp - 0xd0]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
push edx
call fcn.004d7f40
add esp, 0x14
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0x10], 0
jne 0x4e88ab
mov eax, 7
jmp 0x4e8da8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0xdc], ecx
mov dword [ebp - 0xe0], 0xffffffff
mov dword [ebp - 0xe4], 0
mov edx, dword [ebp - 0xdc]
movzx eax, word [edx + 0x14]
sub eax, 1
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xdc]
movzx edx, byte [ecx + 3]
test edx, edx
jne 0x4e88fe
cmp dword [ebp + 0x10], 0
jne 0x4e88fe
mov dword [ebp - 4], 0xb
jmp 0x4e8d93
cmp dword [ebp + 0x1c], 0
je 0x4e8912
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xd8]
mov dword [eax + 0x1c], ecx
jmp 0x4e8929
mov eax, dword [ebp - 0xd8]
add eax, dword [ebp - 0xe4]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0xe4]
cmp eax, dword [ebp - 0xd8]
jg 0x4e8c7c
xor ecx, ecx
mov edx, dword [ebp + 8]
mov word [edx + 0x3e], cx
mov eax, dword [ebp + 8]
mov byte [eax + 0x42], 1
mov ecx, dword [ebp - 0xdc]
movzx edx, byte [ecx + 3]
test edx, edx
je 0x4e8a92
mov eax, dword [ebp - 0xdc]
movzx ecx, word [eax + 0xe]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
lea ecx, [ecx + eax*2]
mov edx, dword [ebp - 0xdc]
mov eax, dword [edx + 0x44]
movzx ecx, byte [eax + ecx]
shl ecx, 8
mov edx, dword [ebp - 0xdc]
movzx eax, word [edx + 0xe]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x1c]
lea eax, [eax + edx*2]
mov edx, dword [ebp - 0xdc]
mov edx, dword [edx + 0x44]
movzx eax, byte [edx + eax + 1]
or ecx, eax
mov edx, dword [ebp - 0xdc]
mov eax, dword [edx + 0x44]
add eax, ecx
mov ecx, dword [ebp - 0xdc]
movzx edx, byte [ecx + 9]
add eax, edx
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xdc]
movzx ecx, byte [eax + 7]
test ecx, ecx
je 0x4e8a27
mov edx, dword [ebp - 0xf4]
movzx eax, byte [edx]
cmp eax, 0x80
jge 0x4e89f9
mov ecx, dword [ebp - 0xf4]
movzx edx, byte [ecx]
mov dword [ebp - 0xf8], edx
mov dword [ebp - 0x108], 1
jmp 0x4e8a15
lea eax, [ebp - 0xf8]
push eax
mov ecx, dword [ebp - 0xf4]
push ecx
call fcn.004db700
add esp, 8
mov dword [ebp - 0x108], eax
mov edx, dword [ebp - 0xf4]
add edx, dword [ebp - 0x108]
mov dword [ebp - 0xf4], edx
lea eax, [ebp - 0xf0]
push eax
mov ecx, dword [ebp - 0xf4]
push ecx
call fcn.004db310
add esp, 8
mov edx, dword [ebp - 0xf0]
cmp edx, dword [ebp + 0x14]
jne 0x4e8a5f
mov eax, dword [ebp - 0xec]
cmp eax, dword [ebp + 0x18]
jne 0x4e8a5f
mov dword [ebp - 0xe0], 0
jmp 0x4e8a8d
mov ecx, dword [ebp - 0xec]
cmp ecx, dword [ebp + 0x18]
jg 0x4e8a83
jl 0x4e8a77
mov edx, dword [ebp - 0xf0]
cmp edx, dword [ebp + 0x14]
jae 0x4e8a83
mov dword [ebp - 0xe0], 0xffffffff
jmp 0x4e8a8d
mov dword [ebp - 0xe0], 1
jmp 0x4e8b9b
push 0
lea eax, [ebp - 0xfc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004e81e0
add esp, 0xc
mov dword [ebp - 0xe8], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x28]
mov dword [ebp - 0xf0], eax
mov ecx, dword [edx + 0x2c]
mov dword [ebp - 0xec], ecx
mov eax, dword [ebp - 0xfc]
cdq
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], edx
mov edx, dword [ebp - 0x10c]
cmp edx, dword [ebp - 0xec]
jl 0x4e8b18
jg 0x4e8af3
mov eax, dword [ebp - 0x110]
cmp eax, dword [ebp - 0xf0]
jb 0x4e8b18
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xe8]
push edx
mov eax, dword [ebp - 0xf0]
push eax
call fcn.004d8180
add esp, 0xc
mov dword [ebp - 0xe0], eax
jmp 0x4e8b9b
mov ecx, dword [ebp - 0xf0]
push ecx
call fcn.004da1d0
add esp, 4
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0
jne 0x4e8b42
mov dword [ebp - 4], 7
jmp 0x4e8d93
mov edx, dword [ebp - 0xe8]
push edx
mov eax, dword [ebp - 0xf0]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.004e7bd0
add esp, 0x10
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0xe8]
push eax
mov ecx, dword [ebp - 0xf0]
push ecx
call fcn.004d8180
add esp, 0xc
mov dword [ebp - 0xe0], eax
mov edx, dword [ebp - 0xe8]
push edx
call fcn.004da390
add esp, 4
cmp dword [ebp - 4], 0
je 0x4e8b9b
jmp 0x4e8d93
cmp dword [ebp - 0xe0], 0
jne 0x4e8c12
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xf0]
mov dword [eax + 0x28], ecx
mov edx, dword [ebp - 0xec]
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 0xdc]
movzx ecx, byte [eax + 6]
test ecx, ecx
je 0x4e8bf7
mov edx, dword [ebp - 0xdc]
movzx eax, byte [edx + 4]
test eax, eax
jne 0x4e8bf7
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0xe4], edx
mov eax, dword [ebp - 0xe4]
sub eax, 1
mov dword [ebp - 0xd8], eax
jmp 0x4e8c7c
cmp dword [ebp + 0x20], 0
je 0x4e8c06
mov ecx, dword [ebp + 0x20]
mov dword [ecx], 0
mov dword [ebp - 4], 0
jmp 0x4e8d93
cmp dword [ebp - 0xe0], 0
jge 0x4e8c2c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
add eax, 1
mov dword [ebp - 0xe4], eax
jmp 0x4e8c3b
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
sub edx, 1
mov dword [ebp - 0xd8], edx
mov eax, dword [ebp - 0xe4]
cmp eax, dword [ebp - 0xd8]
jle 0x4e8c60
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xf0]
mov dword [ecx + 0x28], edx
mov eax, dword [ebp - 0xec]
mov dword [ecx + 0x2c], eax
jmp 0x4e8c7c
mov eax, dword [ebp - 0xe4]
add eax, dword [ebp - 0xd8]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1c], eax
jmp 0x4e893b
mov edx, dword [ebp - 0xdc]
movzx eax, byte [edx + 4]
test eax, eax
je 0x4e8c99
mov dword [ebp - 0xd4], 0
jmp 0x4e8d31
mov ecx, dword [ebp - 0xdc]
movzx edx, word [ecx + 0x14]
cmp dword [ebp - 0xe4], edx
jl 0x4e8cd3
mov eax, dword [ebp - 0xdc]
movzx ecx, byte [eax + 8]
mov edx, dword [ebp - 0xdc]
mov eax, dword [edx + 0x44]
lea ecx, [ecx + eax + 8]
push ecx
call fcn.004db8e0
add esp, 4
mov dword [ebp - 0xd4], eax
jmp 0x4e8d31
mov edx, dword [ebp - 0xdc]
movzx eax, word [edx + 0xe]
mov ecx, dword [ebp - 0xe4]
lea edx, [eax + ecx*2]
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax + 0x44]
movzx edx, byte [ecx + edx]
shl edx, 8
mov eax, dword [ebp - 0xdc]
movzx ecx, word [eax + 0xe]
mov eax, dword [ebp - 0xe4]
lea ecx, [ecx + eax*2]
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 0x44]
movzx ecx, byte [eax + ecx + 1]
or edx, ecx
mov eax, dword [ebp - 0xdc]
add edx, dword [eax + 0x44]
push edx
call fcn.004db8e0
add esp, 4
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0
jne 0x4e8d54
cmp dword [ebp + 0x20], 0
je 0x4e8d4b
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp - 0xe0]
mov dword [ecx], edx
mov dword [ebp - 4], 0
jmp 0x4e8d93
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xe4]
mov dword [eax + 0x1c], ecx
xor edx, edx
mov eax, dword [ebp + 8]
mov word [eax + 0x3e], dx
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x42], 0
mov edx, dword [ebp - 0xd4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004e8530
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4e8d8e
jmp 0x4e8d93
jmp 0x4e88ab
cmp dword [ebp + 0xc], 0
je 0x4e8da5
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004d8100
add esp, 4
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0047e001
mov esp, ebp
pop ebp
ret