Function at 0x45b490
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [eax + 4]
mov byte [eax + 0x16], 0
mov al, byte [ecx]
mov dword [esp + 0x1c], edx
push esi
push edi
cmp al, 0x80
jae 0x45b4c2
movzx esi, al
mov al, 1
mov dword [esp + 0x18], esi
jmp 0x45b52a
mov dl, byte [ecx + 1]
test dl, dl
js 0x45b4df
movzx esi, al
and esi, 0x7f
movzx eax, dl
shl esi, 7
or esi, eax
mov al, 2
mov dword [esp + 0x18], esi
jmp 0x45b52a
mov dh, byte [ecx + 2]
test dh, dh
js 0x45b507
movzx esi, al
and esi, 0x7f
movzx eax, dl
and eax, 0x7f
shl esi, 7
or esi, eax
movzx eax, dh
shl esi, 7
or esi, eax
mov al, 3
mov dword [esp + 0x18], esi
jmp 0x45b52a
lea edx, [esp + 0x28]
call fcn.00435210
mov esi, dword [esp + 0x28]
xor ecx, ecx
mov dword [esp + 0x18], esi
cmp ecx, dword [esp + 0x2c]
je 0x45b527
or esi, 0xffffffff
mov dword [esp + 0x18], esi
mov ecx, dword [ebp + 8]
movzx eax, al
xor edi, edi
mov dword [esp + 0x1c], eax
mov edx, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], 1
cmp eax, esi
jae 0x45b8b6
nop dword [eax]
cmp edx, dword [esp + 0x24]
ja 0x45b8bf
mov edi, dword [esp + 0x1c]
add ecx, edi
mov al, byte [ecx]
cmp al, 0x80
jae 0x45b56d
movzx ecx, al
mov al, 1
jmp 0x45b5c6
mov dl, byte [ecx + 1]
test dl, dl
js 0x45b586
movzx ecx, al
and ecx, 0x7f
movzx eax, dl
shl ecx, 7
or ecx, eax
mov al, 2
jmp 0x45b5c2
mov dh, byte [ecx + 2]
test dh, dh
js 0x45b5aa
movzx ecx, al
and ecx, 0x7f
movzx eax, dl
and eax, 0x7f
shl ecx, 7
or ecx, eax
movzx eax, dh
shl ecx, 7
or ecx, eax
mov al, 3
jmp 0x45b5c2
lea edx, [esp + 0x38]
call fcn.00435210
mov ecx, dword [esp + 0x38]
xor edx, edx
cmp edx, dword [esp + 0x3c]
je 0x45b5c2
or ecx, 0xffffffff
mov edx, dword [esp + 0x10]
movzx eax, al
add edi, eax
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x34]
mov al, byte [edi + 4]
mov byte [ebx + 0x12], al
mov eax, dword [edi + 0xc]
mov edi, dword [ebp + 8]
add edi, edx
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], 0
mov dword [ebx + 8], 0
cmp ecx, 0xb
ja case.default.0x45b5fb
jmp dword [ecx*4 + 0x45b8fc]
mov dword [ebx + 0xc], 0
mov eax, 0x401
mov dword [ebx], 0
mov word [ebx + 0x10], ax
movzx ecx, byte [ecx + 0x506750]
mov edi, dword [esp + 0x20]
add edx, ecx
mov eax, dword [ebp + 0xc]
inc edi
add ebx, 0x28
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], edi
cmp di, word [eax + 0x14]
jae 0x45b8b9
mov ecx, dword [ebp + 8]
cmp dword [esp + 0x1c], esi
jb 0x45b550
jmp 0x45b8b9
mov eax, dword [esp + 0x28]
jmp 0x45b614
movsx eax, byte [edi]
cdq
mov dword [ebx], eax
mov eax, 4
mov dword [ebx + 4], edx
mov edx, dword [esp + 0x10]
jmp 0x45b614
movsx eax, byte [edi]
movzx edx, byte [edi + 1]
shl eax, 8
or eax, edx
cdq
mov dword [ebx], eax
mov eax, 4
mov dword [ebx + 4], edx
mov edx, dword [esp + 0x10]
jmp 0x45b614
movzx eax, byte [edi + 1]
movsx edx, byte [edi]
shl edx, 0x10
shl eax, 8
or eax, edx
movzx edx, byte [edi + 2]
or eax, edx
cdq
mov dword [ebx], eax
mov eax, 4
mov dword [ebx + 4], edx
mov edx, dword [esp + 0x10]
jmp 0x45b614
movzx eax, byte [edi + 1]
movzx edx, byte [edi + 2]
shl eax, 8
or eax, edx
movsx edx, byte [edi]
shl edx, 0x18
shl eax, 8
or eax, edx
movzx edx, byte [edi + 3]
or eax, edx
cdq
mov dword [ebx], eax
mov eax, 4
mov dword [ebx + 4], edx
mov edx, dword [esp + 0x10]
jmp 0x45b614
movzx eax, byte [edi + 2]
cdq
mov esi, eax
mov edi, edx
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x10]
shld edi, esi, 8
shl esi, 8
movzx eax, byte [eax + edx + 3]
cdq
or esi, eax
or edi, edx
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x10]
shld edi, esi, 8
shl esi, 8
movzx eax, byte [eax + edx + 4]
cdq
or esi, eax
or edi, edx
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x10]
shld edi, esi, 8
shl esi, 8
movzx eax, byte [eax + edx + 5]
cdq
or esi, eax
or edi, edx
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], esi
mov esi, dword [ebp + 8]
movsx eax, byte [edx + eax]
shl eax, 8
movzx edx, byte [edx + esi + 1]
mov esi, dword [esp + 0x14]
or eax, edx
add esi, 0
cdq
mov edx, dword [esp + 0x10]
adc edi, eax
mov dword [ebx], esi
mov esi, dword [esp + 0x18]
mov eax, 4
mov dword [ebx + 4], edi
jmp 0x45b614
movzx eax, byte [edi]
cdq
mov esi, edx
shld esi, eax, 8
shl eax, 8
mov dword [esp + 0x14], eax
movzx eax, byte [edi + 1]
cdq
or dword [esp + 0x14], eax
or esi, edx
mov eax, dword [esp + 0x14]
shld esi, eax, 8
shl eax, 8
mov dword [esp + 0x14], eax
movzx eax, byte [edi + 2]
cdq
or dword [esp + 0x14], eax
or esi, edx
mov eax, dword [esp + 0x14]
shld esi, eax, 8
shl eax, 8
mov dword [esp + 0x14], eax
movzx eax, byte [edi + 3]
cdq
or dword [esp + 0x14], eax
movzx eax, byte [edi + 4]
cdq
mov esi, eax
mov edi, edx
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x10]
shld edi, esi, 8
shl esi, 8
movzx eax, byte [eax + edx + 5]
cdq
or esi, eax
or edi, edx
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x10]
shld edi, esi, 8
shl esi, 8
movzx eax, byte [eax + edx + 6]
cdq
or esi, eax
or edi, edx
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x10]
shld edi, esi, 8
shl esi, 8
movzx eax, byte [eax + edx + 7]
cdq
or edi, edx
or esi, eax
mov eax, dword [esp + 0x14]
xor edx, edx
add edx, esi
mov dword [ebx], edx
adc eax, edi
mov dword [ebx + 4], eax
cmp ecx, 6
jne 0x45b838
mov esi, dword [esp + 0x18]
mov eax, 4
mov edx, dword [esp + 0x10]
movzx eax, ax
jmp 0x45b614
mov esi, eax
and esi, 0x7ff00000
cmp esi, 0x7ff00000
jne 0x45b856
and eax, 0xfffff
or edx, eax
mov eax, 1
jne 0x45b85b
mov eax, 8
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
movzx eax, ax
movzx eax, ax
jmp 0x45b614
lea eax, [ecx - 8]
mov dword [ebx + 4], 0
mov dword [ebx], eax
mov eax, 4
jmp 0x45b614
lea eax, [ecx - 0xc]
mov dword [ebx + 8], edi
shr eax, 1
mov dword [ebx + 0xc], eax
mov eax, ecx
and eax, 1
movzx eax, word [eax*2 + 0x509bb8]
mov word [ebx + 0x10], ax
cmp ecx, 0x80
jb 0x45b618
add ecx, 0xfffffff4
shr ecx, 1
jmp 0x45b61f
mov eax, dword [ebp + 0xc]
cmp edx, dword [esp + 0x24]
jbe 0x45b8f0
test di, di
je 0x45b8ed
mov eax, 0x9000
test word [ebx - 0x18], ax
je 0x45b8e5
lea ecx, [ebx - 0x28]
call fcn.00456580
mov eax, dword [ebp + 0xc]
mov word [eax + 0x14], di
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x28]
mov word [ebx - 0x18], ax
mov eax, dword [ebp + 0xc]
mov word [eax + 0x14], di
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret