Function at 0x40f4e0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x10], 0
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
test edi, edi
je 0x40f794
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x40f794
push 0x134
push ebx
push esi
call fcn.004244d0
movzx eax, word [edi + 2]
add esp, 0xc
test al, 0xf
je 0x40f534
pop edi
and eax, 0xf
pop esi
add eax, 0x4e232
pop ebx
mov esp, ebp
pop ebp
ret
cmp word [edi + 4], bx
je 0x40f788
cmp word [edi + 6], bx
je 0x40f77c
mov eax, dword [edi + 0xc]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], eax
cmp eax, 0x80
jg 0x40f770
push eax
push ecx
add esi, 0xb4
push esi
call fcn.00424630
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword [eax], esi
xor esi, esi
mov dword [eax + 4], ecx
mov eax, 0x80
sub eax, ecx
mov dword [ebp - 0x14], eax
xor eax, eax
cmp ax, word [edi + 6]
jae 0x40f5ba
xor ebx, ebx
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [edi + 0x10]
add eax, ebx
push eax
call fcn.0041a4a0
add esp, 8
test eax, eax
je 0x40f5b8
movzx eax, word [edi + 6]
inc esi
add ebx, 0x28
cmp esi, eax
jb 0x40f596
xor ebx, ebx
movzx edx, word [edi + 6]
cmp esi, edx
je 0x40f77c
mov ecx, dword [edi + 0x10]
lea eax, [ebp - 0x1c]
mov dword [ebp + 8], eax
lea eax, [esi + esi*4]
cmp word [ecx + eax*8 + 8], 5
jne 0x40f65a
jmp 0x40f5e3
mov ebx, dword [ebp - 8]
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
cmp eax, 0x14
jae 0x40f650
lea eax, [esi + esi*4]
lea ecx, [ecx + eax*8]
add ecx, 0x18
mov dword [ebp + 8], ecx
test ebx, ebx
jne 0x40f609
mov eax, dword [ecx]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 8], eax
xor eax, eax
xor esi, esi
cmp ax, dx
jae 0x40f636
xor ebx, ebx
mov eax, dword [edi + 0x10]
add eax, ebx
push eax
push ecx
call fcn.0041a4a0
add esp, 8
test eax, eax
je 0x40f636
movzx eax, word [edi + 6]
inc esi
mov ecx, dword [ebp + 8]
add ebx, 0x28
cmp esi, eax
jb 0x40f614
movzx edx, word [edi + 6]
cmp esi, edx
je 0x40f77c
mov ecx, dword [edi + 0x10]
lea eax, [esi + esi*4]
cmp word [ecx + eax*8 + 8], 5
je 0x40f5e0
cmp dword [ebp - 4], 0x14
jae 0x40f788
lea eax, [esi + esi*4]
movzx eax, word [ecx + eax*8 + 8]
cmp eax, 1
je 0x40f670
cmp eax, 0x1c
jne 0x40f788
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40f6a6
cmp ebx, dword [ebp - 0x14]
jg 0x40f770
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp + 0xc]
add ecx, 0xb4
push ebx
push dword [ebp - 0x10]
add esi, ecx
push esi
call fcn.00424630
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov dword [eax + 8], esi
mov dword [eax + 0xc], ebx
jmp 0x40f6a9
mov eax, dword [ebp + 0xc]
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
cmp si, word [edi + 6]
jae 0x40f75a
lea ebx, [eax + 0x18]
cmp ecx, 8
jae 0x40f757
mov eax, dword [edi + 0x10]
add eax, esi
mov dword [ebp - 0x14], eax
movzx eax, word [eax + 8]
cmp eax, 1
je 0x40f6e1
cmp eax, 0x1c
jne 0x40f744
push dword [ebp + 8]
push dword [ebp - 0x14]
call fcn.0041a4a0
add esp, 8
test eax, eax
jne 0x40f73e
mov eax, dword [edi + 0x10]
cmp word [esi + eax + 8], 1
jne 0x40f71d
movzx eax, word [0x474170]
mov ecx, dword [ebp - 8]
mov dword [ebx - 4], eax
inc ecx
mov eax, dword [edi + 0x10]
mov dword [ebp - 8], ecx
mov eax, dword [esi + eax + 0x18]
mov dword [ebx], eax
add ebx, 0x14
jmp 0x40f741
movzx eax, word [0x474174]
mov ecx, dword [ebp - 8]
mov dword [ebx - 4], eax
inc ecx
mov eax, dword [edi + 0x10]
mov dword [ebp - 8], ecx
movups xmm0, xmmword [esi + eax + 0x18]
movups xmmword [ebx], xmm0
add ebx, 0x14
jmp 0x40f741
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
movzx eax, word [edi + 6]
inc edx
add esi, 0x28
mov dword [ebp - 4], edx
cmp edx, eax
jb 0x40f6c2
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x10], ecx
mov edx, 0x4e22f
xor eax, eax
test ecx, ecx
pop edi
pop esi
cmove eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x11175
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x4e22f
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x4e230
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x11174
pop ebx
mov esp, ebp
pop ebp
ret