Function at 0x498a3c
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 dword [esp + 0xc0], edx
pxor xmm0, xmm0
mov esi, dword [0x5ed090]
mov edx, dword [0x5ed01c]
mov dword [esp + 0xd4], edx
mov dword [esp + 0xe0], ecx
mov dword [esp + 0x38], eax
lea ebx, [edx*8]
mov edi, ebx
lea edx, [esi*8]
shl esi, 6
neg edi
mov dword [esp + 0xb0], esi
sub ecx, ebx
mov esi, dword [ebp + 0x30]
sub eax, edx
mov dword [esp + 0xdc], edi
xor edi, edi
mov dword [esp + 0xcc], ecx
mov dword [esi], edi
mov esi, dword [ebp + 0x28]
mov ecx, dword [0x5ed090]
mov dword [esp + 0x80], eax
cmp dword [esi], 0
mov esi, 1
mov dword [esp + 0xd0], ebx
cmovg edi, esi
mov esi, dword [ebp + 0x14]
sub esi, ebx
mov dword [esp + 0xc8], esi
lea esi, [ecx + ecx*2]
mov dword [esp + 0xb4], edi
lea esi, [eax + esi*8]
mov dword [esp + 4], esi
lea esi, [ecx + ecx*4]
mov edi, dword [0x5ed078]
lea esi, [eax + esi*8]
mov dword [esp + 0xc], esi
mov esi, edx
sub esi, ecx
lea eax, [eax + esi*8]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x18]
sub eax, ebx
test edi, edi
jle 0x499710
mov dword [esp + 0xc4], eax
mov dword [esp + 0x9c], edx
mov dword [esp + 0x50], ecx
mov edx, dword [ebp + 0x30]
mov eax, dword [ebp + 0x2c]
mov esi, dword [esp + 0xd0]
mov ebx, 1
mov dword [esp + 0xd8], edi
mov edi, dword [esp + 0xcc]
add esp, 0xfffffff0
mov ecx, 0x5c3dcc
add edi, esi
mov dword [esp + 0xc], 0x5e1c90
mov eax, edi
mov edx, dword [esp + 0xd0]
call fcn.0049973c
push 0x5ed01c
push dword [esp + 0xc4]
push edi
call fcn.00473d60
fstp qword [esp + 0xb8]
movsd xmm1, qword [esp + 0xb8]
mov eax, dword [ebp + 0x20]
pxor xmm0, xmm0
ucomisd xmm1, xmm0
movsd qword [eax + ebx*8 - 8], xmm1
jp 0x498b9d
je 0x4996a5
mov eax, dword [esp + 0xd4]
inc ebx
cmp ebx, dword [esp + 0xd8]
lea esi, [esi + eax*8]
jle 0x498b3b
mov edx, dword [ebp + 0x30]
mov eax, dword [ebp + 0x2c]
mov ebx, dword [eax]
test ebx, ebx
jle 0x498c34
mov esi, dword [esp + 0xc0]
mov edi, dword [esp + 0xd0]
mov edx, esi
imul edi, ebx
mov ecx, 0x5c3dcc
add edi, dword [esp + 0xc8]
add esp, 0xfffffff0
mov eax, edi
mov dword [esp + 0xc], 0x5e1c90
call fcn.0049973c
push 0x5ed078
push 0x5ed01c
push dword [ebp + 0x24]
push dword [esp + 0xec]
push esi
push edi
call fcn.00476190
mov edi, dword [0x5ed078]
mov ecx, dword [ebp + 0x2c]
lea eax, [ebx + edi]
mov ecx, dword [ecx]
cmp ecx, eax
jge 0x498c29
cmp dword [esp + 0xb4], 1
je 0x498f2b
dec ebx
test ebx, ebx
jg 0x498bc4
mov edx, dword [ebp + 0x30]
mov eax, dword [ebp + 0x2c]
mov ebx, dword [0x5ed0d4]
mov esi, dword [esp + 0xd0]
imul esi, ebx
test ebx, ebx
jle 0x498ca2
mov edi, dword [esp + 0xc4]
add esp, 0xfffffff0
mov ecx, 0x5c3dcc
add edi, esi
mov dword [esp + 0xc], 0x5e1c90
mov eax, edi
mov edx, dword [esp + 0xd0]
call fcn.0049973c
push 0x5ed078
push 0x5ed01c
push dword [ebp + 0x24]
push dword [esp + 0xec]
push dword [esp + 0xd0]
push edi
call fcn.00476190
dec ebx
add esi, dword [esp + 0xdc]
test ebx, ebx
jg 0x498c48
mov edx, dword [ebp + 0x30]
mov eax, dword [ebp + 0x2c]
mov edi, dword [0x5ed078]
test edi, edi
jle 0x49969e
mov dword [esp + 0xd8], edi
mov ebx, 1
mov edi, dword [esp + 0xd0]
mov ecx, 0x5c3dcc
imul edi, ebx
mov esi, dword [esp + 0xcc]
add esp, 0xfffffff0
add esi, edi
mov dword [esp + 0xc], 0x5e1c90
mov eax, esi
mov edx, dword [esp + 0xd0]
call fcn.0049973c
push 0x5ed01c
push dword [esp + 0xc4]
push esi
call fcn.00473d60
fstp qword [esp + 0xb8]
movsd xmm1, qword [esp + 0xb8]
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 0x498d38
cmp dword [esp + 0xb4], 1
je 0x499611
sqrtsd xmm1, xmm1
movsd xmm0, qword [0x5c3e28]
divsd xmm0, xmm1
push 0x5ed01c
push 0x5e1c88
push esi
movsd qword [0x5e1c88], xmm0
call fcn.00474650
cmp ebx, dword [0x5ed078]
jge 0x498dbc
add esp, 0xfffffff0
mov eax, esi
mov ecx, 0x5c3dcc
mov dword [esp + 0xc], 0x5e1c90
mov edx, dword [esp + 0xd0]
call fcn.0049973c
mov eax, ebx
lea edx, [esp + 0x94]
neg eax
add eax, dword [0x5ed078]
mov dword [esp + 0x94], eax
add edi, dword [esp + 0xe0]
push edx
push 0x5ed01c
push dword [ebp + 0x24]
push edi
push dword [esp + 0xd0]
push esi
call fcn.00476190
mov eax, dword [ebp + 0x2c]
mov ecx, dword [eax]
test ecx, ecx
jle 0x499609
cmp dword [esp + 0xb4], 1
lea eax, [ebx + 1]
je 0x4992fe
mov ebx, eax
cmp eax, dword [esp + 0xd8]
jle 0x498cbc
mov edx, dword [ebp + 0x30]
mov eax, dword [ebp + 0x2c]
mov edi, dword [0x5ed078]
xor esi, esi
test edi, edi
jle 0x4992f0
mov dword [esp], 1
xor ebx, ebx
mov dword [esp + 0x90], ecx
push 1
pop edx
movsd xmm0, qword [0x5c3e20]
mov eax, dword [esp]
mov ecx, dword [ebp + 0x20]
movsd xmm1, qword [ecx + eax*8 - 8]
inc eax
comisd xmm0, xmm1
jbe 0x498e3b
mov esi, edx
cmp eax, edi
jg 0x498f16
mov ebx, edx
jmp 0x498e20
cmp eax, edi
jle 0x498e20
mov edx, dword [ebp + 0x30]
cmp ebx, 1
mov eax, dword [ebp + 0x2c]
mov ecx, dword [esp + 0x90]
mov dword [edx], esi
je 0x498eff
cmp ecx, dword [0x5ed08c]
je 0x498ecc
test edi, edi
jle 0x498ecc
mov ebx, dword [esp + 0xd0]
mov esi, 1
mov dword [esp + 0xd8], edi
mov eax, dword [ebp + 0x28]
mov edi, dword [esp + 0xcc]
cmp dword [eax], 1
lea edi, [edi + ebx]
je 0x498edb
add esp, 0xfffffff0
mov eax, edi
mov ecx, 0x5c3dcc
mov dword [esp + 0xc], 0x5e1c90
mov edx, dword [esp + 0xd0]
call fcn.0049973c
push 0x5ed01c
push edi
push dword [esp + 0xc8]
call fcn.00461200
mov eax, dword [esp + 0xd4]
inc esi
cmp esi, dword [esp + 0xd8]
lea ebx, [ebx + eax*8]
jle 0x498e76
add esp, 0xe4
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x2c
mov eax, dword [ebp + 0x2c]
mov edx, dword [eax]
imul edx, dword [esp + 0xd0]
add edx, dword [esp + 0xc8]
push 0x5ed01c
add edx, ebx
push edx
push edi
call fcn.00461200
jmp 0x498e88
test ecx, ecx
je 0x498b28
cmp dword [0x5ed080], 0
je 0x498b28
jmp 0x498ecc
mov edx, dword [ebp + 0x30]
mov eax, dword [ebp + 0x2c]
mov ecx, dword [esp + 0x90]
mov dword [edx], 1
jmp 0x498eff
test edi, edi
jle 0x498c29
cmp dword [esp + 0x50], 0
je 0x4992e2
mov edx, dword [esp + 0x9c]
imul edx, ebx
mov eax, dword [esp + 0x80]
mov dword [esp + 0x40], edx
add eax, edx
mov edx, ecx
sub edx, edi
lea eax, [eax + edx*8]
and eax, 0xf
mov dword [esp + 0x34], eax
je 0x498f79
test byte [esp + 0x34], 7
jne 0x4992e2
mov eax, 1
mov dword [esp + 0x34], eax
lea edx, [eax + 8]
cmp edi, edx
jl 0x4992e2
mov edx, edi
sub edx, eax
and edx, 7
neg edx
add edx, edi
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x3c], edi
imul edi, edx
imul edx, ecx
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x40]
add edi, dword [esp + 0x80]
mov dword [esp + 0x40], edi
test eax, eax
mov dword [esp + 0x44], edx
mov edi, dword [esp + 0x3c]
jbe 0x49903f
mov edx, edi
neg edx
add edx, ecx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x3c], edi
lea eax, [eax + edx*8]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x44]
lea edx, [edx + ebx*8]
sub edx, eax
mov dword [esp + 0x1c], ebx
mov eax, edx
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x50]
mov edi, dword [ebp + 0x24]
movsd xmm0, qword [edi + ecx*8]
movsd qword [edx + ecx*8], xmm0
inc ecx
movsd qword [eax - 8], xmm0
lea eax, [eax + esi*8]
cmp ecx, ebx
jb 0x499011
mov dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0xc0]
mov dword [esp + 0x3c], edi
neg edi
add edi, ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x9c]
imul edx, eax
lea ecx, [ecx + edi*8]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x48]
lea ecx, [edi + ebx*8]
mov edi, dword [esp + 4]
sub edx, dword [esp + 0x44]
sub ecx, edx
mov dword [esp + 0xac], ecx
lea ecx, [edi + ebx*8]
mov edi, dword [esp + 0xc]
sub ecx, edx
mov dword [esp + 0xa8], ecx
lea ecx, [edi + ebx*8]
mov edi, dword [esp + 8]
sub ecx, edx
mov dword [esp + 0xa4], ecx
lea ecx, [edi + ebx*8]
mov edi, dword [esp + 0x3c]
sub ecx, edx
mov edx, dword [ebp + 0x24]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x18]
lea eax, [edx + eax*8]
test al, 0xf
je 0x499196
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x3c], edi
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x34]
mov edx, dword [ebp + 0x24]
mov edi, dword [esp + 0xac]
mov eax, dword [esp + 0x9c]
movsd xmm0, qword [edx + esi*8]
movhpd xmm0, qword [edx + esi*8 + 8]
lea edi, [ebx + edi - 8]
movaps xmmword [ecx + esi*8], xmm0
movlpd qword [edi], xmm0
movhpd qword [edi + eax], xmm0
mov edi, dword [esp + 0xa8]
movsd xmm1, qword [edx + esi*8 + 0x10]
movhpd xmm1, qword [edx + esi*8 + 0x18]
movaps xmmword [ecx + esi*8 + 0x10], xmm1
lea edi, [ebx + edi - 8]
movlpd qword [edi], xmm1
movhpd qword [edi + eax], xmm1
mov edi, dword [esp + 0xa4]
movsd xmm2, qword [edx + esi*8 + 0x20]
movhpd xmm2, qword [edx + esi*8 + 0x28]
movaps xmmword [ecx + esi*8 + 0x20], xmm2
lea edi, [ebx + edi - 8]
movlpd qword [edi], xmm2
movhpd qword [edi + eax], xmm2
mov edi, dword [esp + 0xa0]
movsd xmm3, qword [edx + esi*8 + 0x30]
movhpd xmm3, qword [edx + esi*8 + 0x38]
movaps xmmword [ecx + esi*8 + 0x30], xmm3
lea edi, [ebx + edi - 8]
add esi, 8
add ebx, dword [esp + 0xb0]
movlpd qword [edi], xmm3
movhpd qword [edi + eax], xmm3
cmp esi, dword [esp + 0x98]
jb 0x4990e1
jmp 0x499245
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x3c], edi
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x34]
mov edx, dword [ebp + 0x24]
mov edi, dword [esp + 0xac]
mov eax, dword [esp + 0x9c]
movaps xmm0, xmmword [edx + esi*8]
movaps xmmword [ecx + esi*8], xmm0
lea edi, [ebx + edi - 8]
movlpd qword [edi], xmm0
movhpd qword [edi + eax], xmm0
mov edi, dword [esp + 0xa8]
movaps xmm1, xmmword [edx + esi*8 + 0x10]
movaps xmmword [ecx + esi*8 + 0x10], xmm1
lea edi, [ebx + edi - 8]
movlpd qword [edi], xmm1
movhpd qword [edi + eax], xmm1
mov edi, dword [esp + 0xa4]
movaps xmm2, xmmword [edx + esi*8 + 0x20]
movaps xmmword [ecx + esi*8 + 0x20], xmm2
lea edi, [ebx + edi - 8]
movlpd qword [edi], xmm2
movhpd qword [edi + eax], xmm2
mov edi, dword [esp + 0xa0]
movaps xmm3, xmmword [edx + esi*8 + 0x30]
movaps xmmword [ecx + esi*8 + 0x30], xmm3
add esi, 8
lea edi, [ebx + edi - 8]
add ebx, dword [esp + 0xb0]
movlpd qword [edi], xmm3
movhpd qword [edi + eax], xmm3
cmp esi, dword [esp + 0x98]
jb 0x4991b1
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0xc0]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x98]
imul eax, edx
mov dword [esp + 0x4c], eax
cmp edx, edi
jae 0x498c29
mov edx, edi
neg edx
mov eax, dword [esp + 0x9c]
add edx, ecx
mov ecx, eax
imul ecx, ebx
add ecx, dword [esp + 0x80]
mov dword [esp + 0x1c], ebx
mov esi, dword [ebp + 0x24]
lea ecx, [ecx + edx*8]
mov dword [esp + 0x30], ecx
imul edx, eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x4c]
lea eax, [eax + ebx*8]
mov ebx, dword [esp + 0x50]
lea eax, [eax + ecx*8]
mov ecx, dword [esp + 0x98]
add edx, eax
mov eax, dword [esp + 0x30]
movsd xmm0, qword [esi + ecx*8]
movsd qword [eax + ecx*8], xmm0
inc ecx
movsd qword [edx - 8], xmm0
lea edx, [edx + ebx*8]
cmp ecx, edi
jb 0x4992bb
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0xc0]
jmp 0x498c29
xor eax, eax
mov dword [esp + 0x98], eax
jmp 0x499258
mov eax, dword [ebp + 0x30]
mov dword [eax], 0
jmp 0x498e57
mov edx, dword [0x5ed078]
cmp edx, ebx
jle 0x498dda
cmp ecx, dword [0x5ed08c]
jge 0x4993d4
mov esi, eax
neg esi
lea edi, [esi + edx + 1]
mov dword [esp + 0x78], edi
test edi, edi
jbe 0x498dda
neg edx
lea edi, [ebx*8]
neg edi
lea esi, [ebx*8 + 8]
add edi, dword [ebp + 0x24]
add edx, ecx
add edi, esi
neg esi
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x80]
mov dword [esp + 0x64], eax
lea eax, [ebx + ecx]
mov dword [esp + 0x90], ecx
lea ecx, [edx + ebx + 1]
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0x84], 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 + 0x84]
mov dword [esp + 0x54], 0
mov dword [esp + 0x5c], ecx
lea edx, [eax + edx*8]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x50]
movsd xmm0, qword [ecx + ebx*8 - 8]
movsd qword [edx + ebx*8 - 8], xmm0
inc ebx
movsd qword [eax - 8], xmm0
lea eax, [eax + edi*8]
cmp ebx, esi
jb 0x4993ab
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x64]
jmp 0x498dda
mov edi, eax
neg edi
lea esi, [edi + edx + 1]
mov dword [esp + 0x70], esi
mov edi, dword [esp + 0x80]
lea esi, [ebx + ecx]
imul esi, dword [esp + 0x9c]
mov dword [esp + 0x6c], esi
add esi, edi
mov edi, ecx
sub edi, edx
lea edi, [edi + ebx + 1]
lea esi, [esi + edi*8 + 8]
and esi, 0xf
mov dword [esp + 0x60], esi
je 0x499421
test byte [esp + 0x60], 7
jne 0x499601
mov esi, 1
mov dword [esp + 0x60], esi
lea edi, [esi + 8]
cmp edi, dword [esp + 0x70]
jg 0x499601
mov edi, dword [esp + 0x70]
mov dword [esp + 0x64], eax
mov eax, edi
sub eax, esi
and eax, 7
neg eax
add eax, edi
mov dword [esp + 0x88], ebx
mov dword [esp + 0x68], eax
lea eax, [ebx*8 + 8]
mov dword [esp + 0x84], edx
shl ebx, 3
neg ebx
add ebx, dword [ebp + 0x24]
add ebx, eax
neg eax
mov dword [esp + 0x74], ebx
mov ebx, ecx
mov edi, dword [esp + 0x6c]
sub ebx, edx
mov edx, dword [esp + 0x80]
add edx, edi
sub edx, eax
test esi, esi
lea eax, [edx + ebx*8]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
jbe 0x4994d3
mov dword [esp + 0x90], ecx
xor esi, esi
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x74]
mov edi, dword [esp + 0x60]
movsd xmm0, qword [ecx + esi*8 - 8]
movsd qword [eax + esi*8 - 8], xmm0
inc esi
cmp esi, edi
jb 0x4994b3
mov dword [esp + 0x60], edi
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x64]
mov esi, ebx
neg esi
mov edi, dword [ebp + 0x24]
lea esi, [esi + ebx + 1]
add esi, dword [esp + 0x60]
lea edi, [edi + esi*8 + 8]
test edi, 0xf
je 0x499555
mov dword [esp + 0x90], ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x7c]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x60]
movsd xmm0, qword [esi + edi*8 - 8]
movsd xmm1, qword [esi + edi*8 + 8]
movsd xmm2, qword [esi + edi*8 + 0x18]
movsd xmm3, qword [esi + edi*8 + 0x28]
movhpd xmm0, qword [esi + edi*8]
movhpd xmm1, qword [esi + edi*8 + 0x10]
movhpd xmm2, qword [esi + edi*8 + 0x20]
movhpd xmm3, qword [esi + edi*8 + 0x30]
movaps xmmword [ecx + edi*8 - 8], xmm0
movaps xmmword [ecx + edi*8 + 8], xmm1
movaps xmmword [ecx + edi*8 + 0x18], xmm2
movaps xmmword [ecx + edi*8 + 0x28], xmm3
add edi, 8
cmp edi, eax
jb 0x499509
jmp 0x49959f
mov dword [esp + 0x90], ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x7c]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x60]
movaps xmm0, xmmword [esi + edi*8 - 8]
movaps xmm1, xmmword [esi + edi*8 + 8]
movaps xmm2, xmmword [esi + edi*8 + 0x18]
movaps xmm3, xmmword [esi + edi*8 + 0x28]
movaps xmmword [ecx + edi*8 - 8], xmm0
movaps xmmword [ecx + edi*8 + 8], xmm1
movaps xmmword [ecx + edi*8 + 0x18], xmm2
movaps xmmword [ecx + edi*8 + 0x28], xmm3
add edi, 8
cmp edi, eax
jb 0x499570
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x68]
cmp esi, dword [esp + 0x70]
jae 0x498dda
mov edi, dword [esp + 0x6c]
lea esi, [ebx*8 + 8]
shl ebx, 3
neg edx
neg ebx
add edx, ecx
add ebx, dword [ebp + 0x24]
add edi, dword [esp + 0x80]
add ebx, esi
neg esi
sub edi, esi
mov esi, dword [esp + 0x68]
lea edx, [edi + edx*8]
mov edi, dword [esp + 0x70]
movsd xmm0, qword [ebx + esi*8 - 8]
movsd qword [edx + esi*8 - 8], xmm0
inc esi
cmp esi, edi
jb 0x4995eb
jmp 0x498dda
xor esi, esi
mov dword [esp + 0x68], esi
jmp 0x4995ae
lea eax, [ebx + 1]
jmp 0x498dda
cmp edx, dword [0x5ed08c]
jge 0x499672
mov eax, dword [0x5ed078]
add edx, ebx
neg eax
add eax, edx
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x80]
sqrtsd xmm1, xmm1
mov dword [esp + 0x14], esi
lea ecx, [edi + eax*8]
mov esi, dword [esp + 0x9c]
imul eax, esi
mov dword [esp + 0x88], 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 + 0x88]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
jmp 0x498d3c
sqrtsd xmm1, xmm1
mov ecx, dword [esp + 0x80]
lea eax, [ebx + edx]
sub edx, dword [0x5ed078]
add edx, ebx
imul eax, dword [esp + 0x9c]
lea edx, [ecx + edx*8]
movsd qword [edx + eax - 8], xmm1
jmp 0x498d3c
mov ecx, dword [eax]
jmp 0x498df5
mov eax, ebx
lea edx, [esp + 0x8c]
add eax, dword [0x5ed0d4]
mov dword [esp + 0x8c], eax
push 0x5ed01c
push 0x5ed09c
push 0x5c3dcc
push edx
push dword [ebp + 0x1c]
push edi
call fcn.004777a0
add esp, 0xfffffff0
mov eax, edi
mov ecx, 0x5c3dcc
mov dword [esp + 0xc], 0x5e1c90
mov edx, dword [esp + 0xd0]
call fcn.0049973c
push 0x5ed01c
push dword [esp + 0xc4]
push edi
call fcn.00473d60
mov eax, dword [ebp + 0x20]
fstp qword [eax + ebx*8 - 8]
jmp 0x498b9d
mov dword [esp + 0xc4], eax
mov dword [esp + 0x9c], edx
mov dword [esp + 0x50], ecx
mov edx, dword [ebp + 0x30]
mov eax, dword [ebp + 0x2c]
jmp 0x498bb7