Function at 0x480620
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 0x4808d4
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4808d4
push 0x134
push ebx
push esi
call fcn.00502bf0
movzx eax, word [edi + 2]
add esp, 0xc
test al, 0xf
je 0x480674
pop edi
and eax, 0xf
pop esi
add eax, 0x4e232
pop ebx
mov esp, ebp
pop ebp
ret
cmp word [edi + 4], bx
je 0x4808c8
cmp word [edi + 6], bx
je 0x4808bc
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 0x4808b0
push eax
push ecx
add esi, 0xb4
push esi
call fcn.00502d50
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 0x4806fa
xor ebx, ebx
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [edi + 0x10]
add eax, ebx
push eax
call fcn.0041d1f0
add esp, 8
test eax, eax
je 0x4806f8
movzx eax, word [edi + 6]
inc esi
add ebx, 0x28
cmp esi, eax
jb 0x4806d6
xor ebx, ebx
movzx edx, word [edi + 6]
cmp esi, edx
je 0x4808bc
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 0x48079a
jmp 0x480723
mov ebx, dword [ebp - 8]
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
cmp eax, 0x14
jae 0x480790
lea eax, [esi + esi*4]
lea ecx, [ecx + eax*8]
add ecx, 0x18
mov dword [ebp + 8], ecx
test ebx, ebx
jne 0x480749
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 0x480776
xor ebx, ebx
mov eax, dword [edi + 0x10]
add eax, ebx
push eax
push ecx
call fcn.0041d1f0
add esp, 8
test eax, eax
je 0x480776
movzx eax, word [edi + 6]
inc esi
mov ecx, dword [ebp + 8]
add ebx, 0x28
cmp esi, eax
jb 0x480754
movzx edx, word [edi + 6]
cmp esi, edx
je 0x4808bc
mov ecx, dword [edi + 0x10]
lea eax, [esi + esi*4]
cmp word [ecx + eax*8 + 8], 5
je 0x480720
cmp dword [ebp - 4], 0x14
jae 0x4808c8
lea eax, [esi + esi*4]
movzx eax, word [ecx + eax*8 + 8]
cmp eax, 1
je 0x4807b0
cmp eax, 0x1c
jne 0x4808c8
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4807e6
cmp ebx, dword [ebp - 0x14]
jg 0x4808b0
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.00502d50
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov dword [eax + 8], esi
mov dword [eax + 0xc], ebx
jmp 0x4807e9
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 0x48089a
lea ebx, [eax + 0x18]
cmp ecx, 8
jae 0x480897
mov eax, dword [edi + 0x10]
add eax, esi
mov dword [ebp - 0x14], eax
movzx eax, word [eax + 8]
cmp eax, 1
je 0x480821
cmp eax, 0x1c
jne 0x480884
push dword [ebp + 8]
push dword [ebp - 0x14]
call fcn.0041d1f0
add esp, 8
test eax, eax
jne 0x48087e
mov eax, dword [edi + 0x10]
cmp word [esi + eax + 8], 1
jne 0x48085d
movzx eax, word [0x56dc58]
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 0x480881
movzx eax, word [0x56dc5c]
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 0x480881
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 0x480802
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