Function at 0x10051250
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x102df830], 0
je 0x10051650
mov eax, dword [ebp + 8]
cmp byte [eax + 5], 0
jne 0x1005128e
movzx ecx, word [eax + 6]
mov dword [0x1027cb3c], ecx
xor ecx, ecx
cmp dword [0x1027cb40], ecx
setne cl
lea ecx, [ecx*2 + 1]
mov dword [0x1027cb40], ecx
cmp byte [eax + 5], 1
jne 0x100512e3
cmp dword [0x1025d0d8], 0
jne 0x100512b5
mov dword [0x1025d0d8], 1
mov byte [0x102be33d], 0
mov byte [0x102be2dd], 1
cmp dword [0x1027cb50], 0
movzx ecx, word [eax + 6]
mov dword [0x1027cb4c], ecx
je 0x100512d9
cmp word [eax + 6], 0
mov dword [0x1027cb50], 0
je 0x100512e3
mov dword [0x1027cb50], 1
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 8]
push esi
mov dword [edx + 0x1027cb64], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0xc]
mov dword [edx + 0x1027cb68], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x1027cb6c], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x1027cb70], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x1027cb74], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x1c]
mov dword [edx + 0x1027cb78], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x1027cb7c], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
movzx ecx, word [eax + 0x24]
mov word [edx + 0x1027cb80], cx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x28]
mov dword [edx + 0x1027cb84], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x1027cb88], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
movzx ecx, word [eax + 0x30]
mov word [edx + 0x1027cb8c], cx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x34]
mov dword [edx + 0x1027cb90], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x38]
mov dword [edx + 0x1027cb94], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
movzx ecx, byte [eax + 0x3c]
mov byte [edx + 0x1027cb98], cl
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
movzx ecx, byte [eax + 0x3d]
mov byte [edx + 0x1027cb99], cl
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x40]
mov dword [edx + 0x1027cb9c], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x44]
mov dword [edx + 0x1027cba0], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x48]
mov dword [edx + 0x1027cba4], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x58]
mov dword [edx + 0x1027cbb4], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x5c]
mov dword [edx + 0x1027cbb8], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
movzx ecx, byte [eax + 0x4c]
mov byte [edx + 0x1027cba8], cl
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x54]
mov dword [edx + 0x1027cbb0], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x50]
mov dword [edx + 0x1027cbac], ecx
xor edx, edx
movzx ecx, byte [eax + 5]
movups xmm0, xmmword [eax + 0x64]
imul ecx, ecx, 0x208
add ecx, 0x1027cd4c
xor esi, esi
movups xmmword [ecx], xmm0
movups xmm0, xmmword [eax + 0x74]
movups xmmword [ecx + 0x10], xmm0
movzx ecx, byte [eax + 5]
imul ecx, ecx, 0x82
add ecx, edx
mov dword [ecx*4 + 0x1027cbbc], 0
movzx ecx, byte [eax + 5]
imul ecx, ecx, 0x82
add ecx, edx
mov dword [ecx*4 + 0x1027cbe4], 0
movzx ecx, byte [eax + 5]
imul ecx, ecx, 0x82
add ecx, edx
mov dword [ecx*4 + 0x1027cc0c], 0
movzx ecx, byte [eax + 5]
imul ecx, ecx, 0x208
mov dword [ecx + esi + 0x1027cc34], 0xffffffff
mov dword [ecx + esi + 0x1027cc38], 0xffffffff
mov dword [ecx + esi + 0x1027cc3c], 0xffffffff
movzx ecx, byte [eax + 5]
imul ecx, ecx, 0x82
add ecx, edx
inc edx
mov dword [ecx*4 + 0x1027ccac], 0
movzx ecx, byte [eax + 5]
imul ecx, ecx, 0x208
mov dword [ecx + esi + 0x1027ccd4], 0xffffffff
mov dword [ecx + esi + 0x1027ccd8], 0xffffffff
mov dword [ecx + esi + 0x1027ccdc], 0xffffffff
add esi, 0xc
cmp esi, 0x78
jl 0x100514c3
push ebx
xor edx, edx
xor ebx, ebx
push edi
xor edi, edi
mov dword [ebp - 8], edx
cmp dword [eax + 0x60], edx
jle 0x1005164d
mov dword [ebp - 4], edx
lea esi, [eax + 0x8c]
mov dword [ebp + 8], edx
movzx ecx, byte [eax + 5]
imul ecx, ecx, 0x82
cmp dword [esi - 8], 1
jne 0x10051606
lea edx, [ecx + edi]
mov ecx, dword [esi - 4]
mov dword [edx*4 + 0x1027cbbc], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x82
mov ecx, dword [esi]
add edx, edi
mov dword [edx*4 + 0x1027cbe4], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x82
mov ecx, dword [esi + 4]
add edx, edi
inc edi
mov dword [edx*4 + 0x1027cc0c], ecx
movzx ecx, byte [eax + 5]
mov edx, dword [ebp + 8]
imul ecx, ecx, 0x208
lea edx, [edx + 0x1027cc34]
add edx, ecx
add dword [ebp + 8], 0xc
jmp 0x1005162e
inc dword [ebp - 8]
add edx, ecx
mov ecx, dword [esi + 8]
mov dword [edx*4 + 0x1027ccac], ecx
movzx ecx, byte [eax + 5]
mov edx, dword [ebp - 4]
imul ecx, ecx, 0x208
lea edx, [edx + 0x1027ccd4]
add edx, ecx
add dword [ebp - 4], 0xc
movq xmm0, qword [esi + 0xc]
inc ebx
movq qword [edx], xmm0
mov ecx, dword [esi + 0x14]
add esi, 0x20
mov dword [edx + 8], ecx
mov edx, dword [ebp - 8]
cmp ebx, dword [eax + 0x60]
jl 0x100515a2
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4