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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x5f21f8
mov eax, dword fs:[0]
push eax
sub esp, 0x428
push ebx
push esi
push edi
mov eax, dword [0x615cbc]
xor eax, esp
push eax
lea eax, [esp + 0x438]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov dword [esp + 0x1c], 0
movsd xmm0, qword [esi + 0x28]
movsd qword [esp + 0x164], xmm0
xorps xmm0, xmm0
movsd qword [esi + 0x28], xmm0
cmp byte [edi + 0x120], 0
je 0x4d6728
mov ecx, dword [esi + 0x74]
mov eax, dword [esi + 0x4c]
cmp ecx, eax
movsd xmm1, qword [esi + 0x20]
mov bl, byte [esi + 0x41]
movsd qword [esp + 0xd4], xmm1
jl 0x4d5a16
mov ecx, dword [esi + 0x6c]
movsd xmm0, qword [ecx + eax*8 - 8]
mov ecx, esi
movsd qword [esp + 0x94], xmm0
call fcn.00472d50
fstp qword [esp + 0x54]
movsd xmm6, qword [esp + 0x54]
movsd xmm1, qword [0x5ff780]
movsd xmm3, qword [0x5fc860]
test bl, bl
je 0x4d5ab0
movsd xmm0, qword [esi + 0x18]
movapd xmm2, xmm1
addsd xmm2, xmm6
comisd xmm0, xmm2
jbe 0x4d5ab0
subsd xmm0, qword [esi + 0x10]
movsd xmm2, qword [esp + 0xd4]
andpd xmm0, xmm3
subsd xmm2, xmm1
comisd xmm2, xmm0
jbe 0x4d5ab0
mov edx, dword [esi]
mov eax, dword [edx + 0x38]
mov ecx, esi
call eax
fld qword [esi + 0x18]
mov ebx, eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x30]
sub esp, 0x10
fstp qword [esp + 8]
mov ecx, ebx
fld qword [esi + 0x10]
fstp qword [esp]
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x24]
push edi
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov eax, dword [edx]
push 1
mov ecx, ebx
call eax
jmp 0x4d8e7c
movsd xmm0, qword [esi + 0x10]
movsd xmm5, qword [esp + 0x94]
movsd xmm4, qword [0x5fb9d0]
movsd xmm2, qword [esi + 0x18]
movapd xmm7, xmm0
subsd xmm7, xmm5
andpd xmm7, xmm3
comisd xmm4, xmm7
movsd qword [esp + 0x64], xmm0
movsd qword [esp + 0x24], xmm2
jbe 0x4d5af3
movapd xmm0, xmm5
movsd qword [esp + 0x64], xmm0
movapd xmm7, xmm2
subsd xmm7, xmm6
andpd xmm7, xmm3
comisd xmm4, xmm7
jbe 0x4d5b0f
movapd xmm2, xmm6
movsd qword [esp + 0x24], xmm2
subsd xmm5, xmm1
comisd xmm5, xmm0
ja 0x4d66eb
addsd xmm1, xmm6
comisd xmm2, xmm1
ja 0x4d66eb
mov cl, byte [edi + 0x132]
cmp byte [edi + 0x130], 0
movzx eax, byte [0x5feb8c]
push 0
mov byte [esp + 0x20], cl
mov edx, dword [esp + 0x20]
push 3
push edx
seta cl
push eax
mov eax, dword [edi + 0x144]
movzx edx, cl
mov ecx, dword [eax + 0xa8]
push edx
push ecx
mov ecx, dword [edi + 0x148]
push 0x7e
call fcn.005318b0
mov eax, dword [edi + 0x134]
mov ecx, dword [edi + 0x148]
mov dword [ecx + 0x28], eax
mov edx, dword [0x6189c8]
mov eax, dword [0x5feb84]
mov ecx, dword [edi + 0x144]
push edx
push eax
push 0x7e
call fcn.00531470
movsd xmm1, qword [esp + 0x94]
movsd xmm0, qword [0x5ff780]
movsd xmm2, qword [esi + 0x10]
subsd xmm1, xmm0
comisd xmm2, xmm1
jb 0x4d5dd4
addsd xmm0, qword [esp + 0x54]
comisd xmm0, xmmword [esi + 0x18]
jb 0x4d5dd4
mov ecx, dword [0x5feb84]
mov edx, dword [esi + 0x48]
push 0xffffffffffffffff
push ecx
mov ecx, dword [edi + 0x144]
dec edx
push edx
call fcn.00531470
mov eax, dword [0x5feb84]
mov ecx, dword [esi + 0x4c]
push 0xffffffffffffffff
dec ecx
push eax
push ecx
mov ecx, dword [edi + 0x144]
call fcn.00531470
mov edx, dword [0x5feb84]
mov ecx, dword [edi + 0x144]
push 0xffffffffffffffff
push edx
push 1
call fcn.00531470
mov eax, dword [0x5feb84]
xor ecx, ecx
cmp byte [esi + 0x40], cl
push 0xffffffffffffffff
setne cl
push eax
push ecx
mov ecx, dword [edi + 0x144]
call fcn.00531470
movzx eax, byte [esi + 0x50]
mov edx, dword [0x5feb84]
mov ecx, dword [edi + 0x144]
not al
push 0xffffffffffffffff
push edx
and eax, 1
push eax
call fcn.00531470
mov edx, dword [esi + 0x50]
mov ecx, dword [0x5feb84]
push 0xffffffffffffffff
shr edx, 2
push ecx
mov ecx, dword [edi + 0x144]
and edx, 1
push edx
call fcn.00531470
mov eax, dword [esi + 0x48]
add eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x6c]
push eax
push ecx
mov ecx, dword [edi + 0x144]
call fcn.005314e0
test byte [esi + 0x50], 1
je 0x4d5c9c
mov edx, dword [esi + 0x48]
mov eax, dword [esi + 0x60]
mov ecx, dword [edi + 0x144]
push edx
push eax
call fcn.005314e0
jmp 0x4d5cc3
xor ebx, ebx
cmp dword [esi + 0x48], ebx
jle 0x4d5cc3
mov ecx, dword [0x5feb84]
fld1
push ecx
mov ecx, dword [edi + 0x144]
sub esp, 8
fstp qword [esp]
call fcn.005312b0
inc ebx
cmp ebx, dword [esi + 0x48]
jl 0x4d5ca3
cmp dword [esi + 0x48], 0
fldz
mov dword [esp + 0x1c], 0
jle 0x4d5d98
xor ebx, ebx
jmp 0x4d5ce2
fldz
mov eax, dword [esi + 0x54]
movq xmm1, qword [eax + ebx]
movq xmm0, qword [eax + ebx + 8]
add eax, ebx
cmp byte [edi + 0x14d], 0
movsd qword [esp + 0x154], xmm1
movsd qword [esp + 0x15c], xmm0
jne 0x4d5d2b
sub esp, 0x18
fstp qword [esp + 0x10]
fld qword [esp + 0x174]
fstp qword [esp + 8]
fld qword [esp + 0x16c]
fstp qword [esp]
jmp 0x4d5d76
cmp byte [edi + 0x14c], 0
je 0x4d5d40
movapd xmm2, xmm1
movapd xmm1, xmm0
movapd xmm0, xmm2
subsd xmm0, qword [edi + 0x168]
mulsd xmm0, qword [edi + 0x178]
subsd xmm1, qword [edi + 0x160]
sub esp, 0x18
fstp qword [esp + 0x10]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [edi + 0x170]
mulsd xmm0, xmm1
movsd qword [esp], xmm0
mov ecx, dword [edi + 0x144]
call fcn.00531590
mov eax, dword [esp + 0x1c]
inc eax
add ebx, 0x10
cmp eax, dword [esi + 0x48]
mov dword [esp + 0x1c], eax
jl 0x4d5ce0
jmp 0x4d5d9a
fstp st(0)
mov edx, dword [0x5feb84]
fld qword [esi + 0x10]
mov ecx, dword [edi + 0x144]
push edx
sub esp, 8
fstp qword [esp]
call fcn.005312b0
mov eax, dword [0x5feb84]
fld qword [esi + 0x18]
mov ecx, dword [edi + 0x144]
push eax
sub esp, 8
fstp qword [esp]
call fcn.005312b0
jmp 0x4d669c
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x48]
lea ebx, [edx + ecx*2 - 2]
push ebx
lea ecx, [esp + 0x88]
call fcn.00412cb0
push ebx
lea ecx, [esp + 0x108]
mov dword [esp + 0x444], 0
call fcn.00412c80
mov eax, dword [esi + 0x4c]
add eax, ebx
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x444], 1
call fcn.00412c80
movsd xmm0, qword [0x5ff780]
movsd xmm1, qword [esp + 0x94]
movapd xmm2, xmm0
addsd xmm2, xmm1
comisd xmm2, xmmword [esp + 0x24]
mov byte [esp + 0x440], 2
ja 0x4d6431
movsd xmm3, qword [esp + 0x54]
movsd xmm2, qword [esp + 0x64]
movapd xmm4, xmm3
subsd xmm4, xmm0
comisd xmm2, xmm4
ja 0x4d6431
xorps xmm4, xmm4
subsd xmm1, xmm0
comisd xmm1, xmm2
movsd qword [esp + 0x4c], xmm4
jbe 0x4d6030
mov edx, dword [esi]
fld qword [esp + 0x64]
mov edx, dword [edx + 0x4c]
sub esp, 8
lea eax, [esp + 0x9c]
fstp qword [esp]
push eax
mov ecx, esi
movsd qword [esp + 0x58], xmm2
call edx
mov eax, dword [esi + 0x54]
movq xmm0, qword [eax]
movq xmm1, qword [eax + 8]
mov ebx, dword [esi + 0x4c]
subsd xmm0, qword [esp + 0x94]
subsd xmm1, qword [esp + 0x9c]
lea ecx, [esp + 0x144]
movsd qword [esp + 0x144], xmm0
movsd qword [esp + 0x14c], xmm1
mov dword [esp + 0x2c], ebx
call fcn.004a7bc0
dec ebx
mov dword [esp + 0x1c], ebx
fild dword [esp + 0x1c]
xorps xmm4, xmm4
xor ebx, ebx
cmp dword [esp + 0x2c], ebx
fdivp st(1)
fstp qword [esp + 0xd4]
jle 0x4d5f7a
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x104]
mov eax, dword [esp + 0x84]
movsd xmm3, qword [esp + 0xd4]
movsd xmm5, qword [0x5fb270]
sub edx, ecx
movsd xmm0, qword [esp + 0x144]
movsd xmm1, qword [esp + 0x14c]
cvtsi2sd xmm2, ebx
mulsd xmm2, xmm3
mulsd xmm0, xmm2
addsd xmm0, qword [esp + 0x94]
mulsd xmm1, xmm2
addsd xmm1, qword [esp + 0x9c]
movq qword [eax], xmm0
movq qword [eax + 8], xmm1
test byte [esi + 0x50], 1
je 0x4d5f6a
movsd qword [edx + ecx], xmm5
movsd qword [ecx], xmm4
inc ebx
add eax, 0x10
add ecx, 8
cmp ebx, dword [esi + 0x4c]
jl 0x4d5f22
mov eax, 1
cmp dword [esi + 0x48], eax
mov dword [esp + 0x1c], eax
jle 0x4d6022
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x104]
movsd xmm0, qword [esp + 0x64]
lea eax, [ecx + ebx*8]
mov dword [esp + 0x5c], eax
mov eax, ebx
shl eax, 4
add eax, dword [esp + 0x84]
sub edx, ecx
mov dword [esp + 0x34], 0x10
mov dword [esp + 0x3c], edx
mov ecx, dword [esi + 0x54]
add ecx, dword [esp + 0x34]
movq xmm1, qword [ecx]
movq qword [eax], xmm1
movq xmm1, qword [ecx + 8]
movq qword [eax + 8], xmm1
test byte [esi + 0x50], 1
je 0x4d5ff2
mov ecx, dword [esi + 0x60]
mov edx, dword [esp + 0x1c]
fld qword [ecx + edx*8]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x3c]
fstp qword [ecx + edx]
mov edx, dword [esi + 0x6c]
mov ecx, dword [esp + 0x1c]
movsd xmm1, qword [edx + ecx*8]
mov edx, dword [esp + 0x5c]
add dword [esp + 0x34], 0x10
add dword [esp + 0x5c], 8
inc ecx
subsd xmm1, xmm0
movsd qword [edx], xmm1
inc ebx
add eax, 0x10
cmp ecx, dword [esi + 0x48]
mov dword [esp + 0x1c], ecx
jl 0x4d5fbe
movsd xmm3, qword [esp + 0x54]
movsd qword [esp + 0x64], xmm4
jmp 0x4d6099
xor ebx, ebx
cmp dword [esi + 0x48], ebx
jle 0x4d60a1
mov eax, dword [esp + 0x104]
xor ecx, ecx
sub eax, dword [esp + 0x74]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x54]
mov edx, dword [esp + 0x84]
movq xmm0, qword [eax + ecx]
add eax, ecx
add edx, ecx
movq qword [edx], xmm0
movq xmm0, qword [eax + 8]
movq qword [edx + 8], xmm0
test byte [esi + 0x50], 1
je 0x4d6083
mov eax, dword [esi + 0x60]
mov edx, dword [esp + 0x74]
fld qword [eax + ebx*8]
mov eax, dword [esp + 0x3c]
lea edx, [edx + ebx*8]
fstp qword [edx + eax]
mov edx, dword [esi + 0x6c]
fld qword [edx + ebx*8]
mov eax, dword [esp + 0x74]
fstp qword [eax + ebx*8]
inc ebx
add ecx, 0x10
cmp ebx, dword [esi + 0x48]
jl 0x4d6048
movsd xmm0, qword [0x5ff780]
xor ecx, ecx
cmp dword [esi + 0x4c], ecx
jle 0x4d60d5
mov edx, dword [esp + 0x74]
movapd xmm0, xmm3
subsd xmm0, qword [esp + 0x4c]
lea eax, [edx + ebx*8]
lea esp, [esp]
movsd qword [eax], xmm0
inc ecx
add eax, 8
cmp ecx, dword [esi + 0x4c]
jl 0x4d60c0
movsd xmm0, qword [0x5ff780]
movsd xmm1, qword [esp + 0x24]
addsd xmm0, xmm3
comisd xmm1, xmm0
jbe 0x4d624a
fld qword [esp + 0x24]
mov eax, dword [esi]
mov edx, dword [eax + 0x4c]
sub esp, 8
lea ecx, [esp + 0x1a4]
fstp qword [esp]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x54]
movsd xmm2, qword [esp + 0x19c]
mov edx, dword [esi + 0x4c]
shl eax, 4
movq xmm0, qword [eax + ecx - 0x10]
movq xmm1, qword [eax + ecx - 8]
lea eax, [eax + ecx - 0x10]
subsd xmm2, xmm0
movsd qword [esp + 0x154], xmm0
movsd xmm0, qword [esp + 0x1a4]
subsd xmm0, xmm1
lea ecx, [esp + 0x144]
movsd qword [esp + 0x15c], xmm1
movsd qword [esp + 0x144], xmm2
movsd qword [esp + 0x14c], xmm0
mov dword [esp + 0x2c], edx
call fcn.004a7bc0
mov eax, dword [esp + 0x2c]
lea ecx, [eax - 1]
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
movsd xmm0, qword [esp + 0x24]
subsd xmm0, qword [esp + 0x4c]
fdivp st(1)
mov edx, dword [esp + 0x74]
add eax, ebx
mov ecx, 1
movapd xmm6, xmm0
movsd qword [edx + eax*8 - 8], xmm6
cmp dword [esi + 0x4c], ecx
mov dword [esp + 0x1c], ecx
fstp qword [esp + 0xd4]
jle 0x4d6244
movsd xmm3, qword [esp + 0xd4]
movsd xmm7, qword [0x5fb270]
movsd xmm5, qword [esp + 0x15c]
movsd xmm4, qword [esp + 0x154]
mov eax, ebx
shl eax, 4
add eax, dword [esp + 0x84]
movsd xmm0, qword [esp + 0x144]
movsd xmm1, qword [esp + 0x14c]
cvtsi2sd xmm2, ecx
mulsd xmm2, xmm3
mulsd xmm0, xmm2
mulsd xmm1, xmm2
addsd xmm0, xmm4
movq qword [eax], xmm0
addsd xmm1, xmm5
movq qword [eax + 8], xmm1
test byte [esi + 0x50], 1
je 0x4d6228
mov ecx, dword [esp + 0x104]
movsd qword [ecx + ebx*8], xmm7
mov ecx, dword [esi + 0x4c]
add ecx, ebx
movsd qword [edx + ecx*8], xmm6
mov ecx, dword [esp + 0x1c]
inc ecx
inc ebx
add eax, 0x10
cmp ecx, dword [esi + 0x4c]
mov dword [esp + 0x1c], ecx
jl 0x4d61e3
movsd qword [esp + 0x24], xmm6
mov edx, dword [0x5feb84]
mov ecx, dword [edi + 0x144]
push 0xffffffffffffffff
push edx
lea eax, [ebx - 1]
push eax
call fcn.00531470
mov ecx, dword [0x5feb84]
mov edx, dword [esi + 0x4c]
push 0xffffffffffffffff
push ecx
mov ecx, dword [edi + 0x144]
dec edx
push edx
call fcn.00531470
mov eax, dword [0x5feb84]
mov ecx, dword [edi + 0x144]
push 0xffffffffffffffff
push eax
push 1
call fcn.00531470
mov ecx, dword [0x5feb84]
xor edx, edx
cmp byte [esi + 0x40], dl
push 0xffffffffffffffff
setne dl
push ecx
mov ecx, dword [edi + 0x144]
push edx
call fcn.00531470
movzx ecx, byte [esi + 0x50]
mov eax, dword [0x5feb84]
not cl
push 0xffffffffffffffff
push eax
and ecx, 1
push ecx
mov ecx, dword [edi + 0x144]
call fcn.00531470
mov eax, dword [esi + 0x50]
mov edx, dword [0x5feb84]
mov ecx, dword [edi + 0x144]
push 0xffffffffffffffff
shr eax, 2
push edx
and eax, 1
push eax
call fcn.00531470
mov ecx, dword [esi + 0x4c]
mov edx, dword [esp + 0x74]
add ecx, ebx
push ecx
mov ecx, dword [edi + 0x144]
push edx
call fcn.005314e0
test byte [esi + 0x50], 1
je 0x4d631a
mov eax, dword [esp + 0x104]
mov ecx, dword [edi + 0x144]
push ebx
push eax
call fcn.005314e0
jmp 0x4d6343
test ebx, ebx
jle 0x4d6345
mov dword [esp + 0x1c], ebx
mov ecx, dword [0x5feb84]
fld1
push ecx
mov ecx, dword [edi + 0x144]
sub esp, 8
fstp qword [esp]
call fcn.005312b0
sub dword [esp + 0x1c], 1
jne 0x4d6322
test ebx, ebx
fldz
jle 0x4d6404
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x84]
jmp 0x4d6362
fldz
cmp byte [edi + 0x14d], 0
jne 0x4d6382
fld qword [ebx + 8]
sub esp, 0x18
fld qword [ebx]
fxch st(2)
fstp qword [esp + 0x10]
fstp qword [esp + 8]
fstp qword [esp]
jmp 0x4d63e9
cmp byte [edi + 0x14c], 0
je 0x4d6399
fld qword [ebx + 8]
movsd xmm0, qword [ebx]
fstp qword [ebx]
movsd qword [ebx + 8], xmm0
movsd xmm0, qword [ebx]
subsd xmm0, qword [edi + 0x160]
movsd qword [ebx], xmm0
movsd xmm0, qword [ebx + 8]
subsd xmm0, qword [edi + 0x168]
movsd qword [ebx + 8], xmm0
movsd xmm2, qword [edi + 0x178]
movsd xmm1, qword [ebx]
sub esp, 0x18
mulsd xmm2, xmm0
fstp qword [esp + 0x10]
movsd xmm0, qword [edi + 0x170]
movsd qword [esp + 8], xmm2
mulsd xmm0, xmm1
movsd qword [esp], xmm0
mov ecx, dword [edi + 0x144]
call fcn.00531590
add ebx, 0x10
sub dword [esp + 0x1c], 1
jne 0x4d6360
jmp 0x4d6406
fstp st(0)
mov eax, dword [0x5feb84]
fld qword [esp + 0x64]
mov ecx, dword [edi + 0x144]
push eax
sub esp, 8
fstp qword [esp]
call fcn.005312b0
mov ecx, dword [0x5feb84]
fld qword [esp + 0x24]
push ecx
jmp 0x4d664a
mov edx, dword [esi]
fld qword [esp + 0x64]
mov edx, dword [edx + 0x4c]
sub esp, 8
lea eax, [esp + 0x13c]
fstp qword [esp]
push eax
mov ecx, esi
call edx
fld qword [esp + 0x24]
movq xmm0, qword [eax]
mov ebx, dword [esp + 0x84]
movq qword [ebx], xmm0
movq xmm0, qword [eax + 8]
sub esp, 8
movq qword [ebx + 8], xmm0
fstp qword [esp]
mov eax, dword [esi]
mov edx, dword [eax + 0x4c]
lea ecx, [esp + 0x13c]
push ecx
mov ecx, esi
call edx
movq xmm0, qword [eax]
movq qword [ebx + 0x10], xmm0
movq xmm0, qword [eax + 8]
movq qword [ebx + 0x18], xmm0
mov ebx, dword [esp + 0x74]
xorps xmm0, xmm0
movsd qword [ebx + 8], xmm0
movsd qword [ebx], xmm0
movsd xmm0, qword [0x5fb270]
movsd qword [ebx + 0x18], xmm0
movsd qword [ebx + 0x10], xmm0
mov eax, dword [0x5feb84]
mov ecx, dword [edi + 0x144]
push 0xffffffffffffffff
push eax
push 1
call fcn.00531470
mov ecx, dword [0x5feb84]
push 0xffffffffffffffff
push ecx
mov ecx, dword [edi + 0x144]
push 1
call fcn.00531470
mov edx, dword [0x5feb84]
mov ecx, dword [edi + 0x144]
push 0xffffffffffffffff
push edx
push 1
call fcn.00531470
mov eax, dword [0x5feb84]
mov ecx, dword [edi + 0x144]
push 0xffffffffffffffff
push eax
push 0
call fcn.00531470
mov ecx, dword [0x5feb84]
push 0xffffffffffffffff
push ecx
mov ecx, dword [edi + 0x144]
push 1
call fcn.00531470
mov edx, dword [0x5feb84]
mov ecx, dword [edi + 0x144]
push 0xffffffffffffffff
push edx
push 0
call fcn.00531470
mov ecx, dword [edi + 0x144]
push 4
push ebx
call fcn.005314e0
mov ebx, 2
mov eax, dword [0x5feb84]
fld1
mov ecx, dword [edi + 0x144]
push eax
sub esp, 8
fstp qword [esp]
call fcn.005312b0
sub ebx, 1
jne 0x4d654a
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x1c], 2
jmp 0x4d6580
cmp byte [edi + 0x14d], 0
fldz
jne 0x4d65a2
fld qword [ebx + 8]
sub esp, 0x18
fld qword [ebx]
fxch st(2)
fstp qword [esp + 0x10]
fstp qword [esp + 8]
fstp qword [esp]
jmp 0x4d6609
cmp byte [edi + 0x14c], 0
je 0x4d65b9
fld qword [ebx + 8]
movsd xmm0, qword [ebx]
fstp qword [ebx]
movsd qword [ebx + 8], xmm0
movsd xmm0, qword [ebx]
subsd xmm0, qword [edi + 0x160]
movsd qword [ebx], xmm0
movsd xmm0, qword [ebx + 8]
subsd xmm0, qword [edi + 0x168]
movsd qword [ebx + 8], xmm0
movsd xmm2, qword [edi + 0x178]
movsd xmm1, qword [ebx]
sub esp, 0x18
mulsd xmm2, xmm0
fstp qword [esp + 0x10]
movsd xmm0, qword [edi + 0x170]
movsd qword [esp + 8], xmm2
mulsd xmm0, xmm1
movsd qword [esp], xmm0
mov ecx, dword [edi + 0x144]
call fcn.00531590
add ebx, 0x10
sub dword [esp + 0x1c], 1
jne 0x4d6580
mov ecx, dword [0x5feb84]
mov ebx, dword [esp + 0x74]
fld qword [ebx]
push ecx
mov ecx, dword [edi + 0x144]
sub esp, 8
fstp qword [esp]
call fcn.005312b0
mov edx, dword [0x5feb84]
fld qword [ebx + 0x18]
push edx
mov ecx, dword [edi + 0x144]
sub esp, 8
fstp qword [esp]
call fcn.005312b0
mov eax, dword [esp + 0x74]
mov ebx, dword [sym.imp.MSVCR90.dll_free]
test eax, eax
je 0x4d666f
push eax
call ebx
add esp, 4
mov eax, dword [esp + 0x104]
test eax, eax
je 0x4d6680
push eax
call ebx
add esp, 4
mov eax, dword [esp + 0x84]
mov dword [esp + 0x440], 0xffffffff
test eax, eax
je 0x4d669c
push eax
call ebx
add esp, 4
fld1
mov ecx, dword [edi + 0x144]
sub esp, 0x18
fstp qword [esp + 0x10]
fldz
fst qword [esp + 8]
fstp qword [esp]
call fcn.00531590
mov eax, dword [0x5feb88]
mov ecx, dword [edi + 0x144]
push 0xffffffffffffffff
push eax
push 0
call fcn.00531470
mov ecx, dword [edi + 0x144]
mov edx, dword [ecx + 0xa8]
mov ecx, dword [edi + 0x148]
push edx
call fcn.00531930
jmp 0x4d8e7c
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
mov ecx, esi
call edx
fld qword [esp + 0x24]
sub esp, 0x10
fstp qword [esp + 8]
mov ebx, eax
fld qword [esp + 0x74]
mov ecx, ebx
fstp qword [esp]
call fcn.004d2c40
mov eax, dword [ebx]
mov edx, dword [eax + 0x24]
push edi
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax]
push 1
mov ecx, ebx
call edx
jmp 0x4d8e7c
lea ecx, [esp + 0x2fc]
call fcn.004e3630
mov eax, dword [edi + 0x3dc]
xorps xmm0, xmm0
mov edx, dword [edi + 0x41c]
mov ecx, eax
shl ecx, 4
sub ecx, eax
movsd qword [esp + 0x244], xmm0
movsd qword [esp + 0x23c], xmm0
movsd qword [esp + 0x234], xmm0
mov ebx, dword [edx + ecx*4]
test eax, eax
jge 0x4d6776
mov dword [esp + 0x20], 0
jmp 0x4d677e
lea eax, [eax + eax + 1]
mov dword [esp + 0x20], eax
push 0xffffffffffffffff
lea ecx, [esp + 0x238]
push ecx
lea edx, [esp + 0x304]
push edx
mov ecx, edi
call fcn.005331d0
cmp ebx, eax
je 0x4d67ec
cmp byte [edi + 0x383], 0
jne 0x4d67e7
push str.Invalid_File_Parameter_Data___
lea ecx, [edi + 0x2e8]
call fcn.0042f6f0
mov ebx, eax
cmp byte [ebx + 0x9c], 0
je 0x4d67cd
mov eax, dword [esp + 0x20]
push eax
lea ecx, [ebx + 0x10]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push ecx
push 0x5fcfd8
mov ecx, ebx
call fcn.0042f6f0
mov ecx, eax
call fcn.0042e970
xor ebx, ebx
mov byte [esi + 4], bl
lea eax, [ebx - 0x68]
cmp eax, 0x16
ja case.0x4d67ff.105
movzx edx, byte [eax + 0x4d8eb8]
jmp dword [edx*4 + 0x4d8ea4]
mov ecx, dword [edi + 0x144]
lea ebx, [esi + 0x48]
push ebx
call fcn.00532920
inc dword [ebx]
mov ecx, dword [edi + 0x144]
lea eax, [esi + 0x4c]
push eax
call fcn.00532920
inc dword [esi + 0x4c]
mov ecx, dword [edi + 0x144]
lea eax, [esp + 0x6c]
push eax
call fcn.00532920
mov ecx, dword [edi + 0x144]
lea eax, [esi + 0x40]
push eax
call fcn.00533170
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [edi + 0x144]
call fcn.00532920
mov ecx, dword [edi + 0x144]
xor edx, edx
cmp dword [esp + 0x5c], edx
lea eax, [esp + 0x3c]
sete dl
push eax
mov dword [esp + 0x60], edx
call fcn.00532920
mov eax, dword [esp + 0x5c]
neg eax
sbb eax, eax
add eax, 2
cmp dword [esp + 0x3c], 0
je 0x4d688a
or eax, 4
mov ecx, dword [esi + 0x4c]
mov edx, dword [ebx]
push eax
push ecx
push edx
mov ecx, esi
call fcn.004cbf70
mov eax, dword [ebx]
add eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x6c]
push eax
push ecx
mov ecx, dword [edi + 0x144]
call fcn.00532ab0
cmp dword [esp + 0x3c], 0
mov ecx, dword [esi + 0x4c]
mov eax, dword [esi + 0x6c]
movsd xmm0, qword [eax + ecx*8 - 8]
mov edx, dword [ebx]
je 0x4d68cd
add edx, ecx
movsd xmm1, qword [eax + edx*8 - 8]
jmp 0x4d68d2
movsd xmm1, qword [eax + edx*8]
cmp dword [esp + 0x3c], 0
xorps xmm4, xmm4
movsd xmm2, qword [0x5fb270]
movapd xmm3, xmm4
movsd qword [esp + 0xd4], xmm2
movsd qword [esp + 0x34], xmm3
jne 0x4d6905
movapd xmm5, xmm1
subsd xmm5, xmm0
comisd xmm2, xmm5
jbe 0x4d6924
movapd xmm5, xmm1
subsd xmm5, xmm0
movapd xmm3, xmm0
divsd xmm2, xmm5
movsd qword [esp + 0x34], xmm3
movsd qword [esp + 0xd4], xmm2
mov edx, dword [ebx]
add edx, ecx
xor eax, eax
test edx, edx
jle 0x4d6951
mov edi, edi
mov edx, dword [esi + 0x6c]
movsd xmm5, qword [edx + eax*8]
lea ecx, [edx + eax*8]
subsd xmm5, xmm3
mulsd xmm5, xmm2
movsd qword [ecx], xmm5
mov ecx, dword [ebx]
add ecx, dword [esi + 0x4c]
inc eax
cmp eax, ecx
jl 0x4d6930
mov eax, dword [esi + 0x4c]
cmp dword [esi + 0x74], eax
subsd xmm0, xmm3
subsd xmm1, xmm3
mulsd xmm0, xmm2
mulsd xmm1, xmm2
movsd qword [esp + 0x64], xmm0
movsd qword [esp + 0x24], xmm1
jl 0x4d6980
mov edx, dword [esi + 0x6c]
movsd xmm0, qword [edx + eax*8 - 8]
jmp 0x4d6984
movapd xmm0, xmm4
mov ecx, esi
movsd qword [esi + 0x10], xmm0
call fcn.00472d50
fstp qword [esi + 0x18]
cmp dword [esp + 0x3c], 0
movsd xmm0, qword [0x5fcac8]
je 0x4d69d3
mov ecx, dword [esi + 0x4c]
dec ecx
xor eax, eax
test ecx, ecx
jle 0x4d69d3
mov ecx, dword [esi + 0x6c]
movsd xmm1, qword [ecx]
comisd xmm1, xmm0
ja 0x4d69c7
mov edx, dword [esi + 0x4c]
inc eax
dec edx
add ecx, 8
cmp eax, edx
jl 0x4d69af
jmp 0x4d69d3
and dword [esi + 0x50], 0xfffffffb
mov dword [esp + 0x3c], 0
mov ecx, dword [ebx]
mov edx, dword [esi + 0x4c]
mov eax, 1
add ecx, edx
cmp ecx, eax
jle 0x4d6a09
mov ecx, dword [esi + 0x6c]
add ecx, 8
movsd xmm1, qword [ecx]
subsd xmm1, qword [ecx - 8]
comisd xmm0, xmm1
ja 0x4d6ac3
mov edx, dword [ebx]
add edx, dword [esi + 0x4c]
inc eax
add ecx, 8
cmp eax, edx
jl 0x4d69e9
test byte [esi + 0x50], 1
je 0x4d6c78
mov eax, dword [ebx]
mov ecx, dword [edi + 0x144]
push eax
mov eax, dword [esi + 0x60]
push eax
mov byte [esp + 0x53], 0
call fcn.00532ab0
xor eax, eax
cmp dword [ebx], eax
jle 0x4d6a94
mov ecx, dword [esi + 0x60]
movsd xmm2, qword [0x5fa920]
movsd xmm4, qword [0x5fa918]
movsd xmm3, qword [0x5fb270]
movsd xmm1, qword [0x5fc860]
jmp 0x4d6a60
movsd xmm0, qword [ecx]
comisd xmm4, xmm0
ja 0x4d6ba4
subsd xmm0, xmm3
andpd xmm0, xmm1
comisd xmm0, xmm2
jbe 0x4d6a81
mov byte [esp + 0x4b], 1
inc eax
add ecx, 8
cmp eax, dword [ebx]
jl 0x4d6a60
cmp byte [esp + 0x4b], 0
jne 0x4d6cb0
xor ecx, ecx
cmp dword [esp + 0x5c], ecx
sete cl
and dword [esi + 0x50], 0xfffffffe
mov eax, dword [esi + 0x60]
mov dword [esp + 0x5c], ecx
test eax, eax
je 0x4d6ab6
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
xor eax, eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x68], eax
jmp 0x4d6cb0
lea eax, [esp + 0x234]
push eax
lea ecx, [esp + 0x300]
push ecx
mov ecx, edi
mov byte [esi + 4], 0
call fcn.00532f60
cmp byte [edi + 0x383], 0
jne 0x4d8e7c
cmp byte [edi + 0x384], 0
je 0x4d8e7c
lea edx, [edi + 0x2f0]
test edx, edx
je 0x4d6b0a
lea eax, [edi + 0x2f8]
jmp 0x4d6b0c
xor eax, eax
push str.Invalid_NURBS_Curve:_Knot_vector_must_be_nondecreasing_DE_
push eax
call fcn.00427eb0
add esp, 8
cmp byte [edi + 0x384], 0
je 0x4d8e7c
mov eax, dword [esp + 0x20]
push eax
lea ecx, [edi + 0x2f8]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
cmp byte [edi + 0x384], 0
je 0x4d8e7c
lea ecx, [edi + 0x2f0]
test ecx, ecx
je 0x4d6b57
lea eax, [edi + 0x2f8]
jmp 0x4d6b59
xor eax, eax
push 0x5fcfd8
push eax
call fcn.00427eb0
add esp, 8
cmp byte [edi + 0x384], 0
je 0x4d8e7c
lea edx, [edi + 0x2f0]
test edx, edx
je 0x4d6b93
lea eax, [edi + 0x2f8]
push eax
call dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
add esp, 4
jmp 0x4d8e7c
xor eax, eax
push eax
call dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
add esp, 4
jmp 0x4d8e7c
lea ecx, [esp + 0x234]
push ecx
lea edx, [esp + 0x300]
push edx
mov ecx, edi
mov byte [esi + 4], 0
call fcn.00532f60
cmp byte [edi + 0x383], 0
jne 0x4d8e7c
cmp byte [edi + 0x384], 0
je 0x4d8e7c
lea eax, [edi + 0x2f0]
test eax, eax
je 0x4d6beb
lea eax, [edi + 0x2f8]
jmp 0x4d6bed
xor eax, eax
push str.Invalid_NURBS_Curve:_Weights_must_be_positive_real_DE_
push eax
call fcn.00427eb0
add esp, 8
cmp byte [edi + 0x384], 0
je 0x4d8e7c
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [edi + 0x2f8]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
cmp byte [edi + 0x384], 0
je 0x4d8e7c
lea edx, [edi + 0x2f0]
test edx, edx
je 0x4d6c38
lea eax, [edi + 0x2f8]
jmp 0x4d6c3a
xor eax, eax
push 0x5fcfd8
push eax
call fcn.00427eb0
add esp, 8
cmp byte [edi + 0x384], 0
je 0x4d8e7c
lea eax, [edi + 0x2f0]
test eax, eax
je 0x4d6b93
lea eax, [edi + 0x2f8]
push eax
call dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
add esp, 4
jmp 0x4d8e7c
cmp dword [ebx], 0
mov dword [esp + 0x20], 0
jle 0x4d6cb0
jmp 0x4d6c90
mov ecx, dword [edi + 0x144]
lea edx, [esp + 0x94]
push edx
call fcn.005329a0
mov eax, dword [esp + 0x20]
inc eax
cmp eax, dword [ebx]
mov dword [esp + 0x20], eax
jl 0x4d6c90
xorps xmm0, xmm0
xor eax, eax
cmp dword [ebx], eax
movsd qword [esp + 0x10c], xmm0
movsd qword [esp + 0x104], xmm0
movsd qword [esp + 0xec], xmm0
mov dword [esp + 0x20], eax
jle 0x4d6e2c
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [edi + 0x144]
lea edx, [esp + 0x9c]
push edx
call fcn.00532a70
cmp byte [edi + 0x14d], 0
jne 0x4d6d17
movsd xmm0, qword [esp + 0x94]
movsd xmm1, qword [esp + 0x4c]
jmp 0x4d6d7f
cmp byte [edi + 0x14c], 0
je 0x4d6d31
movsd xmm1, qword [esp + 0x94]
movsd xmm0, qword [esp + 0x4c]
jmp 0x4d6d40
movsd xmm0, qword [esp + 0x94]
movsd xmm1, qword [esp + 0x4c]
subsd xmm0, qword [edi + 0x160]
subsd xmm1, qword [edi + 0x168]
movapd xmm2, xmm0
movsd xmm0, qword [edi + 0x170]
movapd xmm3, xmm1
movsd xmm1, qword [edi + 0x178]
movsd qword [esp + 0x94], xmm2
movsd qword [esp + 0x4c], xmm3
mulsd xmm0, xmm2
mulsd xmm1, xmm3
cmp dword [esp + 0x20], 0
movsd qword [esp + 0x8c], xmm1
movsd qword [esp + 0x84], xmm0
je 0x4d6de8
subsd xmm0, qword [esp + 0x104]
subsd xmm1, qword [esp + 0x10c]
lea ecx, [esp + 0x28c]
movsd qword [esp + 0x28c], xmm0
movsd qword [esp + 0x294], xmm1
call fcn.004a7500
fadd qword [esp + 0xec]
movsd xmm1, qword [esp + 0x8c]
movsd xmm0, qword [esp + 0x84]
fstp qword [esp + 0xec]
mov eax, dword [esi + 0x54]
mov ecx, dword [esp + 0x1c]
add eax, ecx
movq qword [eax], xmm0
movq qword [eax + 8], xmm1
mov eax, dword [esp + 0x20]
movdqa xmm2, xmm0
inc eax
add ecx, 0x10
cmp eax, dword [ebx]
movsd qword [esp + 0x104], xmm2
movdqa xmm2, xmm1
movsd qword [esp + 0x10c], xmm2
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jl 0x4d6ce0
lea eax, [esp + 0xf4]
push eax
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [edi + 0x144]
call fcn.00532a40
movsd xmm0, qword [esp + 0x34]
movsd xmm2, qword [esp + 0x54]
movsd xmm1, qword [esp + 0xd4]
movsd xmm3, qword [esp + 0xf4]
movsd xmm4, qword [0x5fa920]
subsd xmm2, xmm0
subsd xmm3, xmm0
mulsd xmm2, xmm1
mulsd xmm3, xmm1
movsd xmm1, qword [esp + 0x64]
movapd xmm0, xmm1
addsd xmm0, xmm4
comisd xmm0, xmm2
movsd qword [esp + 0x54], xmm2
movsd qword [esp + 0xf4], xmm3
jbe 0x4d6ea3
movsd qword [esp + 0x54], xmm1
movsd xmm0, qword [esp + 0x24]
movapd xmm2, xmm0
subsd xmm2, xmm4
comisd xmm3, xmm2
jbe 0x4d6ec0
movsd qword [esp + 0xf4], xmm0
movsd xmm2, qword [0x5ff758]
comisd xmm2, xmmword [esp + 0xec]
ja 0x4d7894
cmp dword [esp + 0x3c], 0
je 0x4d6f72
mov ecx, esi
call fcn.004d3730
fld qword [esp + 0xf4]
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
sub esp, 0x10
fstp qword [esp + 8]
mov ecx, esi
fld qword [esp + 0x64]
fstp qword [esp]
call eax
mov ecx, dword [esi + 0x74]
mov eax, dword [esi + 0x4c]
cmp ecx, eax
jl 0x4d6f1c
mov edx, dword [esi + 0x6c]
movsd xmm1, qword [edx + eax*8 - 8]
jmp 0x4d6f1f
xorps xmm1, xmm1
mov edx, dword [ebx]
add eax, edx
cmp ecx, eax
movsd qword [esp + 0x64], xmm1
jl 0x4d6f4d
mov ecx, dword [esi + 0x50]
shr ecx, 2
test cl, 1
je 0x4d6f43
mov edx, dword [esi + 0x6c]
movsd xmm0, qword [edx + eax*8 - 8]
jmp 0x4d6f55
mov eax, dword [esi + 0x6c]
movsd xmm0, qword [eax + edx*8]
jmp 0x4d6f55
movsd xmm0, qword [0x5fb270]
movsd xmm4, qword [0x5fa920]
movsd qword [esp + 0x24], xmm0
movsd qword [esp + 0x54], xmm1
movsd qword [esp + 0xf4], xmm0
mov eax, dword [ebx]
mov ecx, dword [esi + 0x4c]
cmp eax, ecx
jle 0x4d7195
dec eax
cmp eax, 1
mov dword [ebx], 1
mov dword [esp + 0x20], 1
mov dword [esp + 0x34], eax
jl 0x4d70cc
add ecx, ecx
add ecx, ecx
add ecx, ecx
mov dword [esp + 0x2c], 0x10
mov dword [esp + 0x1c], ecx
lea ecx, [ecx]
mov ecx, dword [esp + 0x20]
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x6c]
movsd xmm3, qword [0x5fc860]
add edx, ecx
movsd xmm2, qword [eax + edx*8 - 8]
subsd xmm2, qword [eax + ecx*8]
andpd xmm2, xmm3
comisd xmm2, xmmword [0x5fa918]
ja 0x4d7058
mov eax, dword [esi + 0x54]
mov ecx, dword [ebx]
xorps xmm0, xmm0
mov edx, dword [esp + 0x2c]
movsd qword [esp + 0x1f4], xmm0
movsd qword [esp + 0x1ec], xmm0
movsd xmm0, qword [edx + eax]
shl ecx, 4
subsd xmm0, qword [ecx + eax - 0x10]
lea ecx, [ecx + eax - 0x10]
movsd qword [esp + 0x1ec], xmm0
movsd xmm0, qword [edx + eax + 8]
subsd xmm0, qword [ecx + 8]
lea ecx, [esp + 0x1ec]
movsd qword [esp + 0x1f4], xmm0
call fcn.004a7500
fld qword [0x5fb9d0]
movsd xmm4, qword [0x5fa920]
fxch st(1)
movsd xmm0, qword [esp + 0x24]
movsd xmm1, qword [esp + 0x64]
fcompi st(1)
fstp st(0)
jbe 0x4d70b4
mov edx, dword [esi + 0x4c]
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 0x6c]
add edx, ecx
fld qword [eax + edx*8 - 8]
mov edx, dword [esp + 0x1c]
fstp qword [edx + eax]
mov eax, dword [ebx]
add edx, 8
cmp ecx, eax
mov dword [esp + 0x1c], edx
jle 0x4d70b2
mov ecx, dword [esi + 0x54]
mov edx, dword [esp + 0x2c]
movq xmm2, qword [edx + ecx]
add edx, ecx
shl eax, 4
add eax, ecx
movq qword [eax], xmm2
movq xmm2, qword [edx + 8]
movq qword [eax + 8], xmm2
test byte [esi + 0x50], 1
je 0x4d70b2
mov eax, dword [esi + 0x60]
mov edx, dword [esp + 0x20]
mov ecx, dword [ebx]
fld qword [eax + edx*8]
fstp qword [eax + ecx*8]
inc dword [ebx]
mov eax, dword [esp + 0x20]
add dword [esp + 0x2c], 0x10
inc eax
cmp eax, dword [esp + 0x34]
mov dword [esp + 0x20], eax
jle 0x4d6fb0
mov ecx, dword [ebx]
mov eax, dword [esi + 0x4c]
cmp ecx, eax
jge 0x4d712b
mov dword [esi + 0x4c], ecx
push 0
mov ecx, esi
call fcn.004cc430
mov ecx, dword [esi + 0x74]
mov eax, dword [esi + 0x4c]
cmp ecx, eax
jl 0x4d70f6
mov edx, dword [esi + 0x6c]
movsd xmm1, qword [edx + eax*8 - 8]
jmp 0x4d70f9
xorps xmm1, xmm1
mov edx, dword [ebx]
add edx, eax
cmp ecx, edx
jl 0x4d7123
mov ecx, dword [esi + 0x50]
shr ecx, 2
test cl, 1
je 0x4d7117
mov ecx, dword [esi + 0x6c]
movsd xmm0, qword [ecx + edx*8 - 8]
jmp 0x4d712b
mov edx, dword [esi + 0x6c]
mov ecx, dword [ebx]
movsd xmm0, qword [edx + ecx*8]
jmp 0x4d712b
movsd xmm0, qword [0x5fb270]
movsd xmm2, qword [0x5fc860]
xor ecx, ecx
test eax, eax
jle 0x4d7163
lea esp, [esp]
mov eax, dword [esi + 0x6c]
movsd xmm3, qword [eax + ecx*8]
lea eax, [eax + ecx*8]
subsd xmm3, xmm1
andpd xmm3, xmm2
comisd xmm4, xmm3
jbe 0x4d715d
movsd qword [eax], xmm1
inc ecx
cmp ecx, dword [esi + 0x4c]
jl 0x4d7140
mov eax, dword [ebx]
mov ecx, dword [esi + 0x4c]
add ecx, eax
cmp eax, ecx
jge 0x4d7195
mov edx, dword [esi + 0x6c]
movsd xmm3, qword [edx + eax*8]
lea ecx, [edx + eax*8]
subsd xmm3, xmm0
andpd xmm3, xmm2
comisd xmm4, xmm3
jbe 0x4d718b
movsd qword [ecx], xmm0
mov ecx, dword [ebx]
add ecx, dword [esi + 0x4c]
inc eax
cmp eax, ecx
jl 0x4d716e
cmp dword [esi + 0x4c], 2
jne 0x4d71b5
mov eax, dword [esi + 0x6c]
fld qword [eax + 8]
fstp qword [eax]
mov edx, dword [ebx]
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x6c]
add eax, edx
fld qword [ecx + eax*8 - 0x10]
fstp qword [ecx + eax*8 - 8]
movsd xmm2, qword [esp + 0xf4]
comisd xmm2, xmmword [esp + 0x54]
jbe 0x4d7223
mov edx, dword [esi + 0x4c]
xor eax, eax
test edx, edx
jle 0x4d71e9
mov ecx, dword [esi + 0x6c]
subsd xmm1, xmm4
comisd xmm1, xmmword [ecx]
ja 0x4d73ff
inc eax
add ecx, 8
cmp eax, dword [esi + 0x4c]
jl 0x4d71d6
mov eax, dword [ebx]
lea ecx, [eax + edx]
cmp eax, ecx
jge 0x4d7223
mov edx, dword [esi + 0x6c]
addsd xmm0, xmm4
lea ecx, [edx + eax*8]
jmp 0x4d7204
mov ecx, dword [esp + 0x1c]
movsd xmm1, qword [ecx]
comisd xmm1, xmm0
ja 0x4d73ff
add ecx, 8
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebx]
add ecx, dword [esi + 0x4c]
inc eax
cmp eax, ecx
jl 0x4d7200
fld qword [esp + 0xf4]
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
sub esp, 0x10
fstp qword [esp + 8]
mov ecx, esi
fld qword [esp + 0x64]
fstp qword [esp]
call eax
cmp dword [esi + 0x4c], 2
jne 0x4d735b
mov eax, dword [ebx]
cmp eax, 2
jle 0x4d735b
mov ecx, 1
cmp eax, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], ecx
jle 0x4d7346
mov eax, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
jmp 0x4d7280
mov eax, dword [esi + 0x54]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
movsd qword [esp + 0x1e4], xmm0
movsd qword [esp + 0x1dc], xmm0
movsd xmm0, qword [ecx + eax]
subsd xmm0, qword [edx + eax - 0x10]
movsd qword [esp + 0x1dc], xmm0
movsd xmm0, qword [ecx + eax + 8]
subsd xmm0, qword [edx + eax - 8]
lea ecx, [esp + 0x1dc]
movsd qword [esp + 0x1e4], xmm0
call fcn.004a7500
fld qword [0x5ff758]
fxch st(1)
fcompi st(1)
fstp st(0)
jbe 0x4d7330
mov ecx, dword [esp + 0x34]
cmp ecx, dword [esp + 0x2c]
jle 0x4d7327
mov eax, dword [esi + 0x54]
mov edx, dword [esp + 0x1c]
movq xmm0, qword [edx + eax]
lea ecx, [edx + eax]
mov edx, dword [esp + 0x20]
add eax, edx
movq qword [eax], xmm0
movq xmm0, qword [ecx + 8]
movq qword [eax + 8], xmm0
test byte [esi + 0x50], 1
je 0x4d7327
mov eax, dword [esi + 0x60]
mov ecx, dword [esp + 0x34]
fld qword [eax + ecx*8]
mov edx, dword [esp + 0x2c]
fstp qword [eax + edx*8]
inc dword [esp + 0x2c]
add dword [esp + 0x20], 0x10
mov eax, dword [esp + 0x34]
add dword [esp + 0x1c], 0x10
inc eax
cmp eax, dword [ebx]
mov dword [esp + 0x34], eax
jl 0x4d7280
mov eax, dword [esp + 0x2c]
cmp eax, dword [ebx]
jge 0x4d735b
mov ecx, eax
mov dword [ebx], ecx
push 0
mov ecx, esi
call fcn.004cc430
cmp byte [esi + 0x40], 0
jne case.0x4d67ff.105
mov ecx, dword [ebx]
cmp ecx, 3
jle case.0x4d67ff.105
mov eax, dword [esi + 0x54]
xorps xmm0, xmm0
shl ecx, 4
movsd qword [esp + 0x1d4], xmm0
movsd qword [esp + 0x1cc], xmm0
movsd xmm0, qword [ecx + eax - 0x10]
subsd xmm0, qword [eax]
lea ecx, [ecx + eax - 0x10]
movsd qword [esp + 0x1cc], xmm0
movsd xmm0, qword [ecx + 8]
subsd xmm0, qword [eax + 8]
lea ecx, [esp + 0x1cc]
movsd qword [esp + 0x1d4], xmm0
call fcn.004a7500
fld qword [esp + 0xec]
fmul qword [0x5fa920]
fcompi st(1)
fstp st(0)
jbe case.0x4d67ff.105
mov eax, dword [esi + 0x54]
mov edx, dword [ebx]
movq xmm0, qword [eax]
shl edx, 4
lea ecx, [edx + eax - 0x10]
movq qword [ecx], xmm0
movq xmm0, qword [eax + 8]
movq qword [ecx + 8], xmm0
mov byte [esi + 0x40], 1
jmp case.0x4d67ff.105
cmp dword [ebx], 2
je 0x4d7223
fld qword [esp + 0xf4]
sub esp, 0x10
fstp qword [esp + 8]
mov ecx, esi
fld qword [esp + 0x64]
fstp qword [esp]
call fcn.004d0f10
jmp 0x4d7241
mov ecx, dword [edi + 0x144]
push 6
lea eax, [esp + 0x170]
push eax
call fcn.00532ab0
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [edi + 0x144]
call fcn.005329a0
xorps xmm0, xmm0
mov ecx, dword [edi + 0x144]
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x60]
push eax
movsd qword [esp + 0x3c], xmm0
call fcn.00532a40
lea ecx, [esp + 0x104]
push ecx
mov ecx, dword [edi + 0x144]
lea edx, [esp + 0x148]
push edx
call fcn.00532a40
movsd xmm0, qword [0x5fb9c8]
movsd xmm2, qword [esp + 0x174]
movsd xmm1, qword [esp + 0x184]
movsd xmm4, qword [esp + 0x18c]
movsd xmm6, qword [esp + 0x17c]
mulsd xmm4, xmm0
mulsd xmm2, xmm0
mulsd xmm1, xmm0
movapd xmm0, xmm4
mulsd xmm0, xmm2
movsd qword [esp + 0x74], xmm0
movapd xmm3, xmm6
mulsd xmm3, xmm1
subsd xmm0, xmm3
movsd qword [esp + 0xd4], xmm0
movsd xmm0, qword [esp + 0x194]
movsd qword [esp + 0x84], xmm3
movapd xmm3, xmm0
mulsd xmm0, xmm2
mulsd xmm3, xmm6
movapd xmm5, xmm4
mulsd xmm5, xmm4
subsd xmm3, xmm5
movsd xmm5, qword [esp + 0x16c]
movapd xmm7, xmm4
mulsd xmm7, xmm1
subsd xmm0, xmm7
mulsd xmm0, xmm2
mulsd xmm3, xmm5
subsd xmm3, xmm0
movsd xmm0, qword [esp + 0xd4]
mulsd xmm0, xmm1
addsd xmm3, xmm0
movapd xmm0, xmm6
mulsd xmm0, xmm5
movapd xmm7, xmm2
mulsd xmm7, xmm2
subsd xmm0, xmm7
movsd xmm7, qword [esp + 0x144]
movsd qword [esp + 0x94], xmm0
movapd xmm0, xmm6
addsd xmm0, xmm5
movsd qword [esp + 0x2c], xmm0
movsd qword [esp + 0x6c], xmm0
movsd xmm0, qword [esp + 0x5c]
movsd qword [esp + 0xa4], xmm0
movsd xmm0, qword [esp + 0x3c]
movsd qword [esp + 0xac], xmm0
movsd xmm0, qword [esp + 0x34]
movsd qword [esp + 0xbc], xmm7
movsd xmm7, qword [esp + 0x104]
movsd qword [esp + 0x174], xmm2
movsd qword [esp + 0x184], xmm1
movsd qword [esp + 0x18c], xmm4
movsd qword [esp + 0x64], xmm3
movsd qword [esp + 0xb4], xmm0
movsd qword [esp + 0xc4], xmm7
movsd qword [esp + 0xcc], xmm0
movsd xmm7, qword [0x5fb270]
xorps xmm0, xmm0
movsd qword [esp + 0x4c], xmm6
movapd xmm6, xmm1
mulsd xmm6, qword [0x5fcc60]
movsd qword [esp + 0xf4], xmm6
movsd xmm6, qword [esp + 0x194]
movsd qword [esp + 0x54], xmm6
movsd xmm6, qword [esp + 0x94]
movsd qword [esp + 0x29c], xmm7
movsd qword [esp + 0x22c], xmm7
movsd xmm7, qword [0x5fc860]
andpd xmm6, xmm7
comisd xmm6, xmmword [0x5ff788]
movsd qword [esp + 0x2a4], xmm0
movsd qword [esp + 0x2ac], xmm0
movsd qword [esp + 0x21c], xmm0
movsd qword [esp + 0x224], xmm0
movsd qword [esp + 0x114], xmm0
movsd qword [esp + 0x11c], xmm0
movsd qword [esp + 0x24], xmm0
movsd qword [esp + 0xec], xmm5
jbe 0x4d789d
movsd xmm7, qword [esp + 0x94]
movsd xmm6, qword [esp + 0xd4]
divsd xmm6, xmm7
movsd qword [esp + 0x114], xmm6
mulsd xmm1, xmm2
movapd xmm6, xmm5
mulsd xmm6, xmm4
subsd xmm1, xmm6
divsd xmm1, xmm7
movapd xmm4, xmm2
movsd xmm2, qword [0x5fc860]
movsd qword [esp + 0x11c], xmm1
movsd xmm1, qword [0x5ff788]
andpd xmm4, xmm2
comisd xmm4, xmm1
jbe 0x4d77f0
subsd xmm5, qword [esp + 0x17c]
fld qword [esp + 0x174]
movsd qword [esp + 0xd4], xmm5
andpd xmm5, xmm2
comisd xmm1, xmm5
jbe 0x4d7746
sub esp, 0x10
fstp qword [esp + 8]
fld qword [0x616650]
fstp qword [esp]
call fcn.0045a150
fmul qword [0x5fb9c8]
movsd xmm2, qword [0x5fb9c8]
add esp, 0x10
fstp qword [esp + 0x24]
jmp 0x4d778c
fadd st(0), st(0)
fdiv qword [esp + 0xd4]
call sub.MSVCR90.dll__CIatan
fst qword [esp + 0x24]
call sub.MSVCR90.dll__CIsin
fmul qword [esp + 0x174]
fldz
movsd xmm0, qword [esp + 0x24]
fcompi st(1)
fstp st(0)
jbe 0x4d777a
xorpd xmm0, xmmword [0x5fc740]
movsd xmm2, qword [0x5fb9c8]
mulsd xmm0, xmm2
movsd qword [esp + 0x24], xmm0
movsd xmm0, qword [esp + 0x174]
movsd xmm1, qword [esp + 0xd4]
movapd xmm3, xmm0
mulsd xmm3, qword [0x5fd500]
mulsd xmm3, xmm0
movapd xmm0, xmm1
mulsd xmm0, xmm1
addsd xmm3, xmm0
movsd xmm0, qword [esp + 0x2c]
sqrtsd xmm3, xmm3
movapd xmm1, xmm3
addsd xmm1, xmm0
subsd xmm0, xmm3
movsd xmm3, qword [esp + 0x64]
mulsd xmm0, xmm2
mulsd xmm1, xmm2
movsd qword [esp + 0x4c], xmm0
xorps xmm0, xmm0
movsd qword [esp + 0xec], xmm1
movapd xmm1, xmm3
divsd xmm1, qword [esp + 0x94]
movsd qword [esp + 0x54], xmm1
movsd xmm6, qword [esp + 0xcc]
movsd xmm4, qword [esp + 0xac]
movsd xmm5, qword [esp + 0xa4]
movsd xmm7, qword [esp + 0x94]
movsd xmm1, qword [0x5ff788]
comisd xmm7, xmm1
movsd xmm2, qword [esp + 0xb4]
jbe 0x4d7e64
movsd xmm1, qword [esp + 0x6c]
mulsd xmm1, xmm3
comisd xmm1, xmm0
jbe 0x4d7ae5
cmp byte [edi + 0x383], 0
jne 0x4d7894
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov ecx, dword [esp + 0x20]
push eax
push 0x5fcfd8
push ecx
push str.Ellipse_2D_invalid__
lea ecx, [edi + 0x2e8]
call fcn.0042f6f0
mov ecx, eax
call fcn.00432040
mov ecx, eax
call fcn.0042f6f0
mov ecx, eax
call fcn.0042e970
mov byte [esi + 4], 0
jmp case.0x4d67ff.105
movsd xmm6, qword [esp + 0x6c]
movsd xmm7, qword [0x5fc860]
andpd xmm6, xmm7
comisd xmm6, xmmword [0x5ff788]
jbe 0x4d7803
movapd xmm6, xmm3
andpd xmm6, xmm7
comisd xmm6, xmmword [0x5ff788]
jbe 0x4d7803
movsd xmm6, qword [esp + 0x74]
movsd qword [esp + 0xdc], xmm0
movsd qword [esp + 0xd4], xmm0
movsd xmm0, qword [esp + 0x84]
subsd xmm0, xmm6
divsd xmm0, xmm3
addsd xmm0, xmm1
movsd qword [esp + 0x13c], xmm0
movapd xmm0, xmm5
mulsd xmm0, xmm4
movapd xmm7, xmm1
lea eax, [esp + 0x74]
movsd qword [esp + 0x134], xmm5
mulsd xmm7, xmm2
subsd xmm0, xmm7
push eax
divsd xmm0, xmm3
lea ecx, [esp + 0x88]
addsd xmm0, xmm4
mulsd xmm5, xmm1
push ecx
lea edx, [esp + 0x13c]
movsd qword [esp + 0x94], xmm0
movsd xmm0, qword [esp + 0x19c]
addsd xmm5, xmm6
divsd xmm5, xmm3
push edx
lea ecx, [esp + 0xe0]
movsd qword [esp + 0x90], xmm2
movsd qword [esp + 0x80], xmm5
movsd qword [esp + 0x88], xmm0
call fcn.004a83b0
fabs
fld qword [0x5ff778]
fxch st(1)
fcompi st(1)
fstp st(0)
jbe 0x4d7a42
movsd xmm0, qword [esp + 0xd4]
fld qword [esp + 0x16c]
movsd xmm1, qword [0x5fc860]
movsd qword [esp + 0x114], xmm0
movsd xmm0, qword [esp + 0xdc]
movsd qword [esp + 0x11c], xmm0
movsd xmm0, qword [esp + 0x174]
andpd xmm0, xmm1
movsd xmm1, qword [0x5ff788]
comisd xmm1, xmm0
jbe 0x4d7a08
sub esp, 0x10
fstp qword [esp + 8]
fld qword [0x616650]
fstp qword [esp]
call fcn.0045a150
fstp qword [esp + 0x34]
add esp, 0x10
jmp 0x4d7a42
fdiv qword [esp + 0x174]
fchs
call sub.MSVCR90.dll__CIatan
fst qword [esp + 0x24]
call sub.MSVCR90.dll__CIsin
fmul qword [esp + 0x16c]
fldz
fcompi st(1)
fstp st(0)
jbe 0x4d7a42
movsd xmm0, qword [esp + 0x24]
xorpd xmm0, xmmword [0x5fc740]
movsd qword [esp + 0x24], xmm0
movsd xmm0, qword [esp + 0x16c]
movsd xmm2, qword [esp + 0x174]
movsd xmm4, qword [esp + 0xac]
movsd xmm5, qword [esp + 0xa4]
movsd xmm6, qword [esp + 0xcc]
movapd xmm1, xmm0
movapd xmm3, xmm2
mulsd xmm1, xmm0
mulsd xmm3, xmm2
addsd xmm1, xmm3
comisd xmm1, xmmword [0x5ff788]
jbe 0x4d7ad4
mulsd xmm0, qword [esp + 0x18c]
movsd xmm3, qword [esp + 0x184]
mulsd xmm3, xmm2
subsd xmm0, xmm3
mulsd xmm0, qword [0x5fd2a8]
sqrtsd xmm1, xmm1
mulsd xmm1, qword [esp + 0x6c]
divsd xmm0, xmm1
movsd xmm3, qword [esp + 0x64]
movsd qword [esp + 0xf4], xmm0
xorps xmm0, xmm0
jmp 0x4d781e
movsd xmm0, qword [esp + 0xf4]
divsd xmm0, qword [esp + 0x4c]
jmp 0x4d7abd
movsd xmm3, qword [esp + 0x114]
movsd xmm1, qword [esp + 0xbc]
movsd xmm7, qword [esp + 0x34]
subsd xmm4, qword [esp + 0x11c]
subsd xmm1, xmm3
subsd xmm5, xmm3
movsd xmm3, qword [esp + 0xc4]
subsd xmm3, qword [esp + 0x11c]
movsd qword [esp + 0xbc], xmm1
movsd xmm1, qword [esp + 0x24]
movsd qword [esp + 0xa4], xmm5
movsd xmm5, qword [0x5fc860]
andpd xmm1, xmm5
comisd xmm1, xmmword [0x5ff760]
subsd xmm2, xmm0
subsd xmm6, xmm0
movsd qword [esp + 0xd4], xmm0
movsd qword [esp + 0xdc], xmm0
movsd qword [esp + 0xe4], xmm7
movsd qword [esp + 0xac], xmm4
movsd qword [esp + 0xb4], xmm2
movsd qword [esp + 0xc4], xmm3
movsd qword [esp + 0xcc], xmm6
movsd qword [esp + 0x94], xmm1
jbe 0x4d7c36
lea ecx, [esp + 0x2b4]
call fcn.004e3630
movsd xmm0, qword [esp + 0x24]
xorpd xmm0, xmmword [0x5fc740]
sub esp, 8
lea edx, [esp + 0x224]
movsd qword [esp], xmm0
push edx
lea ecx, [esp + 0x2c0]
call fcn.004e3970
lea eax, [esp + 0x2b4]
push eax
lea ecx, [esp + 0xa8]
call fcn.004a95b0
lea ecx, [esp + 0x2b4]
push ecx
lea ecx, [esp + 0xc0]
call fcn.004a95b0
movsd xmm2, qword [esp + 0xb4]
movsd xmm4, qword [esp + 0xac]
movsd xmm6, qword [esp + 0xcc]
movsd xmm3, qword [esp + 0xc4]
movsd xmm7, qword [esp + 0xe4]
movsd xmm0, qword [esp + 0xd4]
movsd xmm5, qword [edi + 0x210]
movsd xmm1, qword [esp + 0x54]
mulsd xmm0, xmm5
movsd qword [esp + 0xd4], xmm0
movsd xmm0, qword [esp + 0xdc]
mulsd xmm0, xmm5
movsd qword [esp + 0xdc], xmm0
movapd xmm0, xmm5
mulsd xmm2, xmm0
mulsd xmm3, xmm0
movsd qword [esp + 0xb4], xmm2
movsd qword [esp + 0xc4], xmm3
movapd xmm3, xmm1
divsd xmm3, qword [esp + 0xec]
divsd xmm1, qword [esp + 0x4c]
movapd xmm2, xmm0
mulsd xmm2, qword [esp + 0xbc]
movsd qword [esp + 0xbc], xmm2
movsd xmm2, qword [0x5fc740]
xorpd xmm3, xmm2
xorpd xmm1, xmm2
mulsd xmm7, xmm5
mulsd xmm5, qword [esp + 0xa4]
sqrtsd xmm3, xmm3
sqrtsd xmm1, xmm1
mulsd xmm4, xmm0
mulsd xmm6, xmm0
mulsd xmm3, xmm0
mulsd xmm1, xmm0
push 0xe0
movsd qword [esp + 0xe8], xmm7
movsd qword [esp + 0xa8], xmm5
movsd qword [esp + 0xb0], xmm4
movsd qword [esp + 0xd0], xmm6
movsd qword [esp + 0x88], xmm3
movsd qword [esp + 0x78], xmm1
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x6c], eax
mov dword [esp + 0x440], 3
test eax, eax
je 0x4d7d7e
fld qword [esp + 0x74]
sub esp, 0x10
fstp qword [esp + 8]
lea edx, [esp + 0x2ac]
fld qword [esp + 0x94]
lea ecx, [esp + 0x22c]
fstp qword [esp]
push edx
push ecx
lea edx, [esp + 0xd4]
push edx
lea ecx, [esp + 0xc0]
push ecx
lea edx, [esp + 0xf4]
push edx
mov ecx, eax
call fcn.005093c0
mov ebx, eax
jmp 0x4d7d80
xor ebx, ebx
mov eax, dword [ebx]
mov edx, dword [eax + 0x90]
mov ecx, ebx
mov dword [esp + 0x440], 0xffffffff
call edx
mov dword [esp + 0x1c], eax
mov eax, dword [ebx]
mov edx, dword [eax]
push 1
mov ecx, ebx
call edx
mov ebx, dword [esp + 0x1c]
push ebx
mov ecx, esi
call fcn.004d1800
mov byte [esi + 4], al
test ebx, ebx
je 0x4d7dc2
mov ecx, ebx
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
cmp byte [esi + 4], 0
je case.0x4d67ff.105
movsd xmm0, qword [esp + 0x94]
comisd xmm0, xmmword [0x5ff760]
jbe 0x4d7e3d
xorps xmm0, xmm0
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0x388]
movsd qword [esp + 0x138], xmm0
movsd qword [esp + 0x140], xmm0
call fcn.004ae170
fld qword [esp + 0x24]
mov edx, dword [esi]
sub esp, 8
fstp qword [esp]
push eax
mov eax, dword [edx + 0x10]
mov ecx, esi
mov dword [esp + 0x44c], 4
call eax
mov dword [esp + 0x440], 0xffffffff
mov dword [esp + method.CGeom2d_Abs.virtual_0], vtable.CGeom2d_Abs.0
movsd xmm0, qword [esp + 0x114]
movsd qword [esp + 0x74], xmm0
movsd xmm0, qword [esp + 0x11c]
movsd qword [esp + 0x7c], xmm0
lea eax, [esp + 0x74]
jmp 0x4d8444
xorpd xmm1, xmmword [0x5fc740]
movsd xmm7, qword [0x5fc860]
comisd xmm1, xmmword [esp + 0x94]
movsd xmm1, qword [0x5ff788]
andpd xmm3, xmm7
jbe 0x4d8189
comisd xmm1, xmm3
jbe 0x4d7ee0
cmp byte [edi + 0x383], 0
jne 0x4d7894
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov ecx, dword [esp + 0x20]
push eax
push 0x5fcfd8
push ecx
push str.Hyperbola_2D_invalid__
lea ecx, [edi + 0x2e8]
call fcn.0042f6f0
mov ecx, eax
call fcn.00432040
mov ecx, eax
call fcn.0042f6f0
mov ecx, eax
call fcn.0042e970
mov byte [esi + 4], 0
jmp case.0x4d67ff.105
movsd xmm3, qword [esp + 0x114]
movsd xmm1, qword [esp + 0xbc]
subsd xmm1, xmm3
movsd qword [esp + 0xbc], xmm1
movsd xmm1, qword [esp + 0xc4]
subsd xmm5, xmm3
movsd qword [esp + 0xa4], xmm5
movsd xmm5, qword [esp + 0x11c]
subsd xmm1, xmm5
movsd qword [esp + 0xc4], xmm1
movsd xmm1, qword [esp + 0x24]
andpd xmm1, xmm7
comisd xmm1, xmmword [0x5ff760]
subsd xmm4, xmm5
subsd xmm2, xmm0
subsd xmm6, xmm0
movsd qword [esp + 0xac], xmm4
movsd qword [esp + 0xb4], xmm2
movsd qword [esp + 0xcc], xmm6
movsd qword [esp + 0x94], xmm1
jbe 0x4d7fd0
lea ecx, [esp + 0x2b4]
call fcn.004e3630
movsd xmm0, qword [esp + 0x24]
xorpd xmm0, xmmword [0x5fc740]
sub esp, 8
lea edx, [esp + 0x224]
movsd qword [esp], xmm0
push edx
lea ecx, [esp + 0x2c0]
call fcn.004e3970
lea eax, [esp + 0x2b4]
push eax
lea ecx, [esp + 0xa8]
call fcn.004a95b0
lea ecx, [esp + 0x2b4]
push ecx
lea ecx, [esp + 0xc0]
call fcn.004a95b0
xorps xmm0, xmm0
movsd xmm1, qword [esp + 0x54]
movapd xmm2, xmm1
divsd xmm2, qword [esp + 0xec]
xorpd xmm2, xmmword [0x5fc740]
divsd xmm1, qword [esp + 0x4c]
sqrtsd xmm2, xmm2
sqrtsd xmm1, xmm1
push 0xa8
movsd qword [esp + 0x78], xmm2
movsd qword [esp + 0x88], xmm1
movsd qword [esp + 0x138], xmm0
movsd qword [esp + 0x140], xmm0
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x440], 5
test ebx, ebx
je 0x4d8081
lea edx, [esp + 0x134]
push edx
lea ecx, [esp + 0x348]
call fcn.004ae170
fld qword [esp + 0x74]
push eax
sub esp, 0x10
fstp qword [esp + 8]
mov ecx, ebx
fld qword [esp + 0x98]
mov byte [esp + 0x454], 6
fstp qword [esp]
mov dword [esp + 0x30], 1
call fcn.00590060
mov ebx, eax
jmp 0x4d8083
xor ebx, ebx
test byte [esp + 0x1c], 1
mov dword [esp + 0x440], 0xffffffff
je 0x4d80a0
mov dword [esp + method.CGeom2d_Abs.virtual_0], vtable.CGeom2d_Abs.0
movsd xmm0, qword [esp + 0xa4]
movsd qword [esp + 0xf4], xmm0
movsd xmm0, qword [esp + 0xac]
movsd qword [esp + 0xfc], xmm0
movsd xmm0, qword [esp + 0xbc]
movsd qword [esp + 0xd4], xmm0
movsd xmm0, qword [esp + 0xc4]
lea ecx, [esp + 0xd4]
movsd qword [esp + 0xdc], xmm0
mov eax, dword [ebx]
mov eax, dword [eax + 0x2c]
push ecx
lea edx, [esp + 0xf8]
push edx
mov ecx, ebx
call eax
push ebx
mov ecx, esi
call fcn.004d1bd0
mov byte [esi + 4], al
mov edx, dword [ebx]
mov eax, dword [edx]
push 1
mov ecx, ebx
call eax
cmp byte [esi + 4], 0
je case.0x4d67ff.105
movsd xmm0, qword [esp + 0x94]
comisd xmm0, xmmword [0x5ff760]
jbe 0x4d8419
xorps xmm0, xmm0
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x368]
movsd qword [esp + 0x78], xmm0
movsd qword [esp + 0x80], xmm0
call fcn.004ae170
fld qword [esp + 0x24]
mov edx, dword [esi]
sub esp, 8
fstp qword [esp]
push eax
mov eax, dword [edx + 0x10]
mov ecx, esi
mov dword [esp + 0x44c], 8
call eax
mov dword [esp + method.CGeom2d_Abs.virtual_0], vtable.CGeom2d_Abs.0
jmp 0x4d840e
comisd xmm1, xmm3
jbe 0x4d81da
cmp byte [edi + 0x383], 0
jne 0x4d7894
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov ecx, dword [esp + 0x20]
push eax
push 0x5fcfd8
push ecx
push 0x5fe1c0
lea ecx, [edi + 0x2e8]
call fcn.0042f6f0
mov ecx, eax
call fcn.00432040
mov ecx, eax
call fcn.0042f6f0
mov ecx, eax
call fcn.0042e970
mov byte [esi + 4], 0
jmp case.0x4d67ff.105
movsd xmm3, qword [esp + 0x114]
movsd xmm1, qword [esp + 0xbc]
subsd xmm1, xmm3
movsd qword [esp + 0xbc], xmm1
movsd xmm1, qword [esp + 0xc4]
subsd xmm5, xmm3
movsd qword [esp + 0xa4], xmm5
movsd xmm5, qword [esp + 0x11c]
subsd xmm1, xmm5
movsd qword [esp + 0xc4], xmm1
movsd xmm1, qword [esp + 0x24]
andpd xmm1, xmm7
comisd xmm1, xmmword [0x5ff760]
subsd xmm4, xmm5
subsd xmm2, xmm0
subsd xmm6, xmm0
movsd qword [esp + 0xac], xmm4
movsd qword [esp + 0xb4], xmm2
movsd qword [esp + 0xcc], xmm6
movsd qword [esp + 0x94], xmm1
jbe 0x4d82ca
lea ecx, [esp + 0x2b4]
call fcn.004e3630
movsd xmm0, qword [esp + 0x24]
xorpd xmm0, xmmword [0x5fc740]
sub esp, 8
lea edx, [esp + 0x224]
movsd qword [esp], xmm0
push edx
lea ecx, [esp + 0x2c0]
call fcn.004e3970
lea eax, [esp + 0x2b4]
push eax
lea ecx, [esp + 0xa8]
call fcn.004a95b0
lea ecx, [esp + 0x2b4]
push ecx
lea ecx, [esp + 0xc0]
call fcn.004a95b0
xorps xmm0, xmm0
movsd xmm1, qword [esp + 0xf4]
mulsd xmm1, qword [0x5fe1b8]
push 0xa0
movsd qword [esp + 0x78], xmm1
movsd qword [esp + 0x138], xmm0
movsd qword [esp + 0x140], xmm0
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x440], 9
test ebx, ebx
je 0x4d834f
lea edx, [esp + 0x134]
push edx
lea ecx, [esp + 0x3c8]
call fcn.004ae170
fld qword [esp + 0x74]
push eax
sub esp, 8
mov ecx, ebx
fstp qword [esp]
mov byte [esp + 0x44c], 0xa
mov dword [esp + 0x28], 2
call fcn.00599430
mov ebx, eax
jmp 0x4d8351
xor ebx, ebx
test byte [esp + 0x1c], 2
mov dword [esp + 0x440], 0xffffffff
je 0x4d836e
mov dword [esp + method.CGeom2d_Abs.virtual_0], vtable.CGeom2d_Abs.0
fld qword [esp + 0xc4]
mov eax, dword [ebx]
mov edx, dword [eax + 0x30]
sub esp, 0x10
fstp qword [esp + 8]
mov ecx, ebx
fld qword [esp + 0xbc]
fstp qword [esp]
call edx
push ebx
mov ecx, esi
call fcn.004d1970
mov byte [esi + 4], al
mov eax, dword [ebx]
mov edx, dword [eax]
push 1
mov ecx, ebx
call edx
cmp byte [esi + 4], 0
je case.0x4d67ff.105
movsd xmm0, qword [esp + 0x94]
comisd xmm0, xmmword [0x5ff760]
jbe 0x4d8419
xorps xmm0, xmm0
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x3a8]
movsd qword [esp + 0x78], xmm0
movsd qword [esp + 0x80], xmm0
call fcn.004ae170
fld qword [esp + 0x24]
mov edx, dword [esi]
sub esp, 8
fstp qword [esp]
push eax
mov eax, dword [edx + 0x10]
mov ecx, esi
mov dword [esp + 0x44c], 0xc
call eax
mov dword [esp + method.CGeom2d_Abs.virtual_0], vtable.CGeom2d_Abs.0
mov dword [esp + 0x440], 0xffffffff
movsd xmm0, qword [esp + 0x114]
movsd qword [esp + 0x84], xmm0
movsd xmm0, qword [esp + 0x11c]
lea eax, [esp + 0x84]
movsd qword [esp + 0x8c], xmm0
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
push eax
mov ecx, esi
call edx
cmp byte [esi + 4], 0
je case.0x4d67ff.105
cmp byte [edi + 0x14d], 0
je case.0x4d67ff.105
xor edx, edx
cmp dword [esi + 0x48], edx
jle case.0x4d67ff.105
xor ecx, ecx
mov eax, dword [esi + 0x54]
movsd xmm0, qword [eax + ecx]
movsd xmm1, qword [eax + ecx + 8]
add eax, ecx
cmp byte [edi + 0x14c], 0
je 0x4d8497
movapd xmm2, xmm0
movapd xmm0, xmm1
movapd xmm1, xmm2
subsd xmm1, qword [edi + 0x168]
subsd xmm0, qword [edi + 0x160]
mulsd xmm1, qword [edi + 0x178]
mulsd xmm0, qword [edi + 0x170]
inc edx
movsd qword [eax], xmm0
movsd qword [eax + 8], xmm1
add ecx, 0x10
cmp edx, dword [esi + 0x48]
jl 0x4d8472
jmp case.0x4d67ff.105
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [edi + 0x144]
call fcn.00532920
mov ecx, dword [edi + 0x144]
lea edx, [esp + 0x1c]
push edx
call fcn.00532920
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0xd8]
mov dword [esi + 0x4c], 2
call fcn.00412cb0
cmp dword [esp + 0x5c], 1
xorps xmm0, xmm0
movapd xmm1, xmm0
mov dword [esp + 0x440], 0xd
movsd qword [esp + 0x6c], xmm0
movsd qword [esp + 0x3c], xmm1
movsd qword [esp + 0x94], xmm0
jne 0x4d8553
lea ecx, [esp + 0x94]
push ecx
mov ecx, dword [edi + 0x144]
call fcn.005329a0
movsd xmm0, qword [esp + 0x6c]
movsd xmm1, qword [esp + 0x3c]
xorps xmm2, xmm2
mov ebx, dword [esp + 0xd4]
xor eax, eax
cmp dword [esp + 0x1c], eax
movsd qword [esp + 0x4c], xmm2
mov dword [esi + 0x48], eax
mov dword [esp + 0x34], eax
jle 0x4d877a
jmp 0x4d858c
movsd xmm0, qword [esp + 0x6c]
movsd xmm1, qword [esp + 0x3c]
mov eax, dword [esp + 0x5c]
sub eax, 1
je 0x4d8604
sub eax, 1
je 0x4d85e5
sub eax, 1
jne 0x4d8625
lea edx, [esp + 0x94]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x74]
push ecx
mov ecx, dword [edi + 0x144]
call fcn.00532a70
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x108]
push eax
lea ecx, [esp + 0x14c]
push ecx
mov ecx, dword [edi + 0x144]
call fcn.00532a70
jmp 0x4d8619
lea edx, [esp + 0x94]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x74]
push ecx
mov ecx, dword [edi + 0x144]
call fcn.00532a70
jmp 0x4d8619
mov ecx, dword [edi + 0x144]
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x70]
push eax
call fcn.00532a40
movsd xmm0, qword [esp + 0x6c]
movsd xmm1, qword [esp + 0x3c]
cmp byte [edi + 0x14d], 0
jne 0x4d8641
mov eax, dword [esi + 0x48]
shl eax, 4
add eax, ebx
movsd qword [eax], xmm0
movsd qword [eax + 8], xmm1
jmp 0x4d86a3
cmp byte [edi + 0x14c], 0
je 0x4d8656
movapd xmm2, xmm0
movapd xmm0, xmm1
movapd xmm1, xmm2
movsd xmm2, qword [edi + 0x160]
mov eax, dword [esi + 0x48]
subsd xmm0, xmm2
movsd xmm2, qword [edi + 0x168]
subsd xmm1, xmm2
movsd xmm2, qword [edi + 0x170]
movsd qword [esp + 0x6c], xmm0
mulsd xmm2, xmm0
movsd xmm0, qword [edi + 0x178]
shl eax, 4
add eax, ebx
movsd qword [esp + 0x3c], xmm1
mulsd xmm0, xmm1
movsd qword [eax], xmm2
movsd qword [eax + 8], xmm0
mov eax, dword [esi + 0x48]
test eax, eax
je 0x4d8760
xorps xmm0, xmm0
movsd qword [esp + 0x204], xmm0
movsd qword [esp + 0x1fc], xmm0
shl eax, 4
movsd xmm0, qword [eax + ebx]
subsd xmm0, qword [eax + ebx - 0x10]
add eax, ebx
movsd qword [esp + 0x1fc], xmm0
movsd xmm0, qword [eax + 8]
subsd xmm0, qword [eax - 8]
lea ecx, [esp + 0x1fc]
movsd qword [esp + 0x204], xmm0
call fcn.004a7500
fst qword [esp + 0x74]
fld qword [0x5fb9d0]
fxch st(1)
fcompi st(1)
fstp st(0)
jbe 0x4d8724
movsd xmm0, qword [esp + 0x74]
addsd xmm0, qword [esp + 0x4c]
inc dword [esi + 0x48]
movsd qword [esp + 0x4c], xmm0
jmp 0x4d8767
mov ecx, dword [esp + 0x1c]
dec ecx
cmp dword [esp + 0x34], ecx
jne 0x4d874c
mov edx, dword [esi + 0x48]
shl edx, 4
movq xmm0, qword [edx + ebx]
lea eax, [edx + ebx]
movq qword [eax - 0x10], xmm0
movq xmm0, qword [eax + 8]
movq qword [eax - 8], xmm0
movsd xmm0, qword [esp + 0x74]
addsd xmm0, qword [esp + 0x4c]
movsd qword [esp + 0x4c], xmm0
jmp 0x4d8767
mov dword [esi + 0x48], 1
mov eax, dword [esp + 0x34]
inc eax
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
jl 0x4d8580
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
push 0xa
push eax
push ecx
mov ecx, esi
call fcn.004cbf70
push ebx
mov ecx, esi
call fcn.004cf080
push 0
mov ecx, esi
call fcn.004cc430
mov eax, dword [esi + 0x54]
mov edx, dword [esi + 0x48]
xorps xmm0, xmm0
movsd qword [esp + 0x214], xmm0
movsd qword [esp + 0x20c], xmm0
movsd xmm0, qword [eax]
shl edx, 4
subsd xmm0, qword [edx + eax - 0x10]
lea ecx, [edx + eax - 0x10]
movsd qword [esp + 0x20c], xmm0
movsd xmm0, qword [eax + 8]
subsd xmm0, qword [ecx + 8]
lea ecx, [esp + 0x20c]
movsd qword [esp + 0x214], xmm0
call fcn.004a7500
fld qword [esp + 0x4c]
fmul qword [0x5fa920]
fcompi st(1)
fstp st(0)
jbe 0x4d8807
mov eax, 1
jmp 0x4d8809
xor eax, eax
mov byte [esi + 0x40], al
movsd xmm0, qword [0x5ff758]
comisd xmm0, xmmword [esp + 0x4c]
jbe 0x4d8820
mov byte [esi + 4], 0
mov dword [esp + 0x440], 0xffffffff
test ebx, ebx
je case.0x4d67ff.105
push ebx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
jmp case.0x4d67ff.105
push 0x412760
push 4
push 0x10
lea eax, [esp + 0x258]
push eax
call fcn.00424e90
lea ecx, [esp + 0xec]
push ecx
mov ecx, dword [edi + 0x144]
call fcn.00532920
mov ebx, dword [esp + 0xec]
mov byte [esi + 4], 0
cmp ebx, 4
je case.0x4d67ff.105
cmp ebx, 5
je case.0x4d67ff.105
cmp ebx, 4
jl 0x4d8892
mov ebx, 3
mov ecx, dword [edi + 0x144]
lea edx, [esp + 0x64]
push edx
mov dword [esp + 0x24], ebx
call fcn.00532920
mov ecx, dword [edi + 0x144]
lea eax, [esp + 0x24]
push eax
call fcn.00532920
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [edi + 0x144]
call fcn.00532920
mov eax, dword [esp + 0x2c]
imul eax, ebx
lea ecx, [ebx + 1]
push 0
inc eax
push ecx
mov dword [esi + 0x4c], ecx
push eax
mov ecx, esi
mov dword [esi + 0x48], eax
call fcn.004cbf70
mov eax, dword [esp + 0x2c]
lea edx, [eax + 1]
mov dword [esp + 0x1c], 0
test edx, edx
jle 0x4d8956
mov ebx, 8
lea ebx, [ebx]
mov eax, dword [esi + 0x6c]
mov ecx, dword [edi + 0x144]
add eax, ebx
push eax
call fcn.005329a0
cmp dword [esp + 0x20], 1
jle 0x4d8932
mov edx, dword [esp + 0x20]
lea ecx, [ebx + 8]
dec edx
mov eax, dword [esi + 0x6c]
fld qword [ebx + eax]
add ecx, 8
sub edx, 1
fstp qword [ecx + eax - 8]
jne 0x4d8920
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
add eax, eax
add eax, eax
add eax, eax
add ebx, eax
mov eax, dword [esp + 0x2c]
inc ecx
lea edx, [eax + 1]
cmp ecx, edx
mov dword [esp + 0x1c], ecx
jl 0x4d8900
mov ebx, dword [esp + 0x20]
mov ecx, dword [esi + 0x6c]
inc eax
imul eax, ebx
fld qword [ecx + eax*8]
fstp qword [ecx + eax*8 + 8]
lea eax, [ecx + eax*8]
mov eax, dword [esi + 0x6c]
mov ecx, esi
fld qword [eax + 8]
fstp qword [eax]
call fcn.00472d20
mov ecx, esi
fstp qword [esi + 0x10]
call fcn.00472d50
fstp qword [esi + 0x18]
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x1c], 0
jle 0x4d8d44
mov ecx, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], eax
mov eax, ecx
shl eax, 4
mov dword [esp + 0x6c], eax
lea eax, [ecx*8]
mov dword [esp + 0x5c], eax
jmp 0x4d89c0
mov eax, dword [esi + 0x6c]
mov edx, dword [esp + 0x5c]
movsd xmm0, qword [eax + edx + 8]
mov ecx, dword [esp + 0x34]
subsd xmm0, qword [eax + ecx + 8]
mov ecx, dword [edi + 0x144]
movapd xmm1, xmm0
mulsd xmm1, xmm0
push 4
lea edx, [esp + 0x1b0]
movsd qword [esp + 0x88], xmm1
mulsd xmm1, xmm0
push edx
movsd qword [esp + 0x7c], xmm0
movsd qword [esp + 0x10c], xmm1
call fcn.00532ab0
mov ecx, dword [edi + 0x144]
push 4
lea eax, [esp + 0x118]
push eax
call fcn.00532ab0
push 4
lea ecx, [esp + 0x3e8]
push ecx
mov ecx, dword [edi + 0x144]
call fcn.00532ab0
movsd xmm0, qword [esp + 0x74]
movsd xmm2, qword [esp + 0x1b4]
movsd xmm3, qword [esp + 0x11c]
mov ebx, dword [esp + 0x20]
cmp ebx, 1
movsd xmm1, qword [esp + 0x114]
movsd xmm4, qword [esp + 0x1bc]
movsd xmm5, qword [esp + 0x124]
mulsd xmm2, xmm0
mulsd xmm3, xmm0
movsd xmm0, qword [esp + 0x1ac]
movsd qword [esp + 0x1b4], xmm2
movsd qword [esp + 0x11c], xmm3
movsd qword [esp + 0x24c], xmm0
movsd qword [esp + 0x254], xmm1
jle 0x4d8ace
movsd xmm6, qword [esp + 0x84]
mulsd xmm4, xmm6
mulsd xmm5, xmm6
movsd qword [esp + 0x1bc], xmm4
movsd qword [esp + 0x124], xmm5
mov eax, ebx
sub eax, 1
je 0x4d8c3f
sub eax, 1
je 0x4d8be9
sub eax, 1
jne 0x4d8c59
movsd xmm6, qword [esp + 0x104]
movsd xmm4, qword [esp + 0x12c]
movsd xmm5, qword [esp + 0x1c4]
movsd xmm7, qword [esp + 0x1bc]
mulsd xmm4, xmm6
mulsd xmm5, xmm6
movsd qword [esp + 0x12c], xmm4
movsd xmm4, qword [0x5fcc48]
movapd xmm6, xmm2
divsd xmm6, xmm4
addsd xmm6, xmm0
movsd qword [esp + 0x25c], xmm6
movapd xmm6, xmm3
divsd xmm6, xmm4
addsd xmm6, xmm1
movsd qword [esp + 0x264], xmm6
movapd xmm6, xmm2
mulsd xmm6, qword [0x5fcc60]
divsd xmm6, xmm4
addsd xmm6, xmm0
divsd xmm7, xmm4
addsd xmm6, xmm7
movsd xmm7, qword [esp + 0x124]
movsd qword [esp + 0x26c], xmm6
movapd xmm6, xmm3
mulsd xmm6, qword [0x5fcc60]
divsd xmm6, xmm4
addsd xmm6, xmm1
addsd xmm0, xmm2
addsd xmm0, qword [esp + 0x1bc]
addsd xmm1, xmm3
addsd xmm1, qword [esp + 0x124]
addsd xmm1, qword [esp + 0x12c]
divsd xmm7, xmm4
addsd xmm6, xmm7
addsd xmm0, xmm5
movsd qword [esp + 0x1c4], xmm5
movsd qword [esp + 0x274], xmm6
movsd qword [esp + 0x27c], xmm0
movsd qword [esp + 0x284], xmm1
jmp 0x4d8c59
movsd xmm6, qword [0x5fb9c8]
movapd xmm7, xmm2
mulsd xmm7, xmm6
addsd xmm7, xmm0
movsd qword [esp + 0x25c], xmm7
movapd xmm7, xmm3
mulsd xmm7, xmm6
addsd xmm7, xmm1
addsd xmm0, xmm2
addsd xmm1, xmm3
addsd xmm0, xmm4
addsd xmm1, xmm5
movsd qword [esp + 0x264], xmm7
movsd qword [esp + 0x26c], xmm0
movsd qword [esp + 0x274], xmm1
jmp 0x4d8c59
addsd xmm0, xmm2
addsd xmm1, xmm3
movsd qword [esp + 0x25c], xmm0
movsd qword [esp + 0x264], xmm1
cmp byte [edi + 0x14d], 0
je 0x4d8cda
lea ecx, [ebx + 1]
test ecx, ecx
jle 0x4d8cda
mov dl, byte [edi + 0x14c]
movsd xmm3, qword [edi + 0x160]
movsd xmm4, qword [edi + 0x170]
movsd xmm5, qword [edi + 0x168]
movsd xmm6, qword [edi + 0x178]
lea eax, [esp + 0x24c]
jmp 0x4d8ca0
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
test dl, dl
je 0x4d8cb9
movapd xmm2, xmm0
movapd xmm0, xmm1
movapd xmm1, xmm2
subsd xmm0, xmm3
subsd xmm1, xmm5
mulsd xmm0, xmm4
mulsd xmm1, xmm6
movsd qword [eax], xmm0
movsd qword [eax + 8], xmm1
add eax, 0x10
sub ecx, 1
jne 0x4d8ca0
mov edx, dword [esp + 0x2c]
dec edx
cmp dword [esp + 0x1c], edx
jl 0x4d8ce6
inc ebx
test ebx, ebx
jle 0x4d8d17
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x24c]
mov eax, dword [esi + 0x54]
movq xmm0, qword [ecx]
add eax, edx
movq qword [eax], xmm0
movq xmm0, qword [ecx + 8]
add ecx, 0x10
add edx, 0x10
sub ebx, 1
movq qword [eax + 8], xmm0
jne 0x4d8cf5
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
add eax, eax
add eax, eax
add eax, eax
add dword [esp + 0x34], eax
add dword [esp + 0x5c], eax
mov eax, dword [esp + 0x6c]
add dword [esp + 0x3c], eax
inc ecx
cmp ecx, dword [esp + 0x2c]
mov dword [esp + 0x1c], ecx
jl 0x4d89c0
xorps xmm0, xmm0
mov ebx, 1
cmp dword [esi + 0x48], ebx
movsd qword [esp + 0x4c], xmm0
jle 0x4d8dc3
mov dword [esp + 0x1c], 0x10
nop
mov ecx, dword [esi + 0x54]
mov edx, dword [esp + 0x1c]
lea eax, [ecx + edx]
movsd qword [esp + 0x1a4], xmm0
movsd qword [esp + 0x19c], xmm0
movsd xmm0, qword [eax]
subsd xmm0, qword [eax - 0x10]
movsd qword [esp + 0x19c], xmm0
movsd xmm0, qword [eax + 8]
subsd xmm0, qword [eax - 8]
lea ecx, [esp + 0x19c]
movsd qword [esp + 0x1a4], xmm0
call fcn.004a7500
fadd qword [esp + 0x4c]
add dword [esp + 0x1c], 0x10
xorps xmm0, xmm0
inc ebx
fstp qword [esp + 0x4c]
cmp ebx, dword [esi + 0x48]
jl 0x4d8d60
cmp byte [esi + 0x40], 0
jne 0x4d8e5a
mov eax, dword [esi + 0x48]
cmp eax, 3
jle 0x4d8e5a
mov ecx, dword [esi + 0x54]
movsd qword [esp + 0x15c], xmm0
movsd qword [esp + 0x154], xmm0
shl eax, 4
movsd xmm0, qword [eax + ecx - 0x10]
subsd xmm0, qword [ecx]
lea eax, [eax + ecx - 0x10]
movsd qword [esp + 0x154], xmm0
movsd xmm0, qword [eax + 8]
subsd xmm0, qword [ecx + 8]
lea ecx, [esp + 0x154]
movsd qword [esp + 0x15c], xmm0
call fcn.004a7500
fld qword [esp + 0x4c]
fmul qword [0x5fa920]
fcompi st(1)
fstp st(0)
jbe 0x4d8e5a
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x48]
movq xmm0, qword [eax]
shl ecx, 4
lea ecx, [ecx + eax - 0x10]
movq qword [ecx], xmm0
movq xmm0, qword [eax + 8]
movq qword [ecx + 8], xmm0
mov byte [esi + 0x40], 1
mov byte [esi + 4], 1
lea edx, [esp + 0x234]
push edx
lea eax, [esp + 0x300]
push eax
mov ecx, edi
call fcn.00532f60
mov ecx, esi
call fcn.004cc010
movsd xmm0, qword [esp + 0x164]
movsd qword [esi + 0x28], xmm0
mov ecx, dword [esp + 0x438]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4