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

Disassembly:
mov r11, rsp
push rbp
push rbx
push rdi
push r12
push r14
lea rbp, [r11 - 0x128]
sub rsp, 0x200
movaps xmmword [r11 - 0xd8], xmm15
mov rax, qword [0x18005e008]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov r14, qword [0x18005f058]
mov ebx, r8d
mov qword [r11 + 0x20], rsi
mov rsi, rcx
mov qword [r11 - 0x30], r13
mov qword [r11 - 0x38], r15
mov qword [rbp - 0x78], rdx
mov qword [rbp - 0x80], rcx
call fcn.180015f70
test rax, rax
mov qword [rsp + 0x68], rax
mov rcx, rax
mov rdi, rax
sete al
mov byte [rsp + 0x30], al
test rcx, rcx
jne 0x18001894d
mov edx, ebx
mov rcx, rsi
call fcn.1800161b0
mov rdi, rax
jmp 0x180018958
mov r8d, ebx
movzx edx, al
call fcn.180016040
mov r13d, dword [r14 + 0x1ba0]
mov eax, ebx
mov r12d, dword [rdi + 0x238]
mov edx, ebx
or edx, 6
mov dword [rsp + 0x64], r13d
and eax, 0xc0200
mov dword [rsp + 0x60], r12d
cmp eax, 0xc0200
cmovne edx, ebx
lea rbx, [r14 + 0x1bf0]
cmp dword [rbx], 0
mov dword [rsp + 0x34], edx
jne 0x1800189a2
cmp byte [r14 + 0x1bad], 0
je 0x1800189a2
mov al, 1
jmp 0x1800189a4
xor al, al
mov byte [rdi + 0x96], al
lea eax, [r13 - 1]
cmp r12d, eax
setl r8b
mov byte [rsp + 0x31], r8b
bt edx, 0x1a
jae 0x1800189f6
movsxd rax, dword [r14 + 0x1df8]
lea rdx, [rax + rax*2]
shl rdx, 4
add rdx, qword [r14 + 0x1df0]
cmp rdi, qword [rdx + 8]
mov eax, dword [rdx]
mov edx, dword [rsp + 0x34]
setne cl
cmp dword [rdi + 0xa4], eax
setne al
or cl, al
or r8b, cl
mov byte [rsp + 0x31], r8b
mov byte [rdi + 0x94], r8b
test r8b, r8b
je 0x180018a17
or byte [rdi + 0xb4], 8
or byte [rdi + 0xb5], 8
or byte [rdi + 0xb6], 8
xor ecx, ecx
cmp r12d, r13d
je 0x180018a5c
mov dword [rdi + 0xc], edx
mov dword [rdi + 0x238], r13d
movsd xmm0, qword [r14 + 0x1b98]
mov word [rdi + 0x9c], cx
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x23c], xmm0
movzx eax, word [r14 + 0x1c10]
inc dword [r14 + 0x1c10]
mov word [rdi + 0x9e], ax
jmp 0x180018a63
mov edx, dword [rdi + 0xc]
mov dword [rsp + 0x34], edx
movsxd rax, dword [rbx]
test eax, eax
jne 0x180018a6f
mov rsi, rcx
jmp 0x180018a81
imul rcx, rax, 0x58
mov rax, qword [r14 + 0x1bf8]
mov rsi, qword [rcx + rax - 0x58]
xor ecx, ecx
cmp r12d, r13d
je 0x180018a95
test edx, 0x5000000
mov r15, rcx
cmovne r15, rsi
jmp 0x180018a9c
mov r15, qword [rdi + 0x340]
cmp dword [rdi + 0xc8], 0
mov qword [rsp + 0x58], r15
jne 0x180018aba
lea rdx, [rdi + 8]
lea rcx, [rdi + 0xc8]
call fcn.180023060
mov rdx, qword [0x18005f058]
xor eax, eax
movups xmm1, xmmword [r14 + 0x1ce8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x10], eax
xorps xmm0, xmm0
mov eax, dword [r14 + 0x1d10]
mov qword [r14 + 0x1c20], rdi
mov r8d, dword [rbx + 4]
movups xmmword [rbp - 0x28], xmm0
mov dword [rbp - 0x20], eax
mov rax, qword [rdx + 0x1c20]
movups xmm0, xmmword [r14 + 0x1cd8]
mov qword [rbp - 0x60], rdi
movups xmmword [rbp - 0x48], xmm1
movzx ecx, word [rax + 0xc8]
movzx eax, word [rdx + 0x1d88]
movsd xmm1, qword [r14 + 0x1d08]
mov word [rbp - 0x1a], ax
movzx eax, word [rdx + 0x1d98]
mov word [rbp - 0x18], ax
movzx eax, word [rdx + 0x1da8]
mov word [rbp - 0x16], ax
movzx eax, word [rdx + 0x1db8]
mov word [rbp - 0x14], ax
movzx eax, word [rdx + 0x1dd8]
mov word [rbp - 0x12], ax
movzx eax, word [rdx + 0x1dc8]
mov word [rbp - 0x10], ax
movzx eax, word [rdx + 0x1df8]
movups xmmword [rbp - 0x58], xmm0
mov word [rbp - 0xe], ax
movups xmm0, xmmword [r14 + 0x1cf8]
movzx eax, word [rdx + 0x3094]
mov word [rbp - 0x1c], cx
mov ecx, dword [rbx]
mov word [rbp - 0xc], ax
movsd qword [rbp - 0x28], xmm1
movups xmmword [rbp - 0x38], xmm0
cmp ecx, r8d
jne 0x180018bb5
inc ecx
test r8d, r8d
je 0x180018ba1
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x180018ba6
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.180023c50
movsxd rax, dword [rbx]
xor r10d, r10d
movaps xmm0, xmmword [rbp - 0x60]
movaps xmm1, xmmword [rbp - 0x50]
imul rcx, rax, 0x58
mov rax, qword [rbx + 8]
movups xmmword [rcx + rax], xmm0
movaps xmm0, xmmword [rbp - 0x40]
movups xmmword [rcx + rax + 0x10], xmm1
movaps xmm1, xmmword [rbp - 0x30]
movups xmmword [rcx + rax + 0x20], xmm0
movaps xmm0, xmmword [rbp - 0x20]
movups xmmword [rcx + rax + 0x30], xmm1
movsd xmm1, qword [rbp - 0x10]
movups xmmword [rcx + rax + 0x40], xmm0
movsd qword [rcx + rax + 0x50], xmm1
inc dword [rbx]
mov ebx, dword [rsp + 0x34]
mov eax, ebx
and eax, 0x10000000
mov qword [r14 + 0x1c20], r10
mov dword [rsp + 0x74], eax
je 0x180018c1b
inc dword [r14 + 0x1e08]
mov ecx, ebx
and ecx, 0x4000000
mov dword [rsp + 0x38], ecx
je 0x180018c61
lea rcx, [r14 + 0x1df8]
movsxd rax, dword [rcx]
lea rbx, [rax + rax*2]
shl rbx, 4
add rbx, qword [r14 + 0x1df0]
mov rdx, rbx
mov qword [rbx + 8], rdi
call fcn.180022ef0
mov eax, dword [rbx]
xor r10d, r10d
mov ebx, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x38]
mov dword [rdi + 0xa4], eax
cmp r12d, r13d
je 0x180018d11
mov qword [rdi + 0x340], r15
mov qword [rdi + 0x368], rdi
mov qword [rdi + 0x360], rdi
mov qword [rdi + 0x358], rdi
mov qword [rdi + 0x350], rdi
test r15, r15
je 0x180018cdc
mov eax, ebx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x180018cae
mov rax, qword [r15 + 0x350]
mov qword [rdi + 0x350], rax
test ecx, ecx
je 0x180018cc0
mov rax, qword [r15 + 0x358]
mov qword [rdi + 0x358], rax
bt ebx, 0x1b
jb 0x180018cdc
test ebx, 0x5000000
je 0x180018cdc
mov rax, qword [r15 + 0x360]
mov qword [rdi + 0x360], rax
test dword [rdi + 0xc], 0x800000
je 0x180018d0a
mov rcx, rdi
nop dword [rax + rax]
mov rax, qword [rcx + 0x340]
mov qword [rdi + 0x368], rax
mov rcx, rax
test dword [rax + 0xc], 0x800000
jne 0x180018cf0
mov qword [rdi + 0x348], rsi
xor r13b, r13b
xor r15b, r15b
xor r12b, r12b
test byte [r14 + 0x1d18], 1
je 0x180018db8
mov r8d, dword [r14 + 0x1d1c]
movzx ecx, byte [rdi + 0xb4]
movsx eax, cl
test r8d, eax
setne r13b
test r8d, eax
je 0x180018da9
movss xmm0, dword [r14 + 0x1d34]
movss xmm1, dword [r14 + 0x1d30]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x1800540d0]
jbe 0x180018da9
movsd xmm0, qword [r14 + 0x1d28]
and ecx, 0xf1
mov eax, dword [rdi + 0xb4]
and eax, 0xffffff00
movsd qword [rdi + 0xb8], xmm0
movsd xmm1, qword [r14 + 0x1d30]
or ecx, eax
mov dword [rdi + 0xb4], ecx
movsd qword [rdi + 0xc0], xmm1
jmp 0x180018db8
lea rdx, [r14 + 0x1d28]
mov rcx, rdi
call fcn.18001b0e0
test byte [r14 + 0x1d18], 2
xorps xmm15, xmm15
je 0x180018e0d
movsx eax, byte [rdi + 0xb5]
lea rdx, [r14 + 0x1d38]
mov r8d, dword [r14 + 0x1d20]
and eax, r8d
je 0x180018def
movss xmm0, dword [rdx]
comiss xmm0, xmm15
jbe 0x180018def
mov r15b, 1
jmp 0x180018df3
test eax, eax
je 0x180018e05
movss xmm0, dword [r14 + 0x1d3c]
comiss xmm0, xmm15
jbe 0x180018e05
mov r12b, 1
mov rcx, rdi
call fcn.18001b210
test byte [r14 + 0x1d18], 0x80
je 0x180018e47
movss xmm0, dword [r14 + 0x1d48]
comiss xmm0, xmm15
jb 0x180018e2f
movss dword [rdi + 0x6c], xmm0
mov dword [rdi + 0x74], r10d
movss xmm0, dword [r14 + 0x1d4c]
comiss xmm0, xmm15
jb 0x180018e47
movss dword [rdi + 0x70], xmm0
mov dword [rdi + 0x78], r10d
test byte [r14 + 0x1d18], 4
mov esi, dword [rsp + 0x64]
je 0x180018e65
movsd xmm0, qword [r14 + 0x1d40]
movsd qword [rdi + 0x38], xmm0
jmp 0x180018e73
cmp dword [rsp + 0x60], esi
je 0x180018e73
mov qword [rdi + 0x38], 0
test byte [r14 + 0x1d18], 8
je 0x180018ec4
mov ecx, dword [r14 + 0x1d24]
movzx edx, byte [r14 + 0x1d50]
test ecx, ecx
je 0x180018e9b
movsx eax, byte [rdi + 0xb6]
test ecx, eax
je 0x180018ec4
movzx ecx, byte [rdi + 0xb6]
mov eax, dword [rdi + 0xb4]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [rdi + 0x91], dl
mov dword [rdi + 0xb4], ecx
test byte [r14 + 0x1d18], 0x20
je 0x180018ed6
mov rcx, rdi
call fcn.18001aca0
cmp byte [rdi + 0x94], 0
je 0x180018ef4
and byte [rdi + 0xb4], 0xf7
and byte [rdi + 0xb5], 0xf7
and byte [rdi + 0xb6], 0xf7
mov ecx, 1
cmp dword [rsp + 0x60], esi
je 0x18001a842
movaps xmmword [rsp + 0x1e0], xmm6
mov eax, ebx
movaps xmmword [rsp + 0x1d0], xmm7
and eax, 0x3000000
cmp qword [rbp - 0x78], 0
mov edx, ecx
movaps xmmword [rsp + 0x1c0], xmm8
movaps xmmword [rsp + 0x1b0], xmm9
movaps xmmword [rsp + 0x1a0], xmm10
movaps xmmword [rsp + 0x190], xmm11
movaps xmmword [rsp + 0x180], xmm12
movaps xmmword [rsp + 0x170], xmm13
mov byte [rdi + 0x8e], cl
lea rcx, [rdi + 0xc8]
movaps xmmword [rsp + 0x160], xmm14
mov dword [rsp + 0x3c], eax
setne al
mov byte [rdi + 0x98], al
mov dword [rdi + 0x210], 0xff7fffff
mov dword [rdi + 0x214], 0xff7fffff
mov dword [rdi + 0x218], 0x7f7fffff
mov dword [rdi + 0x21c], 0x7f7fffff
call fcn.180023630
mov rcx, qword [rdi + 0x270]
call fcn.18002b490
cmp byte [rdi + 0x3a8], 0
mov dword [rdi + 0x188], 0xffffffff
je 0x180019002
mov rcx, qword [rdi + 0x270]
mov edx, dword [rdi + 0x3a0]
add rcx, 0x10
mov byte [rdi + 0x3a8], 0
call fcn.180023a20
mov rcx, qword [rdi + 0x270]
mov edx, dword [rdi + 0x3a4]
add rcx, 0x20
call fcn.180023710
xor eax, eax
mov qword [rdi + 0x3a0], rax
cmp qword [r14 + 0x1f98], 0
mov r9, qword [rsp + 0x68]
je 0x1800190d6
test dword [rdi + 0xc], 0x80000
jne 0x1800190d6
test r9, r9
je 0x1800190d6
mov r10, qword [rbp - 0x80]
mov r9, qword [rdi]
mov rax, r10
mov r8, r9
sub r8, r10
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180019053
inc rax
test ecx, ecx
jne 0x180019040
test edx, edx
je 0x1800190d1
movsxd rsi, dword [rdi + 0x50]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r10 + rbx], 0
jne 0x180019062
inc rbx
cmp rsi, rbx
jae 0x1800190b9
test r9, r9
je 0x18001908b
mov rax, qword [0x18005f058]
test rax, rax
je 0x18001908b
dec dword [rax + 0x3b0]
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x18005f058]
test rax, rax
je 0x1800190a6
inc dword [rax + 0x3b0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r10, qword [rbp - 0x80]
mov rsi, rbx
mov r9, rax
mov r8, rbx
mov rdx, r10
mov rcx, r9
call sub.VCRUNTIME140.dll_memcpy
mov ebx, dword [rsp + 0x34]
mov qword [rdi], rax
mov dword [rdi + 0x50], esi
mov r9, qword [rsp + 0x68]
movzx esi, byte [rdi + 0xb1]
lea r8, [rdi + 0x30]
lea rdx, [rdi + 0x28]
mov rcx, rdi
call fcn.180016810
movzx eax, byte [rdi + 0xb0]
test al, al
jle 0x180019100
dec al
mov byte [rdi + 0xb0], al
movzx eax, byte [rdi + 0xb1]
test al, al
jle 0x180019113
dec al
mov byte [rdi + 0xb1], al
movzx eax, byte [rdi + 0xb2]
test al, al
jle 0x180019126
dec al
mov byte [rdi + 0xb2], al
test r9, r9
jne 0x18001913c
test r15b, r15b
je 0x180019135
test r12b, r12b
jne 0x18001913c
mov byte [rdi + 0xb1], 1
xor r9d, r9d
cmp byte [rsp + 0x31], r9b
je 0x180019182
test ebx, 0x6000000
je 0x180019182
mov byte [rdi + 0xb1], 1
test bl, 0x40
je 0x180019182
test r15b, r15b
jne 0x180019167
mov dword [rdi + 0x20], r9d
mov dword [rdi + 0x18], r9d
test r12b, r12b
jne 0x180019174
mov dword [rdi + 0x24], r9d
mov dword [rdi + 0x1c], r9d
mov qword [r8], 0
mov qword [rdx], 0
mov rcx, qword [0x18005f058]
mov qword [rcx + 0x1c20], rdi
movsxd rax, dword [rdi + 0x188]
cmp eax, 0xffffffff
je 0x1800191ac
imul rdx, rax, 0x208
add rdx, qword [rcx + 0x2098]
jmp 0x1800191af
mov rdx, r9
movss xmm0, dword [rcx + 0x1994]
mov qword [rcx + 0x2070], rdx
mov rax, qword [rdi + 0x340]
mulss xmm0, dword [rdi + 0x268]
test rax, rax
je 0x1800191da
mulss xmm0, dword [rax + 0x268]
mov eax, ebx
movss dword [rcx + 0x19a8], xmm0
and eax, 0x1000000
movss dword [rcx + 0x1990], xmm0
mov dword [rsp + 0x40], eax
je 0x180019202
movss xmm1, dword [r14 + 0x15a0]
jmp 0x180019224
test ebx, 0x6000000
je 0x18001921b
bt ebx, 0x1b
jb 0x18001921b
movss xmm1, dword [r14 + 0x15a8]
jmp 0x180019224
movss xmm1, dword [r14 + 0x1584]
movss dword [rdi + 0x4c], xmm1
mov eax, ebx
movsd xmm0, qword [r14 + 0x1578]
and eax, 0x5010000
movsd qword [rdi + 0x40], xmm0
cmp eax, 0x1000000
jne 0x18001926b
ucomiss xmm1, xmm15
jp 0x18001926b
jne 0x18001926b
bt ebx, 0xa
jae 0x18001925e
movss xmm0, dword [r14 + 0x157c]
jmp 0x180019262
movaps xmm0, xmm15
movss dword [rdi + 0x44], xmm0
mov dword [rdi + 0x40], r9d
movss xmm0, dword [rdi + 0x40]
maxss xmm0, dword [r14 + 0x15bc]
maxss xmm0, dword [r14 + 0x1d7c]
movss dword [rdi + 0x13c], xmm0
mov eax, dword [r14 + 0x1d80]
mov dword [rdi + 0x140], eax
test bl, 0x21
jne 0x1800193cf
mov edx, dword [rdi + 0xc]
test dl, 1
je 0x1800192ae
movaps xmm2, xmm15
jmp 0x1800192e2
mov rax, qword [rdi + 0x340]
movss xmm0, dword [rcx + 0x1994]
mulss xmm0, dword [rdi + 0x268]
test rax, rax
je 0x1800192d2
mulss xmm0, dword [rax + 0x268]
movss xmm2, dword [rcx + 0x15b0]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm4, dword [rdi + 0x10]
movaps xmm3, xmm4
movss xmm5, dword [rdi + 0x14]
addss xmm3, dword [rdi + 0x20]
addss xmm2, dword [rdi + 0x14]
cmp qword [r14 + 0x1c28], rdi
jne 0x18001939b
cmp dword [r14 + 0x1c58], 0
jne 0x18001939b
cmp dword [r14 + 0x1c5c], 0
jne 0x18001939b
mov rax, qword [rcx + 0x1c20]
movss xmm1, dword [rcx + 0x15d4]
movss xmm0, dword [rcx + 0x15d8]
maxss xmm4, dword [rax + 0x210]
minss xmm3, dword [rax + 0x218]
maxss xmm5, dword [rax + 0x214]
minss xmm2, dword [rax + 0x21c]
subss xmm4, xmm1
addss xmm3, xmm1
movss xmm1, dword [rcx + 0x128]
subss xmm5, xmm0
addss xmm2, xmm0
comiss xmm1, xmm4
jb 0x18001939b
movss xmm0, dword [rcx + 0x12c]
comiss xmm0, xmm5
jb 0x18001939b
comiss xmm3, xmm1
jbe 0x18001939b
comiss xmm2, xmm0
jbe 0x18001939b
cmp word [r14 + 0x42a], 2
jne 0x18001939b
mov byte [rdi + 0x92], 1
cmp byte [rdi + 0x92], 0
je 0x1800193d6
cmp byte [rdi + 0x91], 0
sete al
mov byte [rdi + 0x91], al
bt edx, 8
jb 0x1800193d6
comiss xmm15, dword [rcx + 0x30d4]
jb 0x1800193d6
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x30d4], eax
jmp 0x1800193d6
mov byte [rdi + 0x91], 0
mov rdx, rdi
mov byte [rdi + 0x92], 0
lea rcx, [rbp]
call fcn.180016920
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x32], al
mov eax, ebx
and eax, 0x40
mov dword [rsp + 0x70], eax
je 0x180019437
cmp byte [rdi + 0x91], 0
jne 0x180019437
test r15b, r15b
jne 0x18001941a
movss xmm0, dword [rbp]
movss dword [rdi + 0x20], xmm0
mov byte [rsp + 0x30], 1
test r12b, r12b
jne 0x1800194da
movss xmm0, dword [rbp + 4]
movss dword [rdi + 0x24], xmm0
mov byte [rsp + 0x32], 1
jmp 0x1800194da
movzx eax, byte [rdi + 0xa8]
test al, al
jg 0x18001944f
cmp byte [rdi + 0xa9], 0
jle 0x1800194da
test r15b, r15b
jne 0x18001947c
test al, al
jle 0x18001947c
cmp byte [rdi + 0xab], r15b
je 0x18001946d
movss xmm0, dword [rdi + 0x20]
maxss xmm0, dword [rbp]
jmp 0x180019472
movss xmm0, dword [rbp]
movss dword [rdi + 0x20], xmm0
mov byte [rsp + 0x30], 1
test r12b, r12b
jne 0x1800194ae
cmp byte [rdi + 0xa9], r12b
jle 0x1800194ae
cmp byte [rdi + 0xab], r12b
je 0x18001949f
movss xmm0, dword [rdi + 0x24]
maxss xmm0, dword [rbp + 4]
jmp 0x1800194a4
movss xmm0, dword [rbp + 4]
movss dword [rdi + 0x24], xmm0
mov byte [rsp + 0x32], 1
cmp byte [rdi + 0x91], 0
jne 0x1800194da
test dword [rdi + 0xc], 0x100
mov rcx, qword [0x18005f058]
jne 0x1800194da
comiss xmm15, dword [rcx + 0x30d4]
jb 0x1800194da
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x30d4], eax
lea r15, [rdi + 0x20]
mov rdx, rdi
mov r8, r15
lea rcx, [rbp - 0x70]
call fcn.1800165c0
cmp byte [rdi + 0x91], 0
mov r8d, dword [rsp + 0x40]
movss xmm2, dword [rax]
movss xmm0, dword [rax + 4]
movss dword [r15], xmm2
movss dword [r15 + 4], xmm0
je 0x18001957d
test r8d, r8d
jne 0x18001957d
test byte [rdi + 0xc], 1
mov rdx, qword [0x18005f058]
je 0x180019527
movaps xmm1, xmm15
jmp 0x18001955b
mov rax, qword [rdi + 0x340]
movss xmm0, dword [rdx + 0x1994]
mulss xmm0, dword [rdi + 0x268]
test rax, rax
je 0x18001954b
mulss xmm0, dword [rax + 0x268]
movss xmm1, dword [rdx + 0x15b0]
addss xmm1, xmm1
addss xmm1, xmm0
addss xmm2, dword [rdi + 0x10]
addss xmm1, dword [rdi + 0x14]
subss xmm2, dword [rdi + 0x10]
subss xmm1, dword [rdi + 0x14]
movss dword [rsp + 0x48], xmm2
movss dword [rsp + 0x4c], xmm1
jmp 0x18001958f
movsd xmm0, qword [r15]
mov rdx, qword [0x18005f058]
movsd qword [rsp + 0x48], xmm0
mov ecx, dword [rdi + 0xc]
lea rax, [rsp + 0x48]
movsd xmm0, qword [rax]
movsd qword [rdi + 0x18], xmm0
test cl, 1
je 0x1800195ab
movaps xmm1, xmm15
jmp 0x1800195df
mov rax, qword [rdi + 0x340]
movss xmm0, dword [rdx + 0x1994]
mulss xmm0, dword [rdi + 0x268]
test rax, rax
je 0x1800195cf
mulss xmm0, dword [rax + 0x268]
movss xmm1, dword [rdx + 0x15b0]
addss xmm1, xmm1
addss xmm1, xmm0
bt ecx, 0xa
jae 0x180019628
mov rax, qword [rdi + 0x340]
movss xmm14, dword [rdx + 0x1994]
mulss xmm14, dword [rdi + 0x268]
test rax, rax
je 0x18001960c
mulss xmm14, dword [rax + 0x268]
movss xmm0, dword [rdx + 0x15b0]
addss xmm14, dword [rdi + 0x140]
addss xmm0, xmm0
addss xmm14, xmm0
jmp 0x18001962c
movaps xmm14, xmm15
cmp byte [rsp + 0x31], 0
addss xmm14, xmm1
je 0x180019680
mov eax, ebx
mov dword [rdi + 0xac], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x180019680
test r13b, r13b
jne 0x180019680
movsxd rax, dword [r14 + 0x1df8]
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 0x1e00]
add rcx, rcx
movss xmm0, dword [rax + rcx*8 - 0x10]
movss xmm1, dword [rax + rcx*8 - 0xc]
movss dword [rdi + 0x10], xmm0
movss dword [rdi + 0x14], xmm1
test r8d, r8d
je 0x18001970c
mov rdx, qword [rsp + 0x58]
lea rbx, [rdx + 0x168]
movzx eax, word [rbx]
mov word [rdi + 0x9c], ax
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x1800196d8
inc r8d
test ecx, ecx
je 0x1800196bc
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1800196c1
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.180023310
mov rdx, qword [rsp + 0x58]
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], rdi
inc dword [rbx]
mov ebx, dword [rsp + 0x38]
mov eax, dword [rsp + 0x3c]
test ebx, ebx
jne 0x180019714
test r13b, r13b
jne 0x180019714
cmp eax, 0x3000000
je 0x180019714
movsd xmm0, qword [rdx + 0xd8]
movsd qword [rdi + 0x10], xmm0
jmp 0x180019714
mov ebx, dword [rsp + 0x38]
mov eax, dword [rsp + 0x3c]
movss xmm1, dword [rdi + 0xb8]
ucomiss xmm1, dword [0x180054230]
jp 0x180019727
je 0x180019778
cmp byte [rdi + 0xb1], 0
jne 0x180019778
movss xmm0, dword [rdi + 0x18]
lea rdx, [rsp + 0x48]
mulss xmm0, dword [rdi + 0xc0]
xor r8d, r8d
mov rcx, rdi
subss xmm1, xmm0
movss xmm0, dword [rdi + 0xbc]
movss dword [rsp + 0x48], xmm1
movss xmm1, dword [rdi + 0xc4]
mulss xmm1, dword [rdi + 0x1c]
subss xmm0, xmm1
movss dword [rsp + 0x4c], xmm0
call fcn.18001b0e0
jmp 0x1800197c3
cmp dword [rsp + 0x74], 0
jne 0x1800197a3
test ebx, ebx
je 0x18001978d
test r13b, r13b
jne 0x18001978d
test sil, sil
jg 0x1800197a3
test dword [rsp + 0x34], 0x2000000
je 0x1800197c3
test r13b, r13b
jne 0x1800197c3
cmp eax, 0x3000000
je 0x1800197c3
mov rdx, rdi
lea rcx, [rsp + 0x74]
call fcn.18001d410
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax]
movss dword [rdi + 0x10], xmm0
movss dword [rdi + 0x14], xmm1
mov r12, qword [0x18005f058]
movss xmm3, dword [r14 + 0x161c]
movss xmm2, dword [r14 + 0x1618]
maxss xmm3, dword [r14 + 0x1624]
mov rax, qword [r12 + 0x1e18]
maxss xmm2, dword [r14 + 0x1620]
mov rcx, qword [rax]
movss xmm0, dword [rcx + 0x14]
movss xmm1, dword [rcx + 0x18]
movaps xmm7, xmm0
movss xmm8, dword [rcx + 4]
movaps xmm6, xmm1
movss xmm9, dword [rcx + 8]
movaps xmm4, xmm8
movss dword [rbp + 0x10], xmm8
movaps xmm5, xmm9
movss dword [rbp + 0x14], xmm9
addss xmm7, dword [rcx + 0x1c]
addss xmm6, dword [rcx + 0x20]
addss xmm4, dword [rcx + 0xc]
addss xmm5, dword [rcx + 0x10]
mov ecx, dword [rsp + 0x40]
subss xmm7, xmm2
subss xmm6, xmm3
movss dword [rbp + 0x18], xmm4
addss xmm2, xmm0
movss dword [rbp + 0x1c], xmm5
addss xmm3, xmm1
movss dword [rbp + 0x28], xmm7
movss dword [rbp + 0x2c], xmm6
movss dword [rbp + 0x20], xmm2
movss dword [rbp + 0x24], xmm3
test r13b, r13b
jne 0x18001993a
test ecx, ecx
jne 0x18001993a
cmp byte [rdi + 0xa8], r13b
jg 0x18001993a
cmp byte [rdi + 0xa9], r13b
jg 0x18001993a
subss xmm4, xmm8
comiss xmm4, xmm15
jbe 0x18001993a
subss xmm5, xmm9
comiss xmm5, xmm15
jbe 0x18001993a
movss xmm0, dword [rdi + 0x1c]
cmp byte [r12 + 0xcd], r13b
je 0x180019905
test byte [rdi + 0xc], 1
jne 0x180019905
mov rax, qword [rdi + 0x340]
movss xmm1, dword [r12 + 0x1994]
mulss xmm1, dword [rdi + 0x268]
test rax, rax
je 0x1800198f3
mulss xmm1, dword [rax + 0x268]
movss xmm0, dword [r12 + 0x15b0]
addss xmm0, xmm0
addss xmm0, xmm1
subss xmm2, dword [rdi + 0x18]
subss xmm3, xmm0
movss xmm0, dword [rdi + 0x14]
comiss xmm3, xmm0
ja 0x18001991f
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [rdi + 0x10]
comiss xmm2, xmm0
ja 0x180019930
movaps xmm2, xmm7
minss xmm2, xmm0
movss dword [rdi + 0x10], xmm2
movss dword [rdi + 0x14], xmm3
mov r13d, dword [rsp + 0x34]
cvttss2si eax, dword [rdi + 0x10]
movd xmm1, eax
cvttss2si eax, dword [rdi + 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rdi + 0x10], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x14], xmm0
test ecx, ecx
je 0x180019970
movss xmm0, dword [r14 + 0x159c]
jmp 0x180019993
mov eax, r13d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x18001998a
movss xmm0, dword [r14 + 0x15a4]
jmp 0x180019993
movss xmm0, dword [r14 + 0x1580]
xor cl, cl
movss dword [rdi + 0x48], xmm0
mov dword [rsp + 0x38], ecx
cmp byte [rsp + 0x31], cl
je 0x180019bb4
bt r13d, 0xc
jb 0x180019bb4
test ebx, ebx
je 0x1800199be
mov byte [rsp + 0x38], 1
jmp 0x1800199d2
cmp dword [rsp + 0x3c], 0
mov edx, 1
movzx ecx, cl
cmove ecx, edx
mov dword [rsp + 0x38], ecx
mov eax, dword [r12 + 0x1de8]
sub eax, 1
js 0x180019bb4
mov r8, qword [r12 + 0x1df0]
movsxd r10, eax
add r8, 8
mov rdx, r10
lea r9, [r10 + r10*2]
shl r9, 4
add r8, r9
mov rcx, qword [r8]
test rcx, rcx
je 0x180019a11
test dword [rcx + 0xc], 0x8000000
jne 0x180019a20
sub r8, 0x30
sub rdx, 1
jns 0x180019a00
jmp 0x180019bb4
mov r15, qword [rdi + 0x350]
mov rax, rdi
cmp r15, rcx
je 0x180019bb0
cmp rax, rcx
je 0x180019bb0
mov rax, qword [rax + 0x348]
test rax, rax
jne 0x180019a33
mov byte [rsp + 0x38], al
cmp rdi, r15
jne 0x180019bb0
mov r8, qword [r12 + 0x1df0]
add r8, 8
add r8, r9
mov rdx, qword [r8]
test rdx, rdx
je 0x180019adc
cmp byte [rdx + 0x8f], 0
je 0x180019adc
test dword [rdx + 0xc], 0x8000000
je 0x180019adc
mov rax, rdi
cmp r15, rdx
je 0x180019aea
cmp rax, rdx
je 0x180019aea
mov rax, qword [rax + 0x348]
test rax, rax
jne 0x180019a86
mov rax, qword [rdx + 0x348]
mov rcx, qword [rax + 0x350]
test rcx, rcx
je 0x180019adc
nop word [rax + rax]
mov rax, rdi
cmp r15, rcx
je 0x180019aee
cmp rax, rcx
je 0x180019aee
mov rax, qword [rax + 0x348]
test rax, rax
jne 0x180019ab8
mov rax, qword [rcx + 0x348]
mov rcx, qword [rax + 0x350]
test rcx, rcx
jne 0x180019ab0
sub r8, 0x30
sub r10, 1
jns 0x180019a64
xor ecx, ecx
mov edx, ecx
mov r8, qword [rdx + 0x350]
mov rdx, qword [r12 + 0x1bc8]
movsxd rax, dword [r12 + 0x1bc0]
mov r9, rdx
lea rcx, [rdx + rax*8]
cmp rdx, rcx
jae 0x180019b1f
cmp qword [r9], r15
je 0x180019b1f
add r9, 8
cmp r9, rcx
jb 0x180019b11
sub r9, rdx
mov rsi, rdx
sar r9, 3
cmp rdx, rcx
jae 0x180019b3e
nop
cmp qword [rsi], r8
je 0x180019b3e
add rsi, 8
cmp rsi, rcx
jb 0x180019b30
sub rsi, rdx
mov r10, rdx
sar rsi, 3
cmp r9d, esi
jge 0x180019b84
mov eax, esi
sub eax, r9d
dec eax
movsxd r8, eax
lea eax, [r9 + 1]
movsxd rcx, eax
movsxd rax, r9d
shl r8, 3
lea rdx, [rdx + rcx*8]
lea rcx, [r10 + rax*8]
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [r12 + 0x1bc8]
movsxd rcx, esi
mov qword [rax + rcx*8 - 8], r15
jmp 0x180019bb0
lea eax, [rsi + 1]
movsxd rbx, esi
movsxd rcx, eax
sub r9d, esi
movsxd r8, r9d
shl r8, 3
lea rdx, [rdx + rbx*8]
lea rcx, [r10 + rcx*8]
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [r12 + 0x1bc8]
mov qword [rax + rbx*8], r15
lea r15, [rdi + 0x20]
movss xmm1, dword [r14 + 0x1990]
xor eax, eax
cmp byte [r14 + 0xcc], al
xorps xmm0, xmm0
movaps xmm2, xmm1
mov dword [rbp + 8], 0xffffffff
mulss xmm1, dword [0x1800540f4]
mov r12d, eax
setne r12b
cmp byte [rdi + 0x91], 0
mulss xmm2, dword [0x180054148]
movups xmmword [rbp + 0x30], xmm0
movss xmm0, dword [rdi + 0x48]
addss xmm0, dword [0x180054144]
addss xmm1, xmm0
maxss xmm2, xmm1
cvttss2si eax, xmm2
movd xmm13, eax
cvtdq2ps xmm13, xmm13
jne 0x180019c4b
lea rax, [rbp + 0x20]
mov rcx, rdi
mov qword [rsp + 0x28], rax
lea r9d, [r12 + 1]
lea rax, [rbp + 0x30]
lea r8, [rbp + 8]
mov qword [rsp + 0x20], rax
lea rdx, [rbp]
call fcn.180016d20
test al, al
je 0x180019c4b
mov cl, 1
movzx edx, cl
jmp 0x180019c55
movzx edx, byte [rsp + 0x30]
movzx ecx, byte [rsp + 0x32]
cmp byte [rdi + 0x91], 0
movzx eax, byte [rbp + 8]
mov byte [rdi + 0x99], al
jne 0x180019da5
cmp qword [rsp + 0x68], 0
lea rax, [rsp + 0x48]
movss xmm2, dword [rdi + 0x1d8]
movss xmm3, dword [rdi + 0x1dc]
subss xmm2, dword [rdi + 0x1d0]
subss xmm3, dword [rdi + 0x1d4]
movss xmm4, dword [rdi + 0x24]
movss xmm5, dword [r15]
subss xmm4, xmm14
addss xmm2, dword [rdi + 0x84]
addss xmm3, dword [rdi + 0x88]
jne 0x180019cc3
mov qword [rsp + 0x48], 0
jmp 0x180019ceb
movss xmm0, dword [rdi + 0x40]
movss xmm1, dword [rdi + 0x44]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [rdi + 0x28]
addss xmm1, dword [rdi + 0x2c]
movss dword [rsp + 0x48], xmm0
movss dword [rsp + 0x4c], xmm1
movss xmm6, dword [rax]
movss xmm1, dword [rax + 4]
test dl, dl
jne 0x180019cfb
movaps xmm5, xmm2
test cl, cl
jne 0x180019d02
movaps xmm4, xmm3
bt r13d, 0xe
jb 0x180019d18
comiss xmm1, xmm4
jbe 0x180019d14
test r13b, 8
je 0x180019d18
xor cl, cl
jmp 0x180019d1a
mov cl, 1
mov byte [rdi + 0x8d], cl
lea rdx, [r14 + 0x15e4]
bt r13d, 0xf
jb 0x180019d61
test cl, cl
je 0x180019d38
movss xmm0, dword [rdx]
jmp 0x180019d3c
movaps xmm0, xmm15
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x180019d54
mov eax, r13d
and eax, 0x808
cmp eax, 0x800
je 0x180019d61
mov byte [rdi + 0x8c], 0
movaps xmm1, xmm15
jmp 0x180019d87
mov byte [rdi + 0x8c], 1
test cl, cl
jne 0x180019d83
comiss xmm1, xmm4
jbe 0x180019d7b
test r13b, 8
jne 0x180019d7b
mov cl, 1
jmp 0x180019d7d
xor cl, cl
mov byte [rdi + 0x8d], cl
movss xmm1, dword [rdx]
test cl, cl
je 0x180019d91
movss xmm0, dword [rdx]
jmp 0x180019d95
movaps xmm0, xmm15
movss dword [rdi + 0x84], xmm0
movss dword [rdi + 0x88], xmm1
mov esi, r13d
and esi, 0x5000000
cmp esi, 0x1000000
jne 0x180019dcd
cmp dword [rsp + 0x3c], 0x3000000
je 0x180019dcd
mov rax, qword [rsp + 0x58]
add rax, 0x210
jmp 0x180019dd1
lea rax, [rbp + 0x10]
test byte [rdi + 0xc], 1
movss xmm5, dword [rdi + 0x10]
movss xmm7, dword [rdi + 0x14]
movaps xmm3, xmm5
addss xmm3, dword [rdi + 0x18]
movups xmm6, xmmword [rax]
movaps xmm4, xmm7
addss xmm4, dword [rdi + 0x1c]
je 0x180019dfa
movaps xmm2, xmm15
jmp 0x180019e35
mov rdx, qword [0x18005f058]
mov rax, qword [rdi + 0x340]
movss xmm0, dword [rdx + 0x1994]
mulss xmm0, dword [rdi + 0x268]
test rax, rax
je 0x180019e25
mulss xmm0, dword [rax + 0x268]
movss xmm2, dword [rdx + 0x15b0]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm0, dword [rdi + 0x14]
addss xmm2, xmm7
movss dword [rsp + 0x4c], xmm0
movaps xmm1, xmm5
addss xmm1, dword [r15]
movss dword [rsp + 0x48], xmm5
mov eax, r13d
and eax, 0x401
movss dword [rsp + 0x54], xmm2
movss dword [rsp + 0x50], xmm1
movss dword [rdi + 0x1c0], xmm5
movaps xmm5, xmm6
movss dword [rdi + 0x1c4], xmm7
movss dword [rdi + 0x1c8], xmm3
movss dword [rdi + 0x1cc], xmm4
movaps xmm4, xmm6
movss xmm0, dword [rdi + 0x1c0]
shufps xmm5, xmm6, 0x55
maxss xmm0, xmm6
shufps xmm4, xmm6, 0xaa
maxss xmm7, xmm5
movss dword [rdi + 0x1c0], xmm0
movss dword [rdi + 0x1c4], xmm7
movaps xmm7, xmm6
movss xmm1, dword [rdi + 0x1c8]
movss xmm0, dword [rdi + 0x1cc]
minss xmm1, xmm4
shufps xmm7, xmm6, 0xff
minss xmm0, xmm7
movss dword [rdi + 0x1c8], xmm1
movss dword [rdi + 0x1cc], xmm0
movss xmm11, dword [rdi + 0x10]
movss xmm8, dword [rdi + 0x14]
movaps xmm9, xmm11
movss dword [rdi + 0x1d0], xmm11
movaps xmm10, xmm8
addss xmm10, xmm14
addss xmm9, dword [rdi + 0x18]
addss xmm8, dword [rdi + 0x1c]
movss dword [rdi + 0x1d4], xmm10
subss xmm9, dword [rdi + 0x84]
subss xmm8, dword [rdi + 0x88]
movss dword [rdi + 0x1d8], xmm9
movss dword [rdi + 0x1dc], xmm8
cmp eax, 1
jne 0x180019f4b
movss xmm12, dword [rdi + 0x4c]
jmp 0x180019f54
movss xmm12, dword [r14 + 0x15b8]
movss xmm2, dword [0x18005410c]
lea r15, [rdi + 0x1e0]
movss xmm0, dword [rdi + 0x40]
addss xmm11, xmm2
mulss xmm0, xmm2
addss xmm10, xmm2
lea r13, [rdi + 0x1e8]
xorps xmm1, xmm1
addss xmm9, xmm2
addss xmm8, xmm2
cvttss2si eax, xmm0
xorps xmm0, xmm0
addss xmm10, xmm12
subss xmm8, dword [rdi + 0x4c]
movaps xmm12, xmmword [rsp + 0x180]
cvtsi2ss xmm1, eax
maxss xmm1, dword [rdi + 0x4c]
addss xmm11, xmm1
subss xmm9, xmm1
cvttss2si eax, xmm11
xorps xmm11, xmm11
cvtsi2ss xmm11, eax
cvttss2si eax, xmm10
movss dword [r15], xmm11
cvtsi2ss xmm0, eax
cvttss2si eax, xmm9
movss dword [rdi + 0x1e4], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
cvttss2si eax, xmm8
movss dword [r13], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movss dword [rdi + 0x1ec], xmm0
movss xmm0, dword [r15 + 4]
comiss xmm5, xmm0
jbe 0x18001a012
movaps xmm1, xmm5
jmp 0x18001a019
movaps xmm1, xmm7
minss xmm1, xmm0
comiss xmm6, xmm11
jbe 0x18001a024
movaps xmm0, xmm6
jmp 0x18001a02c
movaps xmm0, xmm4
minss xmm0, xmm11
movss dword [r15], xmm0
movss dword [r15 + 4], xmm1
movss xmm0, dword [r15 + 0xc]
comiss xmm5, xmm0
ja 0x18001a049
minss xmm7, xmm0
movaps xmm5, xmm7
movss xmm0, dword [r15 + 8]
comiss xmm6, xmm0
jbe 0x18001a059
movaps xmm4, xmm6
jmp 0x18001a05d
minss xmm4, xmm0
movss dword [r15 + 8], xmm4
movss dword [r15 + 0xc], xmm5
movss xmm0, dword [rdi + 0x18]
comiss xmm0, xmm15
jbe 0x18001a088
test dword [rsp + 0x34], 0x2000040
jne 0x18001a088
mulss xmm0, dword [0x180054114]
jmp 0x18001a099
movss xmm0, dword [r14 + 0x1990]
mulss xmm0, dword [0x1800541bc]
cvttss2si eax, xmm0
mov rdx, rdi
lea rcx, [rbp - 0x70]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x240], xmm0
movss xmm0, dword [rdi + 0x1d8]
subss xmm0, dword [rdi + 0x1d0]
movss xmm1, dword [rdi + 0x40]
addss xmm1, xmm1
addss xmm1, dword [rdi + 0x28]
subss xmm1, xmm0
movaps xmm0, xmm15
maxss xmm0, xmm1
movss xmm1, dword [rdi + 0x44]
addss xmm1, xmm1
movss dword [rdi + 0x64], xmm0
movss xmm0, dword [rdi + 0x1dc]
subss xmm0, dword [rdi + 0x1d4]
addss xmm1, dword [rdi + 0x2c]
subss xmm1, xmm0
movaps xmm0, xmm15
maxss xmm0, xmm1
movss dword [rdi + 0x68], xmm0
call fcn.18001be10
mov rcx, qword [rdi + 0x270]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x5c], xmm0
movss dword [rdi + 0x60], xmm1
mov dword [rdi + 0x6c], 0x7f7fffff
mov dword [rdi + 0x70], 0x7f7fffff
mov rax, qword [r14 + 0x1988]
mov rdx, qword [rax + 0x40]
mov rdx, qword [rdx + 8]
call fcn.18002bb20
mov rcx, qword [0x18005f058]
movaps xmm0, xmm6
unpckhpd xmm0, xmm6
xor r9d, r9d
movq r8, xmm0
movq rdx, xmm6
mov rax, qword [rcx + 0x1c20]
mov byte [rax + 0x90], 1
mov rbx, qword [rcx + 0x1c20]
mov rcx, qword [rbx + 0x270]
call fcn.18002ba00
mov rax, qword [rbx + 0x270]
mov rcx, qword [rax + 0x60]
movsxd rdx, dword [rax + 0x58]
add rdx, rdx
movss xmm0, dword [rcx + rdx*8 - 0xc]
movss xmm1, dword [rcx + rdx*8 - 8]
movss xmm2, dword [rcx + rdx*8 - 4]
mov eax, dword [rcx + rdx*8 - 0x10]
mov dword [rbx + 0x210], eax
movss dword [rbx + 0x214], xmm0
movss dword [rbx + 0x218], xmm1
movss dword [rbx + 0x21c], xmm2
xor bl, bl
cmp esi, 0x1000000
jne 0x18001a299
cmp dword [rsp + 0x3c], 0x3000000
je 0x18001a299
mov r9, qword [rsp + 0x58]
movsxd rax, dword [r9 + 0x168]
cmp eax, 2
jl 0x18001a262
mov rcx, rax
mov rax, qword [r9 + 0x170]
mov rdx, qword [rax + rcx*8 - 0x10]
test rdx, rdx
je 0x18001a262
movss xmm1, dword [rdi + 0x14]
movss xmm5, dword [rdx + 0x14]
movaps xmm2, xmm1
movss xmm7, dword [rdx + 0x10]
movaps xmm0, xmm5
addss xmm0, dword [rdx + 0x1c]
movss xmm6, dword [rdi + 0x10]
movaps xmm3, xmm7
addss xmm3, dword [rdx + 0x18]
addss xmm2, dword [rdi + 0x1c]
movaps xmm4, xmm6
comiss xmm0, xmm1
addss xmm4, dword [rdi + 0x18]
jbe 0x18001a262
comiss xmm2, xmm5
jbe 0x18001a262
comiss xmm3, xmm6
jbe 0x18001a262
comiss xmm4, xmm7
jbe 0x18001a262
mov r8b, 1
jmp 0x18001a265
xor r8b, r8b
mov rdx, qword [rdi + 0x270]
movsxd rax, dword [rdx]
imul rcx, rax, 0x38
mov rax, qword [rdx + 8]
cmp dword [rcx + rax - 0x18], 0
jne 0x18001a299
mov rax, qword [r9 + 0x270]
cmp dword [rax + 0x20], 0
jle 0x18001a299
test r8b, r8b
jne 0x18001a299
mov bl, 1
mov qword [rdi + 0x270], rax
mov rax, qword [r14 + 0x1f88]
test rax, rax
jne 0x18001a2ac
mov rax, qword [r14 + 0x1e20]
mov esi, dword [rsp + 0x38]
test sil, sil
jne 0x18001a2cf
test rax, rax
je 0x18001a2ca
mov rax, qword [rax + 0x360]
cmp qword [rdi + 0x360], rax
je 0x18001a2cf
xor r8b, r8b
jmp 0x18001a2d2
mov r8b, 1
lea rax, [rbp + 0x30]
movss dword [rsp + 0x28], xmm13
lea r9d, [r12 + 1]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.180017c90
movaps xmm13, xmmword [rsp + 0x170]
test bl, bl
je 0x18001a30f
lea rax, [rdi + 0x278]
mov qword [rdi + 0x270], rax
mov r12d, dword [rsp + 0x34]
mov ecx, r12d
movss xmm5, dword [rdi + 0x38]
shr ecx, 3
not cl
and cl, 1
ucomiss xmm5, xmm15
jp 0x18001a36a
jne 0x18001a36a
movss xmm0, dword [rdi + 0x40]
mov eax, r12d
movss xmm1, dword [rdi + 0x18]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [rdi + 0x84]
cmp eax, 0x800
jne 0x18001a360
movss xmm7, dword [rdi + 0x28]
maxss xmm7, xmm1
jmp 0x18001a36d
movaps xmm7, xmm15
maxss xmm7, xmm1
jmp 0x18001a36d
movaps xmm7, xmm5
movss xmm4, dword [rdi + 0x3c]
ucomiss xmm4, xmm15
jp 0x18001a3b2
jne 0x18001a3b2
movss xmm0, dword [rdi + 0x44]
movss xmm1, dword [rdi + 0x1c]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, xmm14
subss xmm1, dword [rdi + 0x88]
test cl, cl
je 0x18001a3a8
movss xmm6, dword [rdi + 0x2c]
maxss xmm6, xmm1
jmp 0x18001a3b5
movaps xmm6, xmm15
maxss xmm6, xmm1
jmp 0x18001a3b5
movaps xmm6, xmm4
ucomiss xmm5, xmm15
movss xmm8, dword [rdi + 0x40]
xorps xmm2, xmm2
movss xmm10, dword [rdi + 0x5c]
movaps xmm1, xmm8
maxss xmm1, dword [rdi + 0x4c]
movss xmm0, dword [rdi + 0x1d0]
xorps xmm3, xmm3
movss xmm9, dword [rdi + 0x44]
subss xmm0, xmm10
movss xmm11, dword [rdi + 0x60]
addss xmm1, xmm0
movss xmm0, dword [rdi + 0x1d4]
subss xmm0, xmm11
cvttss2si eax, xmm1
movaps xmm1, xmm9
maxss xmm1, dword [rdi + 0x4c]
cvtsi2ss xmm3, eax
addss xmm1, xmm0
addss xmm7, xmm3
cvttss2si eax, xmm1
cvtsi2ss xmm2, eax
addss xmm6, xmm2
shufps xmm2, xmm2, 0
movss xmm2, xmm7
shufps xmm2, xmm2, 0x27
movss xmm2, xmm6
movss xmm6, dword [rdi + 0x14]
shufps xmm2, xmm2, 0x39
movss xmm2, xmm3
movss xmm3, dword [rdi + 0x10]
movups xmmword [rdi + 0x1f0], xmm2
movups xmmword [rdi + 0x200], xmm2
movaps xmm2, xmm6
movaps xmm1, xmm3
subss xmm2, xmm11
subss xmm1, xmm10
addss xmm2, xmm9
addss xmm1, xmm8
addss xmm2, xmm14
movss dword [rdi + 0x220], xmm1
movss dword [rdi + 0x224], xmm2
jp 0x18001a4a0
jne 0x18001a4a0
movss xmm5, dword [rdi + 0x18]
movaps xmm0, xmm8
addss xmm0, xmm8
subss xmm5, xmm0
subss xmm5, dword [rdi + 0x84]
ucomiss xmm4, xmm15
addss xmm5, xmm1
movss dword [rdi + 0x228], xmm5
jp 0x18001a4d3
jne 0x18001a4d3
movss xmm4, dword [rdi + 0x1c]
movaps xmm0, xmm9
addss xmm0, xmm9
subss xmm4, xmm0
subss xmm4, xmm14
subss xmm4, dword [rdi + 0x88]
movzx r8d, byte [rsp + 0x31]
addss xmm4, xmm2
cvtps2pd xmm2, xmm3
xor ebx, ebx
lea rcx, [rdi + 0x144]
movss dword [rdi + 0x22c], xmm4
movaps xmm0, xmm8
addss xmm0, xmm15
cvtps2pd xmm3, xmm6
subss xmm0, xmm10
cvtps2pd xmm1, xmm10
movss dword [rdi + 0x118], xmm0
mov qword [rdi + 0x11c], rbx
cvtps2pd xmm0, xmm8
addsd xmm2, xmm0
xorps xmm0, xmm0
subsd xmm2, xmm1
cvtps2pd xmm1, xmm11
addsd xmm2, xmm0
cvtps2pd xmm0, xmm9
addsd xmm3, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm14
subsd xmm3, xmm1
cvtpd2ps xmm1, xmm2
addsd xmm3, xmm0
movss dword [rdi + 0xe8], xmm1
cvtpd2ps xmm0, xmm3
movss dword [rdi + 0xec], xmm0
movss xmm0, dword [rdi + 0xe8]
movss xmm1, dword [rdi + 0xec]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
subsd xmm2, xmm0
subsd xmm3, xmm1
cvtpd2ps xmm2, xmm2
cvtpd2ps xmm0, xmm3
movss dword [rdi + 0x124], xmm2
movss dword [rdi + 0x128], xmm0
movss xmm1, dword [rdi + 0xe8]
movss xmm0, dword [rdi + 0xec]
movss dword [rdi + 0xd8], xmm1
movss dword [rdi + 0xdc], xmm0
movss dword [rdi + 0xe0], xmm1
movss dword [rdi + 0xe4], xmm0
movss dword [rdi + 0xf0], xmm1
movss dword [rdi + 0xf4], xmm0
movss dword [rdi + 0xf8], xmm1
movss dword [rdi + 0xfc], xmm0
mov qword [rdi + 0x108], rbx
mov qword [rdi + 0x100], rbx
mov qword [rdi + 0x110], rbx
mov dword [rdi + 0x12c], ebx
movzx eax, word [rdi + 0x132]
mov word [rdi + 0x130], ax
mov word [rdi + 0x132], bx
mov byte [rdi + 0x138], bl
movss xmm0, dword [rdi + 0x68]
comiss xmm0, xmm15
seta al
mov byte [rdi + 0x139], al
mov byte [rdi + 0x13a], bl
movss xmm1, dword [r14 + 0x15bc]
call fcn.180043870
movaps xmm14, xmmword [rsp + 0x160]
movaps xmm11, xmmword [rsp + 0x190]
movaps xmm10, xmmword [rsp + 0x1a0]
mov qword [rdi + 0x160], rbx
mov ecx, dword [rdi + 0x16c]
test ecx, ecx
jns 0x18001a688
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
mov edx, ecx
test eax, eax
lea rcx, [rdi + 0x168]
cmovg edx, eax
call fcn.180023310
xor ecx, ecx
lea rax, [rdi + 0x248]
mov dword [rdi + 0x168], ecx
mov qword [rdi + 0x178], rax
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x180], rcx
mov ecx, 1
mov dword [rdi + 0x18c], ecx
test rax, rax
je 0x18001a6c2
mov eax, dword [rax + 0x18c]
jmp 0x18001a6c4
mov eax, ecx
mov dword [rdi + 0x190], eax
lea rcx, [rdi + 0x1a0]
mov eax, dword [rdi + 0x240]
mov dword [rdi + 0x194], eax
mov dword [rdi + 0x198], 0xbf800000
call fcn.180023490
lea rcx, [rdi + 0x1b0]
call fcn.180023490
movzx eax, byte [rdi + 0xa8]
test al, al
jle 0x18001a70b
dec al
mov byte [rdi + 0xa8], al
movzx eax, byte [rdi + 0xa9]
test al, al
jle 0x18001a71e
dec al
mov byte [rdi + 0xa9], al
test sil, sil
je 0x18001a735
mov rcx, rdi
call fcn.18001aca0
xor edx, edx
mov rcx, rdi
call fcn.18001e4d0
movss xmm8, dword [rsp + 0x54]
movss xmm9, dword [rsp + 0x50]
movss xmm6, dword [rsp + 0x4c]
movss xmm7, dword [rsp + 0x48]
test r12b, 1
jne 0x18001a78f
mov r9, qword [rbp - 0x78]
lea rdx, [rbp + 0x10]
mov r8, qword [rbp - 0x80]
movaps xmm0, xmm7
addss xmm0, dword [rdi + 0x4c]
movaps xmm1, xmm9
movss dword [rbp + 0x14], xmm6
subss xmm1, dword [rdi + 0x4c]
mov rcx, rdi
movss dword [rbp + 0x1c], xmm8
movss dword [rbp + 0x10], xmm0
movss dword [rbp + 0x18], xmm1
call fcn.180018350
mov rbx, qword [0x18005f058]
xor eax, eax
mov dword [rdi + 0x230], eax
movss xmm1, dword [rbx + 0x15d4]
movss xmm0, dword [rbx + 0x15d8]
subss xmm7, xmm1
movaps xmm2, xmm1
subss xmm6, xmm0
movss xmm1, dword [rbx + 0x128]
addss xmm2, xmm9
movaps xmm9, xmmword [rsp + 0x1b0]
movaps xmm3, xmm0
addss xmm3, xmm8
movaps xmm8, xmmword [rsp + 0x1c0]
comiss xmm1, xmm7
movaps xmm7, xmmword [rsp + 0x1d0]
jb 0x18001a807
movss xmm0, dword [rbx + 0x12c]
comiss xmm0, xmm6
jb 0x18001a807
comiss xmm2, xmm1
jbe 0x18001a807
comiss xmm3, xmm0
lea edx, [rax + 1]
ja 0x18001a809
mov edx, eax
mov eax, dword [rdi + 0x54]
mov ecx, dword [r14 + 0x1cc0]
movups xmm0, xmmword [rsp + 0x48]
mov dword [rbx + 0x1cd8], eax
mov eax, dword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x1e0]
movups xmmword [rbx + 0x1ce4], xmm0
mov dword [rbx + 0x1cdc], ecx
mov dword [rbx + 0x1ce0], edx
jmp 0x18001a8d4
mov rbx, qword [0x18005f058]
mov qword [rbx + 0x1c20], rdi
movsxd rax, dword [rdi + 0x188]
cmp eax, 0xffffffff
je 0x18001a86c
imul rcx, rax, 0x208
add rcx, qword [rbx + 0x2098]
jmp 0x18001a870
xor eax, eax
mov ecx, eax
movss xmm0, dword [rbx + 0x1994]
mov qword [rbx + 0x2070], rcx
mov rax, qword [rdi + 0x340]
mulss xmm0, dword [rdi + 0x268]
test rax, rax
je 0x18001a89b
mulss xmm0, dword [rax + 0x268]
mov r12d, dword [rsp + 0x34]
lea r13, [rdi + 0x1e8]
mov eax, r12d
movss dword [rbx + 0x19a8], xmm0
and eax, 0x1000000
movss dword [rbx + 0x1990], xmm0
mov ecx, r12d
mov dword [rsp + 0x40], eax
and ecx, 0x40
lea r15, [rdi + 0x1e0]
mov dword [rsp + 0x70], ecx
test eax, eax
je 0x18001a8e5
mov rbx, qword [rsp + 0x58]
mov esi, dword [rbx + 0x134]
jmp 0x18001a945
movsxd rcx, dword [rdi + 0xc8]
xor edx, edx
mov rax, qword [rdi + 0xd0]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, str.FOCUSSCOPE
call fcn.18000ed50
mov esi, eax
cmp dword [rbx + 0x1c6c], eax
jne 0x18001a916
mov dword [rbx + 0x1c70], eax
cmp dword [rbx + 0x1ca8], eax
jne 0x18001a925
mov byte [rbx + 0x1cac], 1
cmp dword [rbx + 0x1c54], eax
jne 0x18001a940
lea r8, str.FOCUSSCOPE
mov edx, 0xb
mov ecx, eax
call fcn.1800228e0
mov rbx, qword [rsp + 0x58]
mov r8b, 1
mov dword [rdi + 0x134], esi
mov rdx, r13
mov rcx, r15
call fcn.180014300
mov r15, qword [rsp + 0x1f0]
xor eax, eax
mov r13, qword [rsp + 0x1f8]
mov rsi, qword [rsp + 0x248]
mov byte [rdi + 0x90], 0
inc word [rdi + 0x9a]
mov dword [r14 + 0x1d18], eax
mov eax, dword [rsp + 0x60]
cmp eax, dword [rsp + 0x64]
je 0x18001aaee
cmp dword [rsp + 0x40], 0
je 0x18001aa5b
cmp dword [rsp + 0x70], 0
jne 0x18001aa24
cmp byte [rdi + 0xa8], 0
jg 0x18001aa24
cmp byte [rdi + 0xa9], 0
jg 0x18001aa24
bt r12d, 0x17
jae 0x18001a9eb
cmp byte [r14 + 0x1e64], 0
je 0x18001a9eb
mov rcx, qword [r14 + 0x1e20]
test rcx, rcx
je 0x18001a9eb
mov rax, qword [rdi + 0x368]
cmp qword [rcx + 0x368], rax
jne 0x18001a9eb
mov al, 1
jmp 0x18001a9ed
xor al, al
cmp byte [r14 + 0x312c], 0
jne 0x18001aa24
test al, al
jne 0x18001aa24
movss xmm0, dword [rdi + 0x1c0]
comiss xmm0, dword [rdi + 0x1c8]
jae 0x18001aa1d
movss xmm0, dword [rdi + 0x1c4]
comiss xmm0, dword [rdi + 0x1cc]
jb 0x18001aa24
mov byte [rdi + 0xb0], 1
test rbx, rbx
je 0x18001aa5b
cmp byte [rbx + 0x91], 0
jne 0x18001aa3b
cmp byte [rbx + 0xb0], 0
jle 0x18001aa42
mov byte [rdi + 0xb0], 1
cmp byte [rbx + 0x91], 0
jne 0x18001aa54
cmp byte [rbx + 0xb1], 0
jle 0x18001aa5b
mov byte [rdi + 0xb1], 1
comiss xmm15, dword [r14 + 0x1570]
jb 0x18001aa6c
mov byte [rdi + 0xb0], 1
cmp byte [rdi + 0xb0], 0
jg 0x18001aa8c
cmp byte [rdi + 0xb1], 0
jg 0x18001aa8c
xor cl, cl
cmp byte [rdi + 0xb2], cl
jg 0x18001aa8e
xor al, al
jmp 0x18001aa90
mov cl, 1
mov al, 1
mov byte [rdi + 0x95], al
movzx eax, byte [rdi + 0xb3]
test al, al
jle 0x18001aab0
dec al
mov byte [rdi + 0xb3], al
or dword [rdi + 0xc], 0xc0200
xor al, al
cmp byte [rdi + 0x91], al
jne 0x18001aac6
cmp byte [rdi + 0x8e], al
je 0x18001aac6
test cl, cl
je 0x18001aae8
cmp byte [rdi + 0xa8], al
jg 0x18001aae8
cmp byte [rdi + 0xa9], al
jg 0x18001aae8
cmp byte [rdi + 0xb1], 0
mov edx, 1
movzx eax, al
cmovle eax, edx
mov byte [rdi + 0x93], al
cmp byte [rdi + 0x93], 0
sete al
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.18004ad00
movaps xmm15, xmmword [rsp + 0x150]
add rsp, 0x200
pop r14
pop r12
pop rdi
pop rbx
pop rbp
ret