Function at 0x45ea90
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 0x45ee2b
mov cl, byte [edi + esi]
cmp cl, 0xd
jne 0x45eae0
mov dword [esp + 0x10], 0
jmp 0x45ee1b
cmp dword [esp + 0x10], 0x50
jne 0x45eaef
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x20]
cmp eax, 9
mov eax, dword [edx]
jg 0x45ebda
cmp eax, 0xffffffff
jne 0x45ecc5
mov al, byte [edi + esi - 1]
cmp al, 0xd
je 0x45eb1b
cmp al, 0x2a
je 0x45eb1b
cmp al, bl
jne 0x45ecc5
mov eax, dword [esp + 0x20]
movsx ecx, cl
add eax, 0x30
cmp ecx, eax
jne 0x45ecc5
mov al, byte [edi + esi + 1]
cmp al, bl
je 0x45eb45
cmp al, 0x2b
je 0x45eb45
cmp al, 0x2d
je 0x45eb45
cmp al, 0x5e
jne 0x45ecc5
cmp byte [edi + esi + 2], bl
jne 0x45ecc5
mov al, byte [edi + esi + 3]
cmp al, bl
je 0x45eb5f
cmp al, 0x2a
jne 0x45ecc5
mov dl, byte [edi + esi + 4]
push edx
call fcn.004edd20
add esp, 4
test al, al
jne 0x45eb85
mov al, byte [edi + esi + 4]
push eax
call fcn.004edd40
add esp, 4
test al, al
je 0x45ecc5
mov cl, byte [edi + esi + 5]
push ecx
call fcn.004edd20
add esp, 4
test al, al
jne 0x45ebab
mov dl, byte [edi + esi + 5]
push edx
call fcn.004edd40
add esp, 4
test al, al
je 0x45ecc5
mov al, byte [edi + esi + 6]
push eax
call fcn.004edd20
add esp, 4
test al, al
jne 0x45ecbf
mov cl, byte [edi + esi + 6]
push ecx
call fcn.004edd40
add esp, 4
test al, al
je 0x45ecc5
jmp 0x45ecbf
cmp eax, 0xffffffff
jne 0x45ecc5
mov al, byte [edi + esi - 1]
cmp al, 0xd
je 0x45ebf7
cmp al, 0x2a
je 0x45ebf7
cmp al, bl
jne 0x45ecc5
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 0x45ecc5
mov eax, ebp
mov ebp, 0xa
cdq
idiv ebp
movsx ecx, byte [edi + esi + 1]
add edx, 0x30
cmp ecx, edx
jne 0x45ecc5
mov al, byte [edi + esi + 2]
cmp al, bl
je 0x45ec47
cmp al, 0x2b
je 0x45ec47
cmp al, 0x2d
je 0x45ec47
cmp al, 0x5e
jne 0x45ecc5
cmp byte [edi + esi + 3], bl
jne 0x45ecc5
mov al, byte [edi + esi + 4]
cmp al, bl
je 0x45ec59
cmp al, 0x2a
jne 0x45ecc5
mov dl, byte [edi + esi + 5]
push edx
call fcn.004edd20
add esp, 4
test al, al
jne 0x45ec7b
mov al, byte [edi + esi + 5]
push eax
call fcn.004edd40
add esp, 4
test al, al
je 0x45ecc5
mov cl, byte [edi + esi + 6]
push ecx
call fcn.004edd20
add esp, 4
test al, al
jne 0x45ec9d
mov dl, byte [edi + esi + 6]
push edx
call fcn.004edd40
add esp, 4
test al, al
je 0x45ecc5
mov al, byte [edi + esi + 7]
push eax
call fcn.004edd20
add esp, 4
test al, al
jne 0x45ecbf
mov cl, byte [edi + esi + 7]
push ecx
call fcn.004edd40
add esp, 4
test al, al
je 0x45ecc5
mov edx, dword [esp + 0x24]
mov dword [edx], edi
cmp dword [esp + 0x20], 9
jge 0x45ed69
mov eax, dword [esp + 0x24]
cmp dword [eax], 0xffffffff
je 0x45ee0a
mov al, byte [edi + esi - 1]
cmp al, 0xd
je 0x45ecf9
cmp al, 0x2a
je 0x45ecf9
cmp al, bl
je 0x45ecf9
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x45ee0a
mov ecx, dword [esp + 0x20]
movsx edx, byte [edi + esi]
add ecx, 0x31
cmp edx, ecx
jne 0x45ee0a
mov al, byte [edi + esi + 1]
cmp al, bl
je 0x45ed20
cmp al, 0x2b
je 0x45ed20
cmp al, 0x2d
jne 0x45ee0a
cmp byte [edi + esi + 2], bl
jne 0x45ee0a
mov al, byte [edi + esi + 3]
cmp al, bl
je 0x45ed3a
cmp al, 0x2a
jne 0x45ee0a
mov al, byte [edi + esi + 4]
push eax
call fcn.004edd40
add esp, 4
test al, al
jne 0x45ee55
mov cl, byte [edi + esi + 5]
push ecx
call fcn.004edd40
add esp, 4
test al, al
jne 0x45ee55
jmp 0x45ee0a
mov edx, dword [esp + 0x24]
cmp dword [edx], 0xffffffff
je 0x45ee0a
mov al, byte [edi + esi - 1]
cmp al, 0xd
je 0x45ed8e
cmp al, 0x2a
je 0x45ed8e
cmp al, bl
je 0x45ed8e
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x45ee0a
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 0x45ee0a
mov eax, ecx
mov ecx, 0xa
cdq
idiv ecx
movsx ebp, byte [edi + esi + 1]
add edx, 0x30
cmp ebp, edx
jne 0x45ee0a
mov al, byte [edi + esi + 2]
cmp al, bl
je 0x45edd6
cmp al, 0x2b
je 0x45edd6
cmp al, 0x2d
jne 0x45ee0a
cmp byte [edi + esi + 3], bl
jne 0x45ee0a
mov al, byte [edi + esi + 4]
cmp al, bl
je 0x45ede8
cmp al, 0x2a
jne 0x45ee0a
mov dl, byte [edi + esi + 5]
push edx
call fcn.004edd40
add esp, 4
test al, al
jne 0x45ee65
mov al, byte [edi + esi + 6]
push eax
call fcn.004edd40
add esp, 4
test al, al
jne 0x45ee65
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 0x45eacb
mov ecx, dword [esp + 0x28]
cmp dword [edx], 0
jl 0x45ee38
cmp dword [ecx], 0xffffffff
jne 0x45ee38
dec eax
mov dword [ecx], eax
mov edi, dword [esp + 0x24]
mov edx, dword [edi]
test edx, edx
jl 0x45ee75
mov eax, dword [esp + 0x28]
cmp dword [eax], 0
jle 0x45ee75
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 0x45ef2f
cmp edx, 0xffffffff
jne 0x45eece
mov cl, byte [eax + esi - 1]
cmp cl, 0xd
je 0x45ee99
cmp cl, 0x2a
je 0x45ee99
cmp cl, bl
jne 0x45eece
movsx ecx, byte [eax + esi]
mov edx, dword [esp + 0x20]
add edx, 0x30
cmp ecx, edx
jne 0x45eece
mov cl, byte [eax + esi + 1]
cmp cl, bl
je 0x45eeba
cmp cl, 0x2b
je 0x45eeba
cmp cl, 0x2d
jne 0x45eece
cmp byte [eax + esi + 2], bl
jne 0x45eece
cmp byte [eax + esi + 3], bl
je 0x45eece
cmp byte [eax + esi + 4], bl
je 0x45eece
mov dword [edi], eax
mov edx, dword [edi]
cmp edx, 0xffffffff
je 0x45ef26
mov cl, byte [eax + esi - 1]
cmp cl, 0xd
je 0x45eeef
cmp cl, 0x2a
je 0x45eeef
cmp cl, bl
je 0x45eeef
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x45ef26
movsx ecx, byte [eax + esi]
mov edi, dword [esp + 0x20]
add edi, 0x31
cmp ecx, edi
jne 0x45ef22
mov cl, byte [eax + esi + 1]
cmp cl, bl
je 0x45ef10
cmp cl, 0x2b
je 0x45ef10
cmp cl, 0x2d
jne 0x45ef22
cmp byte [eax + esi + 2], bl
jne 0x45ef22
cmp byte [eax + esi + 3], bl
je 0x45ef22
cmp byte [eax + esi + 4], bl
jne 0x45ef47
mov edi, dword [esp + 0x24]
inc eax
cmp eax, ebp
jl 0x45ee82
cmp dword [edi], 0
jl 0x45ef57
mov eax, dword [esp + 0x28]
cmp dword [eax], 0
jle 0x45ef57
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