Function at 0x45e1b0
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 0x45e54b
mov cl, byte [edi + esi]
cmp cl, 0xd
jne 0x45e200
mov dword [esp + 0x10], 0
jmp 0x45e53b
cmp dword [esp + 0x10], 0x50
jne 0x45e20f
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x20]
cmp eax, 9
mov eax, dword [edx]
jg 0x45e2fa
cmp eax, 0xffffffff
jne 0x45e3e5
mov al, byte [edi + esi - 1]
cmp al, 0xd
je 0x45e23b
cmp al, 0x2a
je 0x45e23b
cmp al, bl
jne 0x45e3e5
mov eax, dword [esp + 0x20]
movsx ecx, cl
add eax, 0x30
cmp ecx, eax
jne 0x45e3e5
mov al, byte [edi + esi + 1]
cmp al, bl
je 0x45e265
cmp al, 0x2b
je 0x45e265
cmp al, 0x2d
je 0x45e265
cmp al, 0x5e
jne 0x45e3e5
cmp byte [edi + esi + 2], bl
jne 0x45e3e5
mov al, byte [edi + esi + 3]
cmp al, bl
je 0x45e27f
cmp al, 0x2a
jne 0x45e3e5
mov dl, byte [edi + esi + 4]
push edx
call fcn.004ed140
add esp, 4
test al, al
jne 0x45e2a5
mov al, byte [edi + esi + 4]
push eax
call fcn.004ed160
add esp, 4
test al, al
je 0x45e3e5
mov cl, byte [edi + esi + 5]
push ecx
call fcn.004ed140
add esp, 4
test al, al
jne 0x45e2cb
mov dl, byte [edi + esi + 5]
push edx
call fcn.004ed160
add esp, 4
test al, al
je 0x45e3e5
mov al, byte [edi + esi + 6]
push eax
call fcn.004ed140
add esp, 4
test al, al
jne 0x45e3df
mov cl, byte [edi + esi + 6]
push ecx
call fcn.004ed160
add esp, 4
test al, al
je 0x45e3e5
jmp 0x45e3df
cmp eax, 0xffffffff
jne 0x45e3e5
mov al, byte [edi + esi - 1]
cmp al, 0xd
je 0x45e317
cmp al, 0x2a
je 0x45e317
cmp al, bl
jne 0x45e3e5
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 0x45e3e5
mov eax, ebp
mov ebp, 0xa
cdq
idiv ebp
movsx ecx, byte [edi + esi + 1]
add edx, 0x30
cmp ecx, edx
jne 0x45e3e5
mov al, byte [edi + esi + 2]
cmp al, bl
je 0x45e367
cmp al, 0x2b
je 0x45e367
cmp al, 0x2d
je 0x45e367
cmp al, 0x5e
jne 0x45e3e5
cmp byte [edi + esi + 3], bl
jne 0x45e3e5
mov al, byte [edi + esi + 4]
cmp al, bl
je 0x45e379
cmp al, 0x2a
jne 0x45e3e5
mov dl, byte [edi + esi + 5]
push edx
call fcn.004ed140
add esp, 4
test al, al
jne 0x45e39b
mov al, byte [edi + esi + 5]
push eax
call fcn.004ed160
add esp, 4
test al, al
je 0x45e3e5
mov cl, byte [edi + esi + 6]
push ecx
call fcn.004ed140
add esp, 4
test al, al
jne 0x45e3bd
mov dl, byte [edi + esi + 6]
push edx
call fcn.004ed160
add esp, 4
test al, al
je 0x45e3e5
mov al, byte [edi + esi + 7]
push eax
call fcn.004ed140
add esp, 4
test al, al
jne 0x45e3df
mov cl, byte [edi + esi + 7]
push ecx
call fcn.004ed160
add esp, 4
test al, al
je 0x45e3e5
mov edx, dword [esp + 0x24]
mov dword [edx], edi
cmp dword [esp + 0x20], 9
jge 0x45e489
mov eax, dword [esp + 0x24]
cmp dword [eax], 0xffffffff
je 0x45e52a
mov al, byte [edi + esi - 1]
cmp al, 0xd
je 0x45e419
cmp al, 0x2a
je 0x45e419
cmp al, bl
je 0x45e419
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x45e52a
mov ecx, dword [esp + 0x20]
movsx edx, byte [edi + esi]
add ecx, 0x31
cmp edx, ecx
jne 0x45e52a
mov al, byte [edi + esi + 1]
cmp al, bl
je 0x45e440
cmp al, 0x2b
je 0x45e440
cmp al, 0x2d
jne 0x45e52a
cmp byte [edi + esi + 2], bl
jne 0x45e52a
mov al, byte [edi + esi + 3]
cmp al, bl
je 0x45e45a
cmp al, 0x2a
jne 0x45e52a
mov al, byte [edi + esi + 4]
push eax
call fcn.004ed160
add esp, 4
test al, al
jne 0x45e575
mov cl, byte [edi + esi + 5]
push ecx
call fcn.004ed160
add esp, 4
test al, al
jne 0x45e575
jmp 0x45e52a
mov edx, dword [esp + 0x24]
cmp dword [edx], 0xffffffff
je 0x45e52a
mov al, byte [edi + esi - 1]
cmp al, 0xd
je 0x45e4ae
cmp al, 0x2a
je 0x45e4ae
cmp al, bl
je 0x45e4ae
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x45e52a
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 0x45e52a
mov eax, ecx
mov ecx, 0xa
cdq
idiv ecx
movsx ebp, byte [edi + esi + 1]
add edx, 0x30
cmp ebp, edx
jne 0x45e52a
mov al, byte [edi + esi + 2]
cmp al, bl
je 0x45e4f6
cmp al, 0x2b
je 0x45e4f6
cmp al, 0x2d
jne 0x45e52a
cmp byte [edi + esi + 3], bl
jne 0x45e52a
mov al, byte [edi + esi + 4]
cmp al, bl
je 0x45e508
cmp al, 0x2a
jne 0x45e52a
mov dl, byte [edi + esi + 5]
push edx
call fcn.004ed160
add esp, 4
test al, al
jne 0x45e585
mov al, byte [edi + esi + 6]
push eax
call fcn.004ed160
add esp, 4
test al, al
jne 0x45e585
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 0x45e1eb
mov ecx, dword [esp + 0x28]
cmp dword [edx], 0
jl 0x45e558
cmp dword [ecx], 0xffffffff
jne 0x45e558
dec eax
mov dword [ecx], eax
mov edi, dword [esp + 0x24]
mov edx, dword [edi]
test edx, edx
jl 0x45e595
mov eax, dword [esp + 0x28]
cmp dword [eax], 0
jle 0x45e595
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 0x45e64f
cmp edx, 0xffffffff
jne 0x45e5ee
mov cl, byte [eax + esi - 1]
cmp cl, 0xd
je 0x45e5b9
cmp cl, 0x2a
je 0x45e5b9
cmp cl, bl
jne 0x45e5ee
movsx ecx, byte [eax + esi]
mov edx, dword [esp + 0x20]
add edx, 0x30
cmp ecx, edx
jne 0x45e5ee
mov cl, byte [eax + esi + 1]
cmp cl, bl
je 0x45e5da
cmp cl, 0x2b
je 0x45e5da
cmp cl, 0x2d
jne 0x45e5ee
cmp byte [eax + esi + 2], bl
jne 0x45e5ee
cmp byte [eax + esi + 3], bl
je 0x45e5ee
cmp byte [eax + esi + 4], bl
je 0x45e5ee
mov dword [edi], eax
mov edx, dword [edi]
cmp edx, 0xffffffff
je 0x45e646
mov cl, byte [eax + esi - 1]
cmp cl, 0xd
je 0x45e60f
cmp cl, 0x2a
je 0x45e60f
cmp cl, bl
je 0x45e60f
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x45e646
movsx ecx, byte [eax + esi]
mov edi, dword [esp + 0x20]
add edi, 0x31
cmp ecx, edi
jne 0x45e642
mov cl, byte [eax + esi + 1]
cmp cl, bl
je 0x45e630
cmp cl, 0x2b
je 0x45e630
cmp cl, 0x2d
jne 0x45e642
cmp byte [eax + esi + 2], bl
jne 0x45e642
cmp byte [eax + esi + 3], bl
je 0x45e642
cmp byte [eax + esi + 4], bl
jne 0x45e667
mov edi, dword [esp + 0x24]
inc eax
cmp eax, ebp
jl 0x45e5a2
cmp dword [edi], 0
jl 0x45e677
mov eax, dword [esp + 0x28]
cmp dword [eax], 0
jle 0x45e677
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