Function at 0x473af0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1064
call fcn.004889f0
mov eax, dword [0x4c90b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [edx*4 + 0x4b2de0]
movsd xmm4, qword [0x4bc4b8]
mov dword [ebp - 0x1040], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x105c], eax
push ebx
push esi
mov eax, dword [ecx + 0x3c]
movsd xmm0, qword [ecx]
mov esi, dword [ebp + 8]
mov ebx, dword [ecx + 0x34]
cdq
and edx, 3
mulsd xmm0, xmm4
add eax, edx
mov dword [ebp - 0x1020], ecx
sar eax, 2
mov dword [ebp - 0x1044], eax
push edi
mov edi, dword [ecx + 0x38]
cvttsd2si eax, xmm0
mov dword [ebp - 0x1038], ebx
mov dword [ebp - 0x103c], edi
movsd xmm0, qword [ecx + 8]
mov ecx, dword [esi + 4]
mulsd xmm0, xmm4
mov dword [ebp - 0x1024], eax
cvttsd2si eax, xmm0
mov dword [ebp - 0x1028], eax
mov eax, dword [esi]
mov dword [ebp - 0x101c], eax
test ecx, ecx
je 0x473e20
movsd xmm0, qword [0x4bc3c8]
movsx edx, word [eax + 2]
dec ecx
mov esi, dword [ebp - 0x1040]
mov dword [ebp - 0x1060], ecx
movsx ecx, word [eax]
movd xmm2, edx
mov eax, dword [esi + 0x14]
imul eax, edx
movd xmm3, ecx
cvtdq2pd xmm3, xmm3
mov edx, dword [ebp - 0x101c]
lea eax, [eax + ecx*4]
mov ecx, dword [ebp - 0x1020]
add eax, dword [esi + 4]
addsd xmm3, xmm0
cvtdq2pd xmm2, xmm2
mov dword [ebp - 0x102c], eax
mov eax, dword [ebp - 0x1020]
movsd xmm1, qword [ecx + 0x10]
addsd xmm2, xmm0
mov eax, dword [eax + 0x30]
movsd xmm0, qword [ecx]
mulsd xmm0, xmm3
mov dword [ebp - 0x1048], eax
mulsd xmm1, xmm2
addsd xmm1, xmm0
movsd xmm0, qword [ecx + 8]
mulsd xmm0, xmm3
addsd xmm1, qword [ecx + 0x20]
mulsd xmm1, xmm4
cvttsd2si esi, xmm1
movsd xmm1, qword [ecx + 0x18]
mulsd xmm1, xmm2
mov dword [ebp - 0x1018], esi
addsd xmm1, xmm0
addsd xmm1, qword [ecx + 0x28]
mulsd xmm1, xmm4
cvttsd2si eax, xmm1
mov dword [ebp - 0x1010], eax
movzx eax, byte [edx + 6]
imul eax, dword [ecx + 0x40]
sar eax, 8
mov dword [ebp - 0x1054], eax
movzx eax, word [edx + 4]
mov dword [ebp - 0x1014], eax
test eax, eax
je 0x473dfb
mov eax, dword [ebp - 0x1024]
mov ecx, ebx
cdq
mov ebx, edi
shl ecx, 0x10
idiv ecx
mov eax, dword [ebp - 0x1028]
mov dword [ebp - 0x104c], edx
shl ebx, 0x10
cdq
idiv ebx
mov dword [ebp - 0x1030], ecx
mov dword [ebp - 0x1050], edx
mov edx, dword [ebp - 0x1014]
mov dword [ebp - 0x1034], ebx
nop dword [eax]
mov eax, 0x400
lea edi, [ebp - 0x1008]
cmp edx, eax
cmovl eax, edx
mov dword [ebp - 0x1058], eax
shl eax, 2
mov dword [ebp - 0x100c], eax
mov eax, esi
cdq
idiv ecx
mov eax, dword [ebp - 0x1010]
mov ecx, dword [ebp - 0x100c]
mov esi, edx
cdq
idiv ebx
lea eax, [ebp - 0x1008]
xor ebx, ebx
add eax, ecx
add ecx, 3
shr ecx, 2
cmp edi, eax
cmova ecx, ebx
mov dword [ebp - 0x100c], ecx
test ecx, ecx
je 0x473d8e
test esi, esi
jns 0x473d07
mov eax, dword [ebp - 0x1038]
shl eax, 0x10
add esi, eax
test edx, edx
jns 0x473d16
mov eax, dword [ebp - 0x103c]
shl eax, 0x10
add edx, eax
mov ecx, edx
mov eax, esi
add esi, dword [ebp - 0x104c]
inc ebx
add edx, dword [ebp - 0x1050]
sar eax, 0x10
sar ecx, 0x10
imul ecx, dword [ebp - 0x1044]
add ecx, eax
mov eax, dword [ebp - 0x1048]
mov eax, dword [eax + ecx*4]
mov dword [edi], eax
add edi, 4
mov eax, dword [ebp - 0x1024]
add dword [ebp - 0x1018], eax
mov eax, dword [ebp - 0x1028]
add dword [ebp - 0x1010], eax
mov eax, esi
sub eax, dword [ebp - 0x1030]
cmp esi, dword [ebp - 0x1030]
cmovl eax, esi
mov esi, eax
mov eax, edx
sub eax, dword [ebp - 0x1034]
cmp edx, dword [ebp - 0x1034]
cmovl eax, edx
mov edx, eax
cmp ebx, dword [ebp - 0x100c]
jb 0x473cf8
push dword [ebp - 0x1054]
mov esi, dword [ebp - 0x1058]
lea eax, [ebp - 0x1008]
mov ebx, dword [ebp - 0x102c]
push eax
push esi
push ebx
call dword [ebp - 0x105c]
mov edx, dword [ebp - 0x1014]
lea eax, [esi*4]
mov ecx, dword [ebp - 0x1030]
add ebx, eax
add esp, 0x10
mov dword [ebp - 0x102c], ebx
mov ebx, dword [ebp - 0x1034]
sub edx, esi
mov esi, dword [ebp - 0x1018]
mov dword [ebp - 0x1014], edx
jne 0x473ca0
movsd xmm4, qword [0x4bc4b8]
mov ebx, dword [ebp - 0x1038]
mov edi, dword [ebp - 0x103c]
mov eax, dword [ebp - 0x101c]
mov ecx, dword [ebp - 0x1060]
add eax, 8
movsd xmm0, qword [0x4bc3c8]
mov dword [ebp - 0x101c], eax
test ecx, ecx
jne 0x473b95
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00487e4e
mov esp, ebp
pop ebp
ret