Function at 0x1800588e0
Capabilities:
Load assembly via iassembly

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xaa8
movzx eax, byte [0x18008b418]
test eax, eax
je 0x18005932f
movss xmm0, dword [0x18008b480]
addss xmm0, dword [0x1800873d4]
movss xmm1, dword [0x18008b484]
addss xmm1, dword [0x1800872b4]
movaps xmm2, xmm1
movaps xmm1, xmm0
lea rcx, [rsp + 0x54]
call fcn.180018e80
movss xmm0, dword [0x18008b480]
subss xmm0, dword [0x180087250]
movss xmm2, dword [0x18008b484]
movaps xmm1, xmm0
lea rcx, [rsp + 0x5c]
call fcn.180018e80
lea rdx, [rsp + 0x54]
lea rcx, [rsp + 0x5c]
call fcn.180083aa0
movzx eax, al
test eax, eax
je 0x180058a21
movzx eax, byte [0x180088436]
test eax, eax
je 0x180058a21
movzx eax, byte [0x18008841f]
test eax, eax
jne 0x180058a21
movss xmm0, dword [0x18008e5e8]
subss xmm0, dword [0x18008b480]
mov eax, dword [rsp + 0xad0]
mov ecx, dword [rsp + 0xad8]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm1, eax
mulss xmm0, xmm1
divss xmm0, dword [0x1800873d4]
cvttss2si eax, xmm0
mov rcx, qword [rsp + 0xac8]
mov dword [rcx], eax
mov rax, qword [rsp + 0xac8]
mov ecx, dword [rsp + 0xad8]
cmp dword [rax], ecx
jle 0x1800589fd
mov rax, qword [rsp + 0xac8]
mov ecx, dword [rsp + 0xad8]
mov dword [rax], ecx
mov rax, qword [rsp + 0xac8]
mov ecx, dword [rsp + 0xad0]
cmp dword [rax], ecx
jge 0x180058a21
mov rax, qword [rsp + 0xac8]
mov ecx, dword [rsp + 0xad0]
mov dword [rax], ecx
mov rax, qword [0x18008b100]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xac8]
mov r9d, dword [rax]
mov r8, qword [rsp + 0xac0]
mov rdx, qword [rsp + 0xae0]
lea rcx, [rsp + 0x410]
call qword [rsp + 0x68]
movss xmm0, dword [0x180088154]
movss dword [rsp + 0x50], xmm0
lea rax, [rsp + 0x3d0]
mov qword [rsp + 0x70], rax
movss xmm0, dword [0x1800873c4]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x1800873e8]
movss xmm2, dword [0x1800873e8]
movss xmm1, dword [0x1800873e8]
mov rcx, qword [rsp + 0x70]
call fcn.180018be0
lea rcx, [rsp + 0x290]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x2a0]
lea rcx, [rsp + 0x290]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x2d0]
lea rcx, [rsp + 0x2a0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x980]
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x410]
mov rcx, qword [rsp + 0x78]
call fcn.180018dd0
lea rcx, [rsp + 0x510]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x118
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x628]
lea rcx, [rsp + 0x510]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x118
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x740]
lea rcx, [rsp + 0x628]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x118
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x3e0]
mov qword [rsp + 0x80], rax
movss xmm0, dword [0x18008b484]
subss xmm0, dword [0x180087250]
movss xmm1, dword [0x1800872a0]
movss dword [rsp + 0x20], xmm1
movss xmm3, dword [0x1800873f4]
movaps xmm2, xmm0
movss xmm1, dword [0x18008b480]
mov rcx, qword [rsp + 0x80]
call fcn.180018be0
lea rcx, [rsp + 0x2b0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x2c0]
lea rcx, [rsp + 0x2b0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x2e0]
lea rcx, [rsp + 0x2c0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x2f0]
lea rcx, [rsp + 0x2d0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x860]
lea rcx, [rsp + 0x740]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x118
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x300]
lea rcx, [rsp + 0x2e0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
movss xmm0, dword [rsp + 0x50]
movss dword [rsp + 0x20], xmm0
xor r9d, r9d
lea r8, [rsp + 0x2f0]
lea rdx, [rsp + 0x860]
lea rcx, [rsp + 0x300]
call fcn.180064ed0
lea rcx, [rsp + 0x240]
call fcn.1800700e0
mov rax, qword [rax]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x248]
call fcn.1800700e0
mov rax, qword [rax]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x148], rax
lea rcx, [rsp + 0x250]
call fcn.1800700e0
mov rax, qword [rax]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x150], rax
lea rax, [rsp + 0x3f0]
mov qword [rsp + 0xe8], rax
movss xmm0, dword [0x1800873e8]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x180087308]
movss xmm2, dword [0x180087308]
movss xmm1, dword [0x180087308]
mov rcx, qword [rsp + 0xe8]
call fcn.180018be0
lea rcx, [rsp + 0x310]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x320]
lea rcx, [rsp + 0x310]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x330]
lea rcx, [rsp + 0x320]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x340]
lea rcx, [rsp + 0x330]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x350]
lea rcx, [rsp + 0x340]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x258]
mov qword [rsp + 0xf0], rax
movss xmm2, dword [0x18008725c]
movss xmm1, dword [0x1800873d4]
mov rcx, qword [rsp + 0xf0]
call fcn.180018e80
mov rax, qword [rax]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x260]
mov qword [rsp + 0x118], rax
movss xmm0, dword [0x18008b484]
addss xmm0, dword [0x180087294]
movaps xmm2, xmm0
movss xmm1, dword [0x18008b480]
mov rcx, qword [rsp + 0x118]
call fcn.180018e80
mov rax, qword [rax]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x160], rax
lea rax, [rsp + 0x360]
lea rcx, [rsp + 0x350]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
xorps xmm0, xmm0
movss dword [rsp + 0x40], xmm0
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movss dword [rsp + 0x28], xmm0
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x360]
mov r8, qword [rsp + 0x158]
mov rdx, qword [rsp + 0x160]
mov ecx, 3
call fcn.180064570
lea rcx, [rsp + 0x268]
call fcn.1800700e0
mov rax, qword [rax]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x218], rax
lea rcx, [rsp + 0x270]
call fcn.1800700e0
mov rax, qword [rax]
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x220], rax
lea rcx, [rsp + 0x278]
call fcn.1800700e0
mov rax, qword [rax]
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x228], rax
movss xmm0, dword [0x1800873e8]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x1800873e8]
movss xmm2, dword [0x1800873e8]
movss xmm1, dword [0x1800873e8]
lea rcx, [rsp + 0x400]
call fcn.180018be0
lea rcx, [rsp + 0x370]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x380]
lea rcx, [rsp + 0x370]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x390]
lea rcx, [rsp + 0x380]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x3a0]
lea rcx, [rsp + 0x390]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x3b0]
lea rcx, [rsp + 0x3a0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x280]
mov qword [rsp + 0x1c8], rax
cvtsi2ss xmm0, dword [rsp + 0xad8]
mov rax, qword [rsp + 0xac8]
imul eax, dword [rax], 0xf0
cvtsi2ss xmm1, eax
divss xmm1, xmm0
movaps xmm0, xmm1
movss xmm2, dword [0x18008725c]
movaps xmm1, xmm0
mov rcx, qword [rsp + 0x1c8]
call fcn.180018e80
mov rax, qword [rax]
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsp + 0x1d8]
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x1e8], rax
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0x230], rax
lea rax, [rsp + 0x288]
mov qword [rsp + 0x1f0], rax
movss xmm0, dword [0x18008b484]
addss xmm0, dword [0x180087294]
movaps xmm2, xmm0
movss xmm1, dword [0x18008b480]
mov rcx, qword [rsp + 0x1f0]
call fcn.180018e80
mov rax, qword [rax]
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0x1f8]
mov qword [rsp + 0x200], rax
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0x208], rax
mov rax, qword [rsp + 0x208]
mov qword [rsp + 0x210], rax
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x238], rax
lea rax, [rsp + 0x3c0]
lea rcx, [rsp + 0x3b0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
xorps xmm0, xmm0
movss dword [rsp + 0x40], xmm0
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movss dword [rsp + 0x28], xmm0
mov rax, qword [rsp + 0x228]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c0]
mov r8, qword [rsp + 0x230]
mov rdx, qword [rsp + 0x238]
mov ecx, 3
call fcn.180064570
movss xmm0, dword [0x18008b484]
addss xmm0, dword [0x1800872bc]
movss dword [0x18008b484], xmm0
add rsp, 0xaa8
pop rdi
pop rsi
ret