Function at 0x10052050
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x102e17d0], 0
je 0x10052450
mov eax, dword [ebp + 8]
cmp byte [eax + 5], 0
jne 0x1005208e
movzx ecx, word [eax + 6]
mov dword [0x1027eadc], ecx
xor ecx, ecx
cmp dword [0x1027eae0], ecx
setne cl
lea ecx, [ecx*2 + 1]
mov dword [0x1027eae0], ecx
cmp byte [eax + 5], 1
jne 0x100520e3
cmp dword [0x1025f078], 0
jne 0x100520b5
mov dword [0x1025f078], 1
mov byte [0x102c02dd], 0
mov byte [0x102c027d], 1
cmp dword [0x1027eaf0], 0
movzx ecx, word [eax + 6]
mov dword [0x1027eaec], ecx
je 0x100520d9
cmp word [eax + 6], 0
mov dword [0x1027eaf0], 0
je 0x100520e3
mov dword [0x1027eaf0], 1
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 8]
push esi
mov dword [edx + 0x1027eb04], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0xc]
mov dword [edx + 0x1027eb08], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x1027eb0c], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x1027eb10], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x1027eb14], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x1c]
mov dword [edx + 0x1027eb18], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x1027eb1c], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
movzx ecx, word [eax + 0x24]
mov word [edx + 0x1027eb20], cx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x28]
mov dword [edx + 0x1027eb24], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x1027eb28], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
movzx ecx, word [eax + 0x30]
mov word [edx + 0x1027eb2c], cx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x34]
mov dword [edx + 0x1027eb30], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x38]
mov dword [edx + 0x1027eb34], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
movzx ecx, byte [eax + 0x3c]
mov byte [edx + 0x1027eb38], cl
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
movzx ecx, byte [eax + 0x3d]
mov byte [edx + 0x1027eb39], cl
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x40]
mov dword [edx + 0x1027eb3c], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x44]
mov dword [edx + 0x1027eb40], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x48]
mov dword [edx + 0x1027eb44], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x58]
mov dword [edx + 0x1027eb54], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x5c]
mov dword [edx + 0x1027eb58], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
movzx ecx, byte [eax + 0x4c]
mov byte [edx + 0x1027eb48], cl
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x54]
mov dword [edx + 0x1027eb50], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x50]
mov dword [edx + 0x1027eb4c], ecx
xor edx, edx
movzx ecx, byte [eax + 5]
movups xmm0, xmmword [eax + 0x64]
imul ecx, ecx, 0x208
add ecx, 0x1027ecec
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 + 0x1027eb5c], 0
movzx ecx, byte [eax + 5]
imul ecx, ecx, 0x82
add ecx, edx
mov dword [ecx*4 + 0x1027eb84], 0
movzx ecx, byte [eax + 5]
imul ecx, ecx, 0x82
add ecx, edx
mov dword [ecx*4 + 0x1027ebac], 0
movzx ecx, byte [eax + 5]
imul ecx, ecx, 0x208
mov dword [ecx + esi + 0x1027ebd4], 0xffffffff
mov dword [ecx + esi + 0x1027ebd8], 0xffffffff
mov dword [ecx + esi + 0x1027ebdc], 0xffffffff
movzx ecx, byte [eax + 5]
imul ecx, ecx, 0x82
add ecx, edx
inc edx
mov dword [ecx*4 + 0x1027ec4c], 0
movzx ecx, byte [eax + 5]
imul ecx, ecx, 0x208
mov dword [ecx + esi + 0x1027ec74], 0xffffffff
mov dword [ecx + esi + 0x1027ec78], 0xffffffff
mov dword [ecx + esi + 0x1027ec7c], 0xffffffff
add esi, 0xc
cmp esi, 0x78
jl 0x100522c3
push ebx
xor edx, edx
xor ebx, ebx
push edi
xor edi, edi
mov dword [ebp - 8], edx
cmp dword [eax + 0x60], edx
jle 0x1005244d
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 0x10052406
lea edx, [ecx + edi]
mov ecx, dword [esi - 4]
mov dword [edx*4 + 0x1027eb5c], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x82
mov ecx, dword [esi]
add edx, edi
mov dword [edx*4 + 0x1027eb84], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x82
mov ecx, dword [esi + 4]
add edx, edi
inc edi
mov dword [edx*4 + 0x1027ebac], ecx
movzx ecx, byte [eax + 5]
mov edx, dword [ebp + 8]
imul ecx, ecx, 0x208
lea edx, [edx + 0x1027ebd4]
add edx, ecx
add dword [ebp + 8], 0xc
jmp 0x1005242e
inc dword [ebp - 8]
add edx, ecx
mov ecx, dword [esi + 8]
mov dword [edx*4 + 0x1027ec4c], ecx
movzx ecx, byte [eax + 5]
mov edx, dword [ebp - 4]
imul ecx, ecx, 0x208
lea edx, [edx + 0x1027ec74]
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 0x100523a2
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4