Function at 0x473640
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1044
call fcn.004889f0
mov eax, dword [0x4c90b4]
xor eax, ebp
mov dword [ebp - 4], eax
movsd xmm4, qword [0x4bc4b8]
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 0x100c], ebx
mov ecx, dword [edx*4 + 0x4b2de0]
movsd xmm0, qword [ebx]
mov dword [ebp - 0x103c], ecx
mov ecx, dword [ebx + 0x34]
mulsd xmm0, xmm4
mov dword [ebp - 0x1024], ecx
mov ecx, dword [ebx + 0x38]
mov dword [ebp - 0x1028], ecx
push edi
cvttsd2si ecx, xmm0
mov dword [ebp - 0x1044], esi
movsd xmm0, qword [ebx + 8]
mov ebx, dword [eax]
mulsd xmm0, xmm4
mov dword [ebp - 0x102c], ecx
mov dword [ebp - 0x1020], ebx
cvttsd2si ecx, xmm0
mov dword [ebp - 0x1030], ecx
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4738b7
movsd xmm0, qword [0x4bc3c8]
movsx edx, word [ebx + 2]
dec ecx
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x1040], ecx
movsx ecx, word [ebx]
movd xmm2, edx
imul eax, edx
mov edx, dword [ebp - 0x100c]
movd xmm3, ecx
cvtdq2pd xmm3, xmm3
lea eax, [eax + ecx*4]
movzx ecx, word [ebx + 4]
movsd xmm1, qword [edx]
add eax, dword [esi + 4]
addsd xmm3, xmm0
cvtdq2pd xmm2, xmm2
mov dword [ebp - 0x1010], eax
movzx eax, byte [ebx + 6]
mov dword [ebp - 0x101c], ecx
mulsd xmm1, xmm3
addsd xmm2, xmm0
imul eax, dword [edx + 0x40]
movsd xmm0, qword [edx + 0x10]
mulsd xmm0, xmm2
sar eax, 8
mov dword [ebp - 0x1034], eax
addsd xmm1, xmm0
movsd xmm0, qword [edx + 8]
mulsd xmm0, xmm3
addsd xmm1, qword [edx + 0x20]
mulsd xmm1, xmm4
cvttsd2si esi, xmm1
movsd xmm1, qword [edx + 0x18]
mulsd xmm1, xmm2
addsd xmm1, xmm0
addsd xmm1, qword [edx + 0x28]
mulsd xmm1, xmm4
cvttsd2si edi, xmm1
test ecx, ecx
je 0x473892
nop dword [eax + eax]
mov eax, 0x400
mov dword [ebp - 0x1014], 0
cmp ecx, eax
mov dword [ebp - 0x1018], 0
lea ebx, [ebp - 0x1008]
cmovl eax, ecx
mov edx, ebx
mov dword [ebp - 0x1038], eax
lea ecx, [eax*4]
mov eax, ebx
add eax, ecx
add ecx, 3
shr ecx, 2
cmp edx, eax
cmova ecx, dword [ebp - 0x1014]
mov dword [ebp - 0x1014], ecx
test ecx, ecx
je 0x473840
mov edx, esi
sar edx, 0x10
test edx, edx
jns 0x4737dd
xor edx, edx
jmp 0x4737e9
mov eax, dword [ebp - 0x1024]
dec eax
cmp eax, edx
cmovl edx, eax
mov ecx, edi
sar ecx, 0x10
test ecx, ecx
jns 0x4737f6
xor ecx, ecx
jmp 0x473802
mov eax, dword [ebp - 0x1028]
dec eax
cmp eax, ecx
cmovl ecx, eax
mov eax, dword [ebp - 0x100c]
add esi, dword [ebp - 0x102c]
add edi, dword [ebp - 0x1030]
mov eax, dword [eax + 0x3c]
imul eax, ecx
mov ecx, dword [ebp - 0x100c]
add eax, dword [ecx + 0x30]
mov ecx, dword [ebp - 0x1018]
inc ecx
mov dword [ebp - 0x1018], ecx
mov eax, dword [eax + edx*4]
mov dword [ebx], eax
add ebx, 4
cmp ecx, dword [ebp - 0x1014]
jb 0x4737d0
push dword [ebp - 0x1034]
mov ebx, dword [ebp - 0x1038]
lea eax, [ebp - 0x1008]
push eax
push ebx
push dword [ebp - 0x1010]
call dword [ebp - 0x103c]
mov ecx, dword [ebp - 0x101c]
lea eax, [ebx*4]
add dword [ebp - 0x1010], eax
add esp, 0x10
sub ecx, ebx
mov dword [ebp - 0x101c], ecx
jne 0x473780
movsd xmm4, qword [0x4bc4b8]
mov ebx, dword [ebp - 0x1020]
mov ecx, dword [ebp - 0x1040]
add ebx, 8
movsd xmm0, qword [0x4bc3c8]
mov esi, dword [ebp - 0x1044]
mov dword [ebp - 0x1020], ebx
test ecx, ecx
jne 0x4736d5
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00487e4e
mov esp, ebp
pop ebp
ret