Function at 0x487bf0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], eax
test edi, edi
je 0x487eb0
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x487eb0
push 0x134
push eax
push ebx
call fcn.0050a9d8
movzx eax, word [edi + 2]
add esp, 0xc
test al, 0xf
je 0x487c46
and eax, 0xf
pop edi
add eax, 0x4e232
pop ebx
mov esp, ebp
pop ebp
ret
cmp word [edi + 4], 0
push esi
je 0x487ea4
cmp word [edi + 6], 0
je 0x487e98
mov eax, dword [edi + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], eax
cmp eax, 0x80
jg 0x487e8c
push eax
push ecx
lea esi, [ebx + 0xb4]
push esi
call fcn.0050a9cc
mov eax, dword [ebp - 0xc]
mov ecx, 0x80
sub ecx, eax
mov dword [ebx + 4], eax
mov dword [ebx], esi
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x14], ecx
xor esi, esi
cmp ax, word [edi + 6]
jae 0x487cca
xor ebx, ebx
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [edi + 0x10]
add eax, ebx
push eax
call fcn.0043e2a0
add esp, 8
test eax, eax
je 0x487cca
movzx eax, word [edi + 6]
inc esi
add ebx, 0x28
cmp esi, eax
jb 0x487ca8
movzx ebx, word [edi + 6]
cmp esi, ebx
je 0x487e98
mov edx, dword [edi + 0x10]
lea eax, [ebp - 0x1c]
mov dword [ebp + 8], eax
mov ecx, ebx
lea eax, [esi + esi*4]
cmp word [edx + eax*8 + 8], 5
jne 0x487d78
mov ecx, dword [ebp - 4]
mov eax, ecx
inc ecx
mov dword [ebp - 4], ecx
movzx ecx, bx
cmp eax, 0x14
jae 0x487d6e
lea ecx, [esi*4 + 3]
add ecx, esi
cmp dword [ebp - 8], 0
lea ecx, [edx + ecx*8]
mov dword [ebp + 8], ecx
jne 0x487d21
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, bx
jae 0x487d52
xor ebx, ebx
nop dword [eax]
mov eax, dword [edi + 0x10]
add eax, ebx
push eax
push ecx
call fcn.0043e2a0
add esp, 8
test eax, eax
je 0x487d52
movzx eax, word [edi + 6]
inc esi
mov ecx, dword [ebp + 8]
add ebx, 0x28
cmp esi, eax
jb 0x487d30
movzx ecx, word [edi + 6]
cmp esi, ecx
je 0x487e98
mov edx, dword [edi + 0x10]
lea eax, [esi + esi*4]
mov ebx, ecx
cmp word [edx + eax*8 + 8], 5
je 0x487cf0
cmp dword [ebp - 4], 0x14
jae 0x487ea4
lea eax, [esi + esi*4]
movzx eax, word [edx + eax*8 + 8]
cmp eax, 1
je 0x487d8e
cmp eax, 0x1c
jne 0x487ea4
mov ebx, dword [ebp - 8]
movzx eax, cx
test ebx, ebx
je 0x487dc9
cmp ebx, dword [ebp - 0x14]
jg 0x487e8c
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.0050a9cc
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov dword [eax + 8], esi
mov dword [eax + 0xc], ebx
movzx eax, word [edi + 6]
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
cmp si, ax
jae 0x487e79
mov ebx, dword [ebp + 0xc]
add ebx, 0x18
cmp ecx, 8
jae 0x487e79
mov eax, dword [edi + 0x10]
add eax, esi
mov dword [ebp - 0x14], eax
movzx eax, word [eax + 8]
cmp eax, 1
je 0x487e03
cmp eax, 0x1c
jne 0x487e66
push dword [ebp + 8]
push dword [ebp - 0x14]
call fcn.0043e2a0
add esp, 8
test eax, eax
jne 0x487e60
mov eax, dword [edi + 0x10]
cmp word [esi + eax + 8], 1
jne 0x487e3f
movzx eax, word [0x526518]
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 0x487e63
movzx eax, word [0x52651c]
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 0x487e63
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 0x487de4
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x10], ecx
test ecx, ecx
je 0x487e98
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
pop edi
mov eax, 0x11175
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
pop edi
mov eax, 0x4e22f
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
pop edi
mov eax, 0x4e230
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 0x11174
pop ebx
mov esp, ebp
pop ebp
ret