Function at 0x10051c70
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x102e0770], 0
je 0x10052070
mov eax, dword [ebp + 8]
cmp byte [eax + 5], 0
jne 0x10051cae
movzx ecx, word [eax + 6]
mov dword [0x1027da7c], ecx
xor ecx, ecx
cmp dword [0x1027da80], ecx
setne cl
lea ecx, [ecx*2 + 1]
mov dword [0x1027da80], ecx
cmp byte [eax + 5], 1
jne 0x10051d03
cmp dword [0x1025e018], 0
jne 0x10051cd5
mov dword [0x1025e018], 1
mov byte [0x102bf27d], 0
mov byte [0x102bf21d], 1
cmp dword [0x1027da90], 0
movzx ecx, word [eax + 6]
mov dword [0x1027da8c], ecx
je 0x10051cf9
cmp word [eax + 6], 0
mov dword [0x1027da90], 0
je 0x10051d03
mov dword [0x1027da90], 1
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 8]
push esi
mov dword [edx + 0x1027daa4], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0xc]
mov dword [edx + 0x1027daa8], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x1027daac], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x1027dab0], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x1027dab4], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x1c]
mov dword [edx + 0x1027dab8], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x1027dabc], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
movzx ecx, word [eax + 0x24]
mov word [edx + 0x1027dac0], cx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x28]
mov dword [edx + 0x1027dac4], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x1027dac8], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
movzx ecx, word [eax + 0x30]
mov word [edx + 0x1027dacc], cx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x34]
mov dword [edx + 0x1027dad0], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x38]
mov dword [edx + 0x1027dad4], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
movzx ecx, byte [eax + 0x3c]
mov byte [edx + 0x1027dad8], cl
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
movzx ecx, byte [eax + 0x3d]
mov byte [edx + 0x1027dad9], cl
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x40]
mov dword [edx + 0x1027dadc], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x44]
mov dword [edx + 0x1027dae0], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x48]
mov dword [edx + 0x1027dae4], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x58]
mov dword [edx + 0x1027daf4], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x5c]
mov dword [edx + 0x1027daf8], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
movzx ecx, byte [eax + 0x4c]
mov byte [edx + 0x1027dae8], cl
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x54]
mov dword [edx + 0x1027daf0], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x208
mov ecx, dword [eax + 0x50]
mov dword [edx + 0x1027daec], ecx
xor edx, edx
movzx ecx, byte [eax + 5]
movups xmm0, xmmword [eax + 0x64]
imul ecx, ecx, 0x208
add ecx, 0x1027dc8c
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 + 0x1027dafc], 0
movzx ecx, byte [eax + 5]
imul ecx, ecx, 0x82
add ecx, edx
mov dword [ecx*4 + 0x1027db24], 0
movzx ecx, byte [eax + 5]
imul ecx, ecx, 0x82
add ecx, edx
mov dword [ecx*4 + 0x1027db4c], 0
movzx ecx, byte [eax + 5]
imul ecx, ecx, 0x208
mov dword [ecx + esi + 0x1027db74], 0xffffffff
mov dword [ecx + esi + 0x1027db78], 0xffffffff
mov dword [ecx + esi + 0x1027db7c], 0xffffffff
movzx ecx, byte [eax + 5]
imul ecx, ecx, 0x82
add ecx, edx
inc edx
mov dword [ecx*4 + 0x1027dbec], 0
movzx ecx, byte [eax + 5]
imul ecx, ecx, 0x208
mov dword [ecx + esi + 0x1027dc14], 0xffffffff
mov dword [ecx + esi + 0x1027dc18], 0xffffffff
mov dword [ecx + esi + 0x1027dc1c], 0xffffffff
add esi, 0xc
cmp esi, 0x78
jl 0x10051ee3
push ebx
xor edx, edx
xor ebx, ebx
push edi
xor edi, edi
mov dword [ebp - 8], edx
cmp dword [eax + 0x60], edx
jle 0x1005206d
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 0x10052026
lea edx, [ecx + edi]
mov ecx, dword [esi - 4]
mov dword [edx*4 + 0x1027dafc], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x82
mov ecx, dword [esi]
add edx, edi
mov dword [edx*4 + 0x1027db24], ecx
movzx ecx, byte [eax + 5]
imul edx, ecx, 0x82
mov ecx, dword [esi + 4]
add edx, edi
inc edi
mov dword [edx*4 + 0x1027db4c], ecx
movzx ecx, byte [eax + 5]
mov edx, dword [ebp + 8]
imul ecx, ecx, 0x208
lea edx, [edx + 0x1027db74]
add edx, ecx
add dword [ebp + 8], 0xc
jmp 0x1005204e
inc dword [ebp - 8]
add edx, ecx
mov ecx, dword [esi + 8]
mov dword [edx*4 + 0x1027dbec], ecx
movzx ecx, byte [eax + 5]
mov edx, dword [ebp - 4]
imul ecx, ecx, 0x208
lea edx, [edx + 0x1027dc14]
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 0x10051fc2
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4