Function at 0x475470
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push esi
push edi
push ebx
sub esp, 0xe4
mov edx, dword [0x5ed01c]
pxor xmm1, xmm1
mov ebx, dword [0x5ed090]
mov dword [esp + 0x98], edx
mov edi, ebx
mov esi, dword [ebp + 0x10]
lea ecx, [edx*8]
mov eax, ecx
lea edx, [ebx*8]
neg eax
sub esi, ecx
mov dword [esp + 0xa0], eax
mov eax, dword [ebp + 8]
sub eax, edx
mov dword [esp + 0x90], esi
mov esi, dword [ebp + 0x14]
sub esi, ecx
mov dword [esp + 0x8c], esi
lea esi, [ebx + ebx*2]
shl edi, 6
lea esi, [eax + esi*8]
mov dword [esp + 0xc], esi
lea esi, [ebx + ebx*4]
mov dword [esp + 0xb8], edi
lea esi, [eax + esi*8]
mov dword [esp + 8], esi
mov esi, edx
sub esi, ebx
mov dword [esp + 0x60], eax
mov dword [esp + 0xbc], edx
mov dword [esp + 0x94], ecx
mov edi, dword [0x5ed078]
lea esi, [eax + esi*8]
mov dword [esp + 4], esi
mov esi, dword [ebp + 0x18]
sub esi, ecx
mov edx, dword [ebp + 0x30]
mov eax, dword [ebp + 0x2c]
movsd xmm0, qword [0x5c2318]
mov dword [esp + 0x9c], esi
mov dword [esp + 0x50], ebx
test edi, edi
jle 0x475592
mov ebx, 1
mov dword [esp + 0xa4], edi
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x20]
push 0x5ed01c
push esi
push dword [ebp + 0x1c]
push esi
call fcn.00473b50
fstp qword [esp + 0xb0]
movsd xmm1, qword [esp + 0xb0]
movsd qword [edi + ebx*8 - 8], xmm1
pxor xmm0, xmm0
ucomisd xmm1, xmm0
jp 0x475578
je 0x475f5d
mov eax, dword [esp + 0x98]
inc ebx
cmp ebx, dword [esp + 0xa4]
lea esi, [esi + eax*8]
jle 0x475543
mov edx, dword [ebp + 0x30]
mov eax, dword [ebp + 0x2c]
mov ebx, dword [eax]
test ebx, ebx
jle 0x475971
mov edi, dword [esp + 0x94]
imul edi, ebx
add edi, dword [esp + 0x8c]
push 0x5ed01c
push dword [ebp + 0xc]
push dword [ebp + 0x1c]
push edi
call fcn.00473ee0
add esp, 0xffffffe8
mov eax, edi
mov esi, dword [ebp + 0x24]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0x5ed01c
mov dword [esp + 0x14], 0x5ed078
call fcn.0047619c
mov edx, dword [0x5ed078]
mov eax, dword [ebp + 0x2c]
lea ecx, [ebx + edx]
mov eax, dword [eax]
cmp eax, ecx
jge 0x475962
mov ecx, dword [ebp + 0x28]
cmp dword [ecx], 0
jle 0x475962
test edx, edx
jle 0x475962
cmp dword [esp + 0x50], 0
je 0x475f00
mov esi, dword [esp + 0xbc]
imul esi, ebx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x40], esi
lea edi, [ecx + esi]
mov ecx, eax
sub ecx, edx
lea ecx, [edi + ecx*8]
and ecx, 0xf
je 0x475649
test cl, 7
jne 0x475f00
mov ecx, 1
lea esi, [ecx + 8]
cmp edx, esi
jl 0x475f00
mov esi, edx
mov edi, edx
sub esi, ecx
and esi, 7
neg esi
add esi, edx
mov dword [esp + 0xc0], esi
mov esi, dword [esp + 0xbc]
imul edi, esi
imul esi, eax
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x40]
add edi, dword [esp + 0x60]
mov dword [esp + 0x44], esi
test ecx, ecx
mov dword [esp + 0x40], edi
jbe 0x4756f6
mov edi, edx
neg edi
add edi, eax
mov esi, dword [esp + 0x40]
mov dword [esp + 0x38], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
lea esi, [esi + edi*8]
mov edi, dword [ebp + 8]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x48]
sub esi, dword [esp + 0x44]
lea edi, [edi + ebx*8]
sub edi, esi
mov dword [esp + 0x2c], ebx
mov eax, edi
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x50]
mov edi, dword [ebp + 0x24]
movsd xmm0, qword [edi + ebx*8]
movsd qword [edx + ebx*8], xmm0
inc ebx
movsd qword [eax - 8], xmm0
lea eax, [eax + esi*8]
cmp ebx, ecx
jb 0x4756d3
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov edi, edx
neg edi
add edi, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0xbc]
imul esi, ecx
mov dword [esp + 0x34], esi
lea edi, [eax + edi*8]
mov eax, dword [ebp + 8]
mov dword [esp + 0x30], edi
mov esi, dword [esp + 0x48]
sub esi, dword [esp + 0x44]
lea edi, [eax + ebx*8]
mov eax, dword [esp + 0xc]
sub edi, esi
lea eax, [eax + ebx*8]
sub eax, esi
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 8]
lea eax, [eax + ebx*8]
sub eax, esi
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 4]
lea eax, [eax + ebx*8]
sub eax, esi
mov esi, dword [ebp + 0x24]
mov dword [esp + 0xc8], eax
lea eax, [esi + ecx*8]
test al, 0xf
mov eax, dword [esp + 0x24]
je 0x47583e
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0xc4], edi
mov dword [esp + 0x24], eax
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov esi, dword [ebp + 0x24]
mov edi, dword [esp + 0xc4]
mov eax, dword [esp + 0xbc]
movsd xmm0, qword [esi + ecx*8]
movhpd xmm0, qword [esi + ecx*8 + 8]
lea edi, [ebx + edi - 8]
movaps xmmword [edx + ecx*8], xmm0
movlpd qword [edi], xmm0
movhpd qword [edi + eax], xmm0
mov edi, dword [esp + 0xd0]
movsd xmm1, qword [esi + ecx*8 + 0x10]
movhpd xmm1, qword [esi + ecx*8 + 0x18]
movaps xmmword [edx + ecx*8 + 0x10], xmm1
lea edi, [ebx + edi - 8]
movlpd qword [edi], xmm1
movhpd qword [edi + eax], xmm1
mov edi, dword [esp + 0xcc]
movsd xmm2, qword [esi + ecx*8 + 0x20]
movhpd xmm2, qword [esi + ecx*8 + 0x28]
movaps xmmword [edx + ecx*8 + 0x20], xmm2
lea edi, [ebx + edi - 8]
movlpd qword [edi], xmm2
movhpd qword [edi + eax], xmm2
mov edi, dword [esp + 0xc8]
movsd xmm3, qword [esi + ecx*8 + 0x30]
movhpd xmm3, qword [esi + ecx*8 + 0x38]
movaps xmmword [edx + ecx*8 + 0x30], xmm3
lea edi, [ebx + edi - 8]
add ecx, 8
add ebx, dword [esp + 0xb8]
movlpd qword [edi], xmm3
movhpd qword [edi + eax], xmm3
cmp ecx, dword [esp + 0xc0]
jb 0x475789
jmp 0x4758f0
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0xc4], edi
mov dword [esp + 0x24], eax
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov esi, dword [ebp + 0x24]
mov edi, dword [esp + 0xc4]
mov eax, dword [esp + 0xbc]
movaps xmm0, xmmword [esi + ecx*8]
movaps xmmword [edx + ecx*8], xmm0
lea edi, [ebx + edi - 8]
movlpd qword [edi], xmm0
movhpd qword [edi + eax], xmm0
mov edi, dword [esp + 0xd0]
movaps xmm1, xmmword [esi + ecx*8 + 0x10]
movaps xmmword [edx + ecx*8 + 0x10], xmm1
lea edi, [ebx + edi - 8]
movlpd qword [edi], xmm1
movhpd qword [edi + eax], xmm1
mov edi, dword [esp + 0xcc]
movaps xmm2, xmmword [esi + ecx*8 + 0x20]
movaps xmmword [edx + ecx*8 + 0x20], xmm2
lea edi, [ebx + edi - 8]
movlpd qword [edi], xmm2
movhpd qword [edi + eax], xmm2
mov edi, dword [esp + 0xc8]
movaps xmm3, xmmword [esi + ecx*8 + 0x30]
movaps xmmword [edx + ecx*8 + 0x30], xmm3
add ecx, 8
lea edi, [ebx + edi - 8]
add ebx, dword [esp + 0xb8]
movlpd qword [edi], xmm3
movhpd qword [edi + eax], xmm3
cmp ecx, dword [esp + 0xc0]
jb 0x47585c
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x50]
mov ecx, dword [esp + 0xc0]
imul esi, ecx
cmp ecx, edx
jae 0x475962
mov ecx, edx
neg ecx
add ecx, eax
mov eax, dword [esp + 0xbc]
mov edi, eax
imul edi, ebx
add edi, dword [esp + 0x60]
mov dword [esp + 0x2c], ebx
lea edi, [edi + ecx*8]
imul ecx, eax
mov eax, dword [ebp + 8]
lea eax, [eax + ebx*8]
mov ebx, dword [esp + 0x50]
lea esi, [eax + esi*8]
mov eax, dword [esp + 0xc0]
add ecx, esi
mov esi, dword [ebp + 0x24]
movsd xmm0, qword [esi + eax*8]
movsd qword [edi + eax*8], xmm0
inc eax
movsd qword [ecx - 8], xmm0
lea ecx, [ecx + ebx*8]
cmp eax, edx
jb 0x475947
mov ebx, dword [esp + 0x2c]
dec ebx
test ebx, ebx
jg 0x47559c
mov edx, dword [ebp + 0x30]
mov eax, dword [ebp + 0x2c]
mov ebx, dword [0x5ed0d4]
mov esi, dword [esp + 0x94]
imul esi, ebx
test ebx, ebx
jle 0x4759d9
mov eax, dword [esp + 0x9c]
push 0x5ed01c
push dword [ebp + 0xc]
push dword [ebp + 0x1c]
lea edi, [eax + esi]
push edi
call fcn.00473ee0
add esp, 0xffffffe8
mov eax, dword [ebp + 0x24]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0xc], eax
mov eax, edi
mov dword [esp + 0x10], 0x5ed01c
mov dword [esp + 0x14], 0x5ed078
call fcn.0047619c
dec ebx
add esi, dword [esp + 0xa0]
test ebx, ebx
jg 0x475985
mov edx, dword [ebp + 0x30]
mov eax, dword [ebp + 0x2c]
mov ecx, dword [0x5ed078]
test ecx, ecx
jle 0x475f56
mov dword [esp + 0xac], ecx
mov ebx, 1
mov edi, dword [esp + 0x94]
imul edi, ebx
mov eax, dword [esp + 0x90]
push 0x5ed01c
lea esi, [eax + edi]
push esi
push dword [ebp + 0x1c]
push esi
call fcn.00473b50
fstp qword [esp + 0xb0]
movsd xmm1, qword [esp + 0xb0]
mov eax, dword [ebp + 0x20]
movaps xmm0, xmm1
mov edx, dword [ebp + 0x2c]
divsd xmm0, qword [eax + ebx*8 - 8]
mov edx, dword [edx]
test edx, edx
movsd qword [eax + ebx*8 - 8], xmm0
jle 0x47617c
mov eax, dword [ebp + 0x28]
cmp dword [eax], 0
jle 0x47617c
cmp edx, dword [0x5ed08c]
jge 0x475aa6
mov eax, dword [0x5ed078]
add edx, ebx
neg eax
add eax, edx
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x60]
sqrtsd xmm1, xmm1
mov dword [esp + 0x20], esi
lea ecx, [edi + eax*8]
mov esi, dword [esp + 0xbc]
imul eax, esi
mov dword [esp + 0x7c], ebx
mov ebx, esi
imul ebx, edx
add eax, edi
movsd qword [ecx + ebx - 8], xmm1
movsd qword [eax + edx*8 - 8], xmm1
mov ebx, dword [esp + 0x7c]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
jmp 0x475aca
sqrtsd xmm1, xmm1
mov ecx, dword [esp + 0x60]
lea eax, [ebx + edx]
sub edx, dword [0x5ed078]
add edx, ebx
imul eax, dword [esp + 0xbc]
lea edx, [ecx + edx*8]
movsd qword [edx + eax - 8], xmm1
movsd xmm0, qword [0x5c2328]
divsd xmm0, xmm1
push 0x5ed01c
push 0x5e19d8
push esi
movsd qword [0x5e19d8], xmm0
call fcn.00474650
cmp ebx, dword [0x5ed078]
jge 0x475b3e
push 0x5ed01c
push dword [ebp + 0xc]
push dword [ebp + 0x1c]
push esi
call fcn.00473ee0
mov eax, ebx
neg eax
add eax, dword [0x5ed078]
mov dword [esp + 0x18], eax
add esp, 0xffffffe8
add edi, dword [ebp + 0x10]
lea edx, [esp + 0x30]
mov eax, dword [ebp + 0x24]
mov ecx, edi
mov dword [esp + 0xc], eax
mov eax, esi
mov dword [esp + 0x10], 0x5ed01c
mov dword [esp + 0x14], edx
mov edx, dword [ebp + 0xc]
call fcn.0047619c
mov eax, dword [ebp + 0x2c]
mov ecx, dword [eax]
test ecx, ecx
jle 0x475f47
mov edx, dword [ebp + 0x28]
lea eax, [ebx + 1]
mov dword [esp + 0xa8], eax
cmp dword [edx], 0
jle 0x475def
mov edx, dword [0x5ed078]
cmp edx, ebx
jle 0x475def
cmp ecx, dword [0x5ed08c]
jge 0x475c24
neg eax
lea esi, [eax + edx + 1]
mov dword [esp + 0x74], esi
test esi, esi
jbe 0x475def
neg edx
lea edi, [ebx*8]
neg edi
lea esi, [ebx*8 + 8]
add edi, dword [ebp + 0x24]
add edx, ecx
add edi, esi
lea eax, [ebx + ecx]
mov dword [esp + 0x58], edi
neg esi
mov edi, dword [esp + 0x60]
mov dword [esp + 0x4c], ecx
lea ecx, [edx + ebx + 1]
mov ebx, dword [esp + 0xbc]
mov dword [esp + 0x80], edx
lea edx, [edi + eax*8]
imul eax, ebx
imul ecx, ebx
add eax, edi
add ecx, edx
sub eax, esi
mov edx, dword [esp + 0x80]
mov dword [esp + 0x54], 0
mov dword [esp + 0x5c], ecx
lea eax, [eax + edx*8]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x50]
movsd xmm0, qword [ecx + ebx*8 - 8]
movsd qword [eax + ebx*8 - 8], xmm0
inc ebx
movsd qword [edx - 8], xmm0
lea edx, [edx + edi*8]
cmp ebx, esi
jb 0x475c02
mov ecx, dword [esp + 0x4c]
jmp 0x475def
neg eax
mov edi, dword [esp + 0x60]
lea esi, [eax + edx + 1]
mov dword [esp + 0x6c], esi
mov esi, ecx
lea eax, [ebx + ecx]
imul eax, dword [esp + 0xbc]
sub esi, edx
mov dword [esp + 0x68], eax
add edi, eax
lea eax, [esi + ebx + 1]
lea eax, [edi + eax*8 + 8]
and eax, 0xf
je 0x475c61
test al, 7
jne 0x475f10
mov eax, 1
lea esi, [eax + 8]
cmp esi, dword [esp + 0x6c]
jg 0x475f10
mov edi, dword [esp + 0x6c]
mov esi, edi
sub esi, eax
and esi, 7
neg esi
add esi, edi
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x64], esi
lea esi, [ebx*8 + 8]
mov dword [esp + 0x80], edx
shl ebx, 3
neg ebx
add ebx, dword [ebp + 0x24]
add ebx, esi
neg esi
mov dword [esp + 0x70], ebx
mov ebx, ecx
mov edi, dword [esp + 0x68]
sub ebx, edx
mov edx, dword [esp + 0x60]
add edx, edi
sub edx, esi
test eax, eax
lea ebx, [edx + ebx*8]
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
jbe 0x475cec
mov dword [esp + 0x4c], ecx
xor esi, esi
mov ecx, dword [esp + 0x78]
mov edi, dword [esp + 0x70]
movsd xmm0, qword [edi + esi*8 - 8]
movsd qword [ecx + esi*8 - 8], xmm0
inc esi
cmp esi, eax
jb 0x475cd7
mov ecx, dword [esp + 0x4c]
mov esi, ebx
neg esi
mov edi, dword [ebp + 0x24]
lea esi, [esi + ebx + 1]
add esi, eax
lea edi, [edi + esi*8 + 8]
test edi, 0xf
je 0x475d61
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x70]
movsd xmm0, qword [edi + eax*8 - 8]
movsd xmm1, qword [edi + eax*8 + 8]
movsd xmm2, qword [edi + eax*8 + 0x18]
movsd xmm3, qword [edi + eax*8 + 0x28]
movhpd xmm0, qword [edi + eax*8]
movhpd xmm1, qword [edi + eax*8 + 0x10]
movhpd xmm2, qword [edi + eax*8 + 0x20]
movhpd xmm3, qword [edi + eax*8 + 0x30]
movaps xmmword [esi + eax*8 - 8], xmm0
movaps xmmword [esi + eax*8 + 8], xmm1
movaps xmmword [esi + eax*8 + 0x18], xmm2
movaps xmmword [esi + eax*8 + 0x28], xmm3
add eax, 8
cmp eax, ecx
jb 0x475d15
jmp 0x475da0
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x70]
movaps xmm0, xmmword [edi + eax*8 - 8]
movaps xmm1, xmmword [edi + eax*8 + 8]
movaps xmm2, xmmword [edi + eax*8 + 0x18]
movaps xmm3, xmmword [edi + eax*8 + 0x28]
movaps xmmword [esi + eax*8 - 8], xmm0
movaps xmmword [esi + eax*8 + 8], xmm1
movaps xmmword [esi + eax*8 + 0x18], xmm2
movaps xmmword [esi + eax*8 + 0x28], xmm3
add eax, 8
cmp eax, ecx
jb 0x475d71
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x64]
cmp eax, dword [esp + 0x6c]
jae 0x475def
mov esi, dword [esp + 0x68]
lea eax, [ebx*8 + 8]
shl ebx, 3
neg edx
neg ebx
add edx, ecx
add ebx, dword [ebp + 0x24]
add esi, dword [esp + 0x60]
add ebx, eax
neg eax
sub esi, eax
lea eax, [esi + edx*8]
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x6c]
movsd xmm0, qword [ebx + edx*8 - 8]
movsd qword [eax + edx*8 - 8], xmm0
inc edx
cmp edx, esi
jb 0x475dde
mov ebx, dword [esp + 0xa8]
cmp ebx, dword [esp + 0xac]
jle 0x4759f3
mov edx, dword [ebp + 0x30]
mov eax, dword [ebp + 0x2c]
cmp ecx, dword [0x5ed08c]
je 0x475eaf
mov edi, dword [0x5ed078]
xor ebx, ebx
test edi, edi
jle 0x475f2f
mov dword [esp], 1
xor esi, esi
mov dword [esp + 0x4c], ecx
push 1
pop eax
movsd xmm0, qword [0x5c2320]
mov edx, dword [esp]
mov ecx, dword [ebp + 0x20]
movsd xmm1, qword [ecx + edx*8 - 8]
inc edx
comisd xmm0, xmm1
jbe 0x475e5e
mov ebx, eax
cmp edx, edi
jg 0x475f1d
mov esi, eax
jmp 0x475e43
cmp edx, edi
jle 0x475e43
mov edx, dword [ebp + 0x30]
cmp esi, 1
mov eax, dword [ebp + 0x2c]
mov ecx, dword [esp + 0x4c]
mov dword [edx], ebx
je 0x475ee9
mov ebx, dword [esp + 0x94]
mov esi, 1
mov edx, dword [ebp + 0x28]
mov eax, dword [esp + 0x90]
cmp dword [edx], 1
lea eax, [eax + ebx]
je 0x475ebe
push 0x5ed01c
push eax
push dword [ebp + 0x1c]
push eax
call fcn.00473ee0
mov eax, dword [esp + 0x98]
inc esi
cmp esi, edi
lea ebx, [ebx + eax*8]
jle 0x475e7f
add esp, 0xe4
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x2c
mov edx, dword [ebp + 0x2c]
mov ecx, dword [edx]
imul ecx, dword [esp + 0x94]
add ecx, dword [esp + 0x8c]
push 0x5ed01c
add ecx, ebx
push ecx
push eax
mov dword [esp + 0xc], eax
call fcn.00461200
mov eax, dword [esp]
jmp 0x475e91
test ecx, ecx
je 0x47552d
cmp dword [0x5ed080], 0
je 0x47552d
jmp 0x475eaf
mov dword [esp + 0xc0], 0
jmp 0x4758fc
mov dword [esp + 0x64], 0
jmp 0x475da8
mov edx, dword [ebp + 0x30]
mov eax, dword [ebp + 0x2c]
mov ecx, dword [esp + 0x4c]
mov dword [edx], 1
jmp 0x475ee9
mov eax, dword [ebp + 0x30]
mov dword [eax], 0
add esp, 0xe4
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x2c
lea eax, [ebx + 1]
mov dword [esp + 0xa8], eax
jmp 0x475def
mov ecx, dword [eax]
jmp 0x475e09
mov ecx, dword [0x5ed01c]
mov eax, ebx
add eax, dword [0x5ed0d4]
mov edx, 1
mov dword [esp + 0x88], eax
mov dword [0x5e1a24], edx
lea eax, [ecx*8]
mov dword [esp + 0x10], edx
mov edi, eax
mov dword [0x5e1a28], edx
mov edx, esi
movsd xmm0, qword [0x5c2318]
sub edx, eax
mov dword [esp + 0xd8], edx
mov dword [0x5e1a20], ecx
movsd qword [0x5e1a10], xmm0
mov dword [esp + 0x14], ebx
mov ebx, ecx
mov edx, dword [esp + 0x10]
mov dword [0x5e1a2c], 0
mov ecx, 1
pxor xmm2, xmm2
test ebx, ebx
jle 0x476169
mov dword [esp + 0xdc], ebx
mov eax, 1
mov dword [esp + 0x84], esi
pxor xmm0, xmm0
movsd xmm1, qword [0x5e1a10]
mov dword [esp + 0xd4], edi
mov esi, dword [esp + 0x88]
mov ebx, dword [ebp + 0x1c]
mov edi, dword [0x5e1a2c]
test edi, edi
jne 0x47602c
movaps xmm3, xmm1
lea edi, [edx + esi]
pxor xmm1, xmm1
mov dword [0x5e1a2c], edi
subsd xmm1, xmm3
movsd qword [0x5e1a10], xmm1
movsd xmm3, qword [ebx + eax*8 - 8]
pxor xmm4, xmm4
ucomisd xmm3, xmm4
jp 0x476042
je 0x476149
push 0x5c1f68
dec edi
mov dword [0x5e1a30], ecx
movsd qword [0x5e1a18], xmm2
mov dword [0x5e1a2c], edi
call fcn.0058d2c0
fstp qword [esp + 0xb4]
movsd xmm2, qword [esp + 0xb4]
add esp, 4
mov edx, dword [0x5e1a28]
mov ecx, dword [esp + 0xd4]
imul ecx, edx
movsd xmm1, qword [0x5e1a10]
mulsd xmm2, xmm1
mov eax, dword [0x5e1a30]
add ecx, dword [esp + 0xd8]
movsd qword [ecx + eax*8 - 8], xmm2
movsd xmm0, qword [ebx + eax*8 - 8]
mulsd xmm0, xmm2
mulsd xmm0, xmm2
addsd xmm0, qword [0x5e1a18]
movaps xmm2, xmm0
inc eax
mov ecx, eax
cmp eax, dword [esp + 0xdc]
jle 0x476006
mov edi, dword [esp + 0xd4]
mov esi, dword [esp + 0x84]
mov dword [0x5e1a30], eax
sqrtsd xmm0, xmm0
imul edx, edi
movsd xmm1, qword [0x5c2328]
divsd xmm1, xmm0
push 0x5ed01c
sub edx, edi
push 0x5e1a18
add edx, esi
push edx
movsd qword [0x5e1a18], xmm1
call fcn.00474650
mov edx, dword [0x5e1a28]
inc edx
mov dword [0x5e1a28], edx
cmp edx, 1
jg 0x47612a
mov ebx, dword [0x5ed01c]
jmp 0x475fbb
mov ebx, dword [esp + 0x14]
push 0x5ed01c
push esi
push dword [ebp + 0x1c]
push esi
mov edi, dword [ebp + 0x20]
call fcn.00473b50
fstp qword [edi + ebx*8 - 8]
jmp 0x475578
mov ecx, dword [esp + 0xd4]
imul ecx, edx
pxor xmm3, xmm3
add ecx, dword [esp + 0xd8]
movsd qword [ecx + eax*8 - 8], xmm3
jmp 0x4760bb
mov dword [0x5e1a30], 1
pxor xmm0, xmm0
jmp 0x4760de
sqrtsd xmm1, xmm1
jmp 0x475aca