Function at 0x45e320
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, 1
lea ebp, [eax - 9]
mov dword [ecx], 0xffffffff
cmp ebp, edi
mov dword [edx], 0xffffffff
mov dword [esp + 0x10], 0
mov bl, 0x20
jle 0x45e6bb
mov cl, byte [edi + esi]
cmp cl, 0xd
jne 0x45e370
mov dword [esp + 0x10], 0
jmp 0x45e6ab
cmp dword [esp + 0x10], 0x50
jne 0x45e37f
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x20]
cmp eax, 9
mov eax, dword [edx]
jg 0x45e46a
cmp eax, 0xffffffff
jne 0x45e555
mov al, byte [edi + esi - 1]
cmp al, 0xd
je 0x45e3ab
cmp al, 0x2a
je 0x45e3ab
cmp al, bl
jne 0x45e555
mov eax, dword [esp + 0x20]
movsx ecx, cl
add eax, 0x30
cmp ecx, eax
jne 0x45e555
mov al, byte [edi + esi + 1]
cmp al, bl
je 0x45e3d5
cmp al, 0x2b
je 0x45e3d5
cmp al, 0x2d
je 0x45e3d5
cmp al, 0x5e
jne 0x45e555
cmp byte [edi + esi + 2], bl
jne 0x45e555
mov al, byte [edi + esi + 3]
cmp al, bl
je 0x45e3ef
cmp al, 0x2a
jne 0x45e555
mov dl, byte [edi + esi + 4]
push edx
call fcn.004ec710
add esp, 4
test al, al
jne 0x45e415
mov al, byte [edi + esi + 4]
push eax
call fcn.004ec730
add esp, 4
test al, al
je 0x45e555
mov cl, byte [edi + esi + 5]
push ecx
call fcn.004ec710
add esp, 4
test al, al
jne 0x45e43b
mov dl, byte [edi + esi + 5]
push edx
call fcn.004ec730
add esp, 4
test al, al
je 0x45e555
mov al, byte [edi + esi + 6]
push eax
call fcn.004ec710
add esp, 4
test al, al
jne 0x45e54f
mov cl, byte [edi + esi + 6]
push ecx
call fcn.004ec730
add esp, 4
test al, al
je 0x45e555
jmp 0x45e54f
cmp eax, 0xffffffff
jne 0x45e555
mov al, byte [edi + esi - 1]
cmp al, 0xd
je 0x45e487
cmp al, 0x2a
je 0x45e487
cmp al, bl
jne 0x45e555
mov ebp, dword [esp + 0x20]
mov eax, 0x66666667
imul ebp
sar edx, 2
mov eax, edx
shr eax, 0x1f
lea edx, [edx + eax + 0x30]
movsx eax, cl
cmp eax, edx
jne 0x45e555
mov eax, ebp
mov ebp, 0xa
cdq
idiv ebp
movsx ecx, byte [edi + esi + 1]
add edx, 0x30
cmp ecx, edx
jne 0x45e555
mov al, byte [edi + esi + 2]
cmp al, bl
je 0x45e4d7
cmp al, 0x2b
je 0x45e4d7
cmp al, 0x2d
je 0x45e4d7
cmp al, 0x5e
jne 0x45e555
cmp byte [edi + esi + 3], bl
jne 0x45e555
mov al, byte [edi + esi + 4]
cmp al, bl
je 0x45e4e9
cmp al, 0x2a
jne 0x45e555
mov dl, byte [edi + esi + 5]
push edx
call fcn.004ec710
add esp, 4
test al, al
jne 0x45e50b
mov al, byte [edi + esi + 5]
push eax
call fcn.004ec730
add esp, 4
test al, al
je 0x45e555
mov cl, byte [edi + esi + 6]
push ecx
call fcn.004ec710
add esp, 4
test al, al
jne 0x45e52d
mov dl, byte [edi + esi + 6]
push edx
call fcn.004ec730
add esp, 4
test al, al
je 0x45e555
mov al, byte [edi + esi + 7]
push eax
call fcn.004ec710
add esp, 4
test al, al
jne 0x45e54f
mov cl, byte [edi + esi + 7]
push ecx
call fcn.004ec730
add esp, 4
test al, al
je 0x45e555
mov edx, dword [esp + 0x24]
mov dword [edx], edi
cmp dword [esp + 0x20], 9
jge 0x45e5f9
mov eax, dword [esp + 0x24]
cmp dword [eax], 0xffffffff
je 0x45e69a
mov al, byte [edi + esi - 1]
cmp al, 0xd
je 0x45e589
cmp al, 0x2a
je 0x45e589
cmp al, bl
je 0x45e589
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x45e69a
mov ecx, dword [esp + 0x20]
movsx edx, byte [edi + esi]
add ecx, 0x31
cmp edx, ecx
jne 0x45e69a
mov al, byte [edi + esi + 1]
cmp al, bl
je 0x45e5b0
cmp al, 0x2b
je 0x45e5b0
cmp al, 0x2d
jne 0x45e69a
cmp byte [edi + esi + 2], bl
jne 0x45e69a
mov al, byte [edi + esi + 3]
cmp al, bl
je 0x45e5ca
cmp al, 0x2a
jne 0x45e69a
mov al, byte [edi + esi + 4]
push eax
call fcn.004ec730
add esp, 4
test al, al
jne 0x45e6e5
mov cl, byte [edi + esi + 5]
push ecx
call fcn.004ec730
add esp, 4
test al, al
jne 0x45e6e5
jmp 0x45e69a
mov edx, dword [esp + 0x24]
cmp dword [edx], 0xffffffff
je 0x45e69a
mov al, byte [edi + esi - 1]
cmp al, 0xd
je 0x45e61e
cmp al, 0x2a
je 0x45e61e
cmp al, bl
je 0x45e61e
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x45e69a
mov eax, dword [esp + 0x20]
lea ecx, [eax + 1]
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
lea edx, [edx + eax + 0x30]
movsx eax, byte [edi + esi]
cmp eax, edx
jne 0x45e69a
mov eax, ecx
mov ecx, 0xa
cdq
idiv ecx
movsx ebp, byte [edi + esi + 1]
add edx, 0x30
cmp ebp, edx
jne 0x45e69a
mov al, byte [edi + esi + 2]
cmp al, bl
je 0x45e666
cmp al, 0x2b
je 0x45e666
cmp al, 0x2d
jne 0x45e69a
cmp byte [edi + esi + 3], bl
jne 0x45e69a
mov al, byte [edi + esi + 4]
cmp al, bl
je 0x45e678
cmp al, 0x2a
jne 0x45e69a
mov dl, byte [edi + esi + 5]
push edx
call fcn.004ec730
add esp, 4
test al, al
jne 0x45e6f5
mov al, byte [edi + esi + 6]
push eax
call fcn.004ec730
add esp, 4
test al, al
jne 0x45e6f5
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
inc edi
lea ebp, [eax - 9]
cmp edi, ebp
jl 0x45e35b
mov ecx, dword [esp + 0x28]
cmp dword [edx], 0
jl 0x45e6c8
cmp dword [ecx], 0xffffffff
jne 0x45e6c8
dec eax
mov dword [ecx], eax
mov edi, dword [esp + 0x24]
mov edx, dword [edi]
test edx, edx
jl 0x45e705
mov eax, dword [esp + 0x28]
cmp dword [eax], 0
jle 0x45e705
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
pop ecx
ret 0x14
mov ecx, dword [esp + 0x28]
mov al, 1
mov dword [ecx], edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x14
mov edx, dword [esp + 0x28]
mov al, 1
mov dword [edx], edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x14
mov eax, 1
cmp ebp, eax
jle 0x45e7bf
cmp edx, 0xffffffff
jne 0x45e75e
mov cl, byte [eax + esi - 1]
cmp cl, 0xd
je 0x45e729
cmp cl, 0x2a
je 0x45e729
cmp cl, bl
jne 0x45e75e
movsx ecx, byte [eax + esi]
mov edx, dword [esp + 0x20]
add edx, 0x30
cmp ecx, edx
jne 0x45e75e
mov cl, byte [eax + esi + 1]
cmp cl, bl
je 0x45e74a
cmp cl, 0x2b
je 0x45e74a
cmp cl, 0x2d
jne 0x45e75e
cmp byte [eax + esi + 2], bl
jne 0x45e75e
cmp byte [eax + esi + 3], bl
je 0x45e75e
cmp byte [eax + esi + 4], bl
je 0x45e75e
mov dword [edi], eax
mov edx, dword [edi]
cmp edx, 0xffffffff
je 0x45e7b6
mov cl, byte [eax + esi - 1]
cmp cl, 0xd
je 0x45e77f
cmp cl, 0x2a
je 0x45e77f
cmp cl, bl
je 0x45e77f
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x45e7b6
movsx ecx, byte [eax + esi]
mov edi, dword [esp + 0x20]
add edi, 0x31
cmp ecx, edi
jne 0x45e7b2
mov cl, byte [eax + esi + 1]
cmp cl, bl
je 0x45e7a0
cmp cl, 0x2b
je 0x45e7a0
cmp cl, 0x2d
jne 0x45e7b2
cmp byte [eax + esi + 2], bl
jne 0x45e7b2
cmp byte [eax + esi + 3], bl
je 0x45e7b2
cmp byte [eax + esi + 4], bl
jne 0x45e7d7
mov edi, dword [esp + 0x24]
inc eax
cmp eax, ebp
jl 0x45e712
cmp dword [edi], 0
jl 0x45e7e7
mov eax, dword [esp + 0x28]
cmp dword [eax], 0
jle 0x45e7e7
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
pop ecx
ret 0x14
mov edx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword [edx], eax
mov al, 1
pop ebx
pop ecx
ret 0x14
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 0x14