Function at 0x56d410
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x105c
call fcn.0053b290
mov eax, dword [0x624500]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
movsd xmm4, qword [0x5ecef8]
mov dword [ebp - 0x101c], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov ecx, dword [ebp + 0x10]
mov eax, dword [eax*4 + 0x5ecf20]
mov dword [ebp - 0x1054], eax
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x105c], edi
mov eax, dword [edi + 0x3c]
movsd xmm0, qword [edi]
cdq
mov ebx, dword [edi + 0x34]
and edx, 3
mov esi, dword [edi + 0x38]
add eax, edx
mulsd xmm0, xmm4
sar eax, 2
mov dword [ebp - 0x103c], eax
mov dword [ebp - 0x1038], ebx
mov dword [ebp - 0x1014], esi
cvttsd2si eax, xmm0
movsd xmm0, qword [edi + 8]
mulsd xmm0, xmm4
mov dword [ebp - 0x1020], eax
cvttsd2si eax, xmm0
mov dword [ebp - 0x1024], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [ebp - 0x1018], ecx
test eax, eax
je 0x56d742
movsd xmm0, qword [0x5d67e0]
nop dword [eax + eax]
movsx edx, word [ecx + 2]
dec eax
movsx ecx, word [ecx]
movsd xmm1, qword [edi + 0x10]
mov esi, dword [ebp - 0x101c]
movd xmm2, edx
movd xmm3, ecx
cvtdq2pd xmm3, xmm3
mov dword [ebp - 0x1058], eax
mov eax, dword [ebp - 0x101c]
mov eax, dword [eax + 0x14]
cvtdq2pd xmm2, xmm2
addsd xmm3, xmm0
imul eax, edx
addsd xmm2, xmm0
movsd xmm0, qword [edi]
mulsd xmm0, xmm3
mulsd xmm1, xmm2
lea eax, [eax + ecx*4]
mov ecx, dword [ebp - 0x1018]
add eax, dword [esi + 4]
mov dword [ebp - 0x1028], eax
mov eax, dword [edi + 0x30]
addsd xmm1, xmm0
mov dword [ebp - 0x1040], eax
movsd xmm0, qword [edi + 8]
mulsd xmm0, xmm3
mov esi, dword [ebp - 0x1014]
addsd xmm1, qword [edi + 0x20]
mulsd xmm1, xmm4
cvttsd2si eax, xmm1
movsd xmm1, qword [edi + 0x18]
mulsd xmm1, xmm2
mov dword [ebp - 0x100c], eax
addsd xmm1, xmm0
addsd xmm1, qword [edi + 0x28]
mulsd xmm1, xmm4
cvttsd2si eax, xmm1
mov dword [ebp - 0x1010], eax
movzx eax, byte [ecx + 6]
imul eax, dword [edi + 0x40]
movzx edi, word [ecx + 4]
mov dword [ebp - 0x102c], edi
sar eax, 8
mov dword [ebp - 0x104c], eax
test edi, edi
je 0x56d71d
mov eax, dword [ebp - 0x1020]
mov ecx, ebx
cdq
mov ebx, esi
shl ecx, 0x10
idiv ecx
mov eax, dword [ebp - 0x1024]
mov dword [ebp - 0x1044], edx
shl ebx, 0x10
cdq
idiv ebx
mov dword [ebp - 0x1030], ecx
mov dword [ebp - 0x1034], ebx
mov dword [ebp - 0x1048], edx
mov eax, 0x400
cmp edi, eax
cmovl eax, edi
lea edi, [ebp - 0x1004]
mov dword [ebp - 0x1050], eax
shl eax, 2
mov dword [ebp - 0x1008], eax
mov eax, dword [ebp - 0x100c]
cdq
idiv ecx
mov eax, dword [ebp - 0x1010]
mov ecx, dword [ebp - 0x1008]
mov esi, edx
cdq
idiv ebx
lea eax, [ebp - 0x1004]
xor ebx, ebx
add eax, ecx
shr ecx, 2
cmp edi, eax
cmova ecx, ebx
mov dword [ebp - 0x1008], ecx
test ecx, ecx
je 0x56d6b6
nop word [eax + eax]
test esi, esi
jns 0x56d62f
mov eax, dword [ebp - 0x1038]
shl eax, 0x10
add esi, eax
test edx, edx
jns 0x56d63e
mov eax, dword [ebp - 0x1014]
shl eax, 0x10
add edx, eax
mov ecx, edx
mov eax, esi
sar ecx, 0x10
inc ebx
imul ecx, dword [ebp - 0x103c]
sar eax, 0x10
add ecx, eax
mov eax, dword [ebp - 0x1040]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x1048]
mov dword [edi], eax
add ecx, edx
mov eax, dword [ebp - 0x1020]
add edi, 4
add dword [ebp - 0x100c], eax
mov edx, ecx
mov eax, dword [ebp - 0x1024]
add dword [ebp - 0x1010], eax
mov eax, dword [ebp - 0x1044]
add eax, esi
mov esi, eax
sub esi, dword [ebp - 0x1030]
cmp eax, dword [ebp - 0x1030]
cmovl esi, eax
sub edx, dword [ebp - 0x1034]
cmp ecx, dword [ebp - 0x1034]
cmovl edx, ecx
cmp ebx, dword [ebp - 0x1008]
jb 0x56d620
push dword [ebp - 0x104c]
mov esi, dword [ebp - 0x1050]
lea eax, [ebp - 0x1004]
mov ebx, dword [ebp - 0x1028]
push eax
push esi
push ebx
call dword [ebp - 0x1054]
mov edi, dword [ebp - 0x102c]
lea eax, [esi*4]
mov ecx, dword [ebp - 0x1030]
add ebx, eax
add esp, 0x10
mov dword [ebp - 0x1028], ebx
mov ebx, dword [ebp - 0x1034]
sub edi, esi
mov dword [ebp - 0x102c], edi
jne 0x56d5c1
movsd xmm4, qword [0x5ecef8]
mov ebx, dword [ebp - 0x1038]
mov ecx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1058]
add ecx, 8
movsd xmm0, qword [0x5d67e0]
mov edi, dword [ebp - 0x105c]
mov dword [ebp - 0x1018], ecx
test eax, eax
jne 0x56d4c0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053a175
mov esp, ebp
pop ebp
ret