Function at 0x414360
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x24
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov ebx, dword [ebp + 0x18]
mov dword [esp + 0x30], ebx
mov esi, dword [ebx + 4]
mov edi, dword [ebx]
test esi, esi
jne 0x41438f
mov eax, dword [ebx + 0xc]
push ebp
call eax
add esp, 4
test al, al
je 0x4146dc
mov edi, dword [ebx]
mov esi, dword [ebx + 4]
movzx ecx, byte [edi]
inc edi
shl ecx, 8
mov dword [esp + 0x1c], ecx
sub esi, 1
jne 0x4143b9
mov eax, dword [ebx + 0xc]
push ebp
call eax
add esp, 4
test al, al
je 0x4146dc
mov edi, dword [ebx]
mov esi, dword [ebx + 4]
mov ecx, dword [esp + 0x1c]
movzx eax, byte [edi]
sub ecx, 2
add ecx, eax
dec esi
inc edi
test ecx, ecx
jle 0x4146b6
nop dword [eax + eax]
dec ecx
mov dword [esp + 0x1c], ecx
test esi, esi
jne 0x4143ef
mov eax, dword [ebx + 0xc]
push ebp
call eax
add esp, 4
test al, al
je 0x4146dc
mov edi, dword [ebx]
mov esi, dword [ebx + 4]
mov eax, dword [ebp]
dec esi
movzx ecx, byte [edi]
inc edi
mov edx, ecx
mov dword [esp + 0x2c], edi
and ecx, 0xf
shr edx, 4
mov dword [eax + 0x14], 0x53
mov eax, dword [ebp]
push 1
push ebp
mov dword [esp + 0x2c], edx
mov dword [eax + 0x18], ecx
mov eax, dword [ebp]
mov dword [esp + 0x28], ecx
mov dword [eax + 0x1c], edx
mov eax, dword [ebp]
mov eax, dword [eax + 4]
call eax
mov ecx, dword [esp + 0x28]
add esp, 8
cmp ecx, 4
jb 0x414454
mov eax, dword [ebp]
push ebp
mov dword [eax + 0x14], 0x20
mov eax, dword [ebp]
mov dword [eax + 0x18], ecx
mov eax, dword [ebp]
mov eax, dword [eax]
call eax
mov ecx, dword [esp + 0x24]
add esp, 4
lea ecx, [ecx + 0x24]
lea eax, [ecx*4]
mov ecx, dword [eax + ebp]
add eax, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], eax
test ecx, ecx
jne 0x414493
mov eax, dword [ebp + 4]
push 0x82
push ecx
push ebp
mov eax, dword [eax]
call eax
mov ecx, eax
add esp, 0xc
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
mov byte [ecx + 0x80], 0
mov dword [eax], ecx
cmp dword [esp + 0x24], 0
mov eax, dword [esp + 0x1c]
je 0x4144cf
cmp eax, 0x80
jge 0x4144fc
movaps xmm0, xmmword [0x4d8890]
movups xmmword [ecx], xmm0
sar eax, 1
movups xmmword [ecx + 0x10], xmm0
movups xmmword [ecx + 0x20], xmm0
movups xmmword [ecx + 0x30], xmm0
movups xmmword [ecx + 0x40], xmm0
movups xmmword [ecx + 0x50], xmm0
movups xmmword [ecx + 0x60], xmm0
movups xmmword [ecx + 0x70], xmm0
jmp 0x414501
cmp eax, 0x40
jge 0x4144fc
movaps xmm0, xmmword [0x4d8890]
movups xmmword [ecx], xmm0
movups xmmword [ecx + 0x10], xmm0
movups xmmword [ecx + 0x20], xmm0
movups xmmword [ecx + 0x30], xmm0
movups xmmword [ecx + 0x40], xmm0
movups xmmword [ecx + 0x50], xmm0
movups xmmword [ecx + 0x60], xmm0
movups xmmword [ecx + 0x70], xmm0
jmp 0x414501
mov eax, 0x40
mov dword [esp + 0x18], eax
add eax, 0xfffffffc
cmp eax, 0x2d
ja case.0x414514.5
movzx eax, byte [eax + 0x414704]
jmp dword [eax*4 + 0x4146e8]
mov dword [esp + 0x14], 0x4d5560
jmp 0x41455f
mov dword [esp + 0x14], 0x4d5310
jmp 0x41455f
mov dword [esp + 0x14], 0x4d51e0
jmp 0x41455f
mov dword [esp + 0x14], 0x4d5260
jmp 0x41455f
mov dword [esp + 0x14], 0x4d5380
jmp 0x41455f
mov dword [esp + 0x14], 0x4d5450
jmp 0x41455f
mov dword [esp + 0x14], 0x4d50a0
xor edx, edx
mov dword [esp + 0x20], edx
cmp dword [esp + 0x18], edx
jle 0x414623
nop
cmp dword [esp + 0x24], 0
je 0x4145d2
test esi, esi
jne 0x414591
mov eax, dword [ebx + 0xc]
push ebp
call eax
add esp, 4
test al, al
je 0x4146dc
mov edi, dword [ebx]
mov esi, dword [ebx + 4]
mov al, byte [edi]
inc edi
mov byte [esp + 0x13], al
sub esi, 1
jne 0x4145b7
mov eax, dword [ebx + 0xc]
push ebp
call eax
add esp, 4
test al, al
je 0x4146dc
mov edi, dword [ebx]
mov esi, dword [ebx + 4]
mov al, byte [esp + 0x13]
mov edx, dword [esp + 0x20]
dec esi
movzx ecx, al
mov eax, 0x100
imul ecx, eax
movzx eax, byte [edi]
add cx, ax
movzx eax, cx
jmp 0x4145f4
test esi, esi
jne 0x4145f0
mov eax, dword [ebx + 0xc]
push ebp
call eax
add esp, 4
test al, al
je 0x4146dc
mov edi, dword [ebx]
mov esi, dword [ebx + 4]
mov edx, dword [esp + 0x20]
movzx eax, byte [edi]
dec esi
mov ecx, dword [esp + 0x28]
inc edi
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x2c], edi
mov eax, dword [eax + edx*4]
inc edx
mov dword [esp + 0x20], edx
mov word [ecx + eax*2], bx
mov ebx, dword [esp + 0x30]
cmp edx, dword [esp + 0x18]
jl 0x414570
mov eax, dword [ebp]
cmp dword [eax + 0x68], 2
jl 0x414696
lea ebx, [ecx + 4]
mov edi, 8
mov ecx, dword [ebp]
movzx eax, word [ebx - 4]
push 2
push ebp
mov dword [ecx + 0x18], eax
movzx eax, word [ebx - 2]
mov dword [ecx + 0x1c], eax
movzx eax, word [ebx]
mov dword [ecx + 0x20], eax
movzx eax, word [ebx + 2]
mov dword [ecx + 0x24], eax
movzx eax, word [ebx + 4]
mov dword [ecx + 0x28], eax
movzx eax, word [ebx + 6]
mov dword [ecx + 0x2c], eax
movzx eax, word [ebx + 8]
mov dword [ecx + 0x30], eax
movzx eax, word [ebx + 0xa]
mov dword [ecx + 0x34], eax
mov eax, dword [ebp]
mov dword [eax + 0x14], 0x5f
mov eax, dword [ebp]
mov eax, dword [eax + 4]
call eax
add esp, 8
lea ebx, [ebx + 0x10]
sub edi, 1
jne 0x414634
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x18]
mov ecx, eax
sub ecx, dword [esp + 0x18]
cmp dword [esp + 0x24], 0
cmove ecx, eax
test ecx, ecx
jg 0x4143d0
test ecx, ecx
je 0x4146cd
mov eax, dword [ebp]
push ebp
mov dword [eax + 0x14], 0xc
mov eax, dword [ebp]
mov eax, dword [eax]
call eax
add esp, 4
mov dword [ebx], edi
mov al, 1
pop edi
mov dword [ebx + 4], esi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x24
ret