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

Disassembly:
mov r11, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r14
lea rbp, [r11 - 0xd8]
sub rsp, 0x1a8
movaps xmmword [r11 - 0xb8], xmm13
mov rax, qword [0x18007a020]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, qword [0x1800a3fa0]
mov ebx, r8d
mov qword [r11 + 0x20], r13
mov r14, rcx
mov qword [r11 - 0x38], r15
mov qword [rbp - 0x58], rdx
mov qword [rbp - 0x70], rcx
call fcn.1800163a0
test rax, rax
mov qword [rsp + 0x48], rax
mov rdi, rax
sete byte [rsp + 0x30]
test rax, rax
jne 0x180018ab3
mov edx, ebx
mov rcx, r14
call fcn.180016470
mov rdi, rax
mov r13d, dword [rsi + 0x1b90]
mov ecx, ebx
mov r12d, dword [rdi + 0x278]
mov r14d, ebx
or r14d, 6
mov dword [rsp + 0x68], r13d
and ecx, 0xc0200
mov dword [rsp + 0x64], r12d
cmp ecx, 0xc0200
cmovne r14d, ebx
lea rbx, [rsi + 0x1be0]
cmp dword [rbx], 0
jne 0x180018afd
cmp byte [rsi + 0x1b9d], 0
je 0x180018afd
mov al, 1
jmp 0x180018aff
xor al, al
mov byte [rdi + 0x96], al
lea eax, [r13 - 1]
cmp r12d, eax
setl r8b
mov byte [rsp + 0x31], r8b
bt r14d, 0x1a
jae 0x180018b4e
movsxd rax, dword [rsi + 0x1da8]
lea rdx, [rax + rax*2]
shl rdx, 4
add rdx, qword [rsi + 0x1da0]
cmp rdi, qword [rdx + 8]
mov eax, dword [rdx]
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 0x180018b6f
or byte [rdi + 0xb4], 8
or byte [rdi + 0xb5], 8
or byte [rdi + 0xb6], 8
xor ecx, ecx
cmp r12d, r13d
je 0x180018bb2
mov dword [rdi + 0xc], r14d
mov dword [rdi + 0x278], r13d
movsd xmm0, qword [rsi + 0x1b88]
mov word [rdi + 0x9c], cx
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x27c], xmm0
movzx eax, word [rsi + 0x1c00]
inc dword [rsi + 0x1c00]
mov word [rdi + 0x9e], ax
jmp 0x180018bb6
mov r14d, dword [rdi + 0xc]
movsxd rax, dword [rbx]
test eax, eax
jne 0x180018bc2
mov rax, rcx
jmp 0x180018bd3
mov rcx, rax
mov rax, qword [rsi + 0x1be8]
mov rax, qword [rax + rcx*8 - 8]
xor ecx, ecx
cmp r12d, r13d
je 0x180018bea
test r14d, 0x5000000
cmovne rcx, rax
mov qword [rsp + 0x58], rcx
jmp 0x180018bf6
mov rax, qword [rdi + 0x380]
mov qword [rsp + 0x58], rax
cmp dword [rdi + 0xc8], 0
jne 0x180018c0f
lea rdx, [rdi + 8]
lea rcx, [rdi + 0xc8]
call fcn.180022700
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x180018c43
inc r8d
test ecx, ecx
je 0x180018c2c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180018c31
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.180022580
movsxd rcx, dword [rbx]
xor r10d, r10d
mov rax, qword [rbx + 8]
mov rdx, qword [0x1800a3fa0]
mov qword [rax + rcx*8], rdi
inc dword [rbx]
mov qword [rsi + 0x1c10], rdi
mov rax, qword [rdx + 0x1c10]
movzx ecx, word [rax + 0xc8]
mov word [rdi + 0x1f0], cx
movzx eax, word [rdx + 0x1d38]
mov word [rdi + 0x1f2], ax
movzx eax, word [rdx + 0x1d48]
mov word [rdi + 0x1f4], ax
movzx eax, word [rdx + 0x1d58]
mov word [rdi + 0x1f6], ax
movzx eax, word [rdx + 0x1d68]
mov word [rdi + 0x1f8], ax
movzx eax, word [rdx + 0x1d88]
mov word [rdi + 0x1fa], ax
movzx eax, word [rdx + 0x1da8]
mov word [rdi + 0x1fc], ax
mov eax, r14d
and eax, 0x4000000
mov qword [rsi + 0x1c10], r10
mov dword [rsp + 0x34], eax
je 0x180018d0f
lea rcx, [rsi + 0x1da8]
movsxd rax, dword [rcx]
lea rbx, [rax + rax*2]
shl rbx, 4
add rbx, qword [rsi + 0x1da0]
mov rdx, rbx
mov qword [rbx + 8], rdi
call fcn.180022230
mov eax, dword [rbx]
xor r10d, r10d
mov dword [rdi + 0xa4], eax
mov rbx, qword [rsp + 0x58]
cmp r12d, r13d
je 0x180018daa
mov qword [rdi + 0x380], rbx
mov qword [rdi + 0x398], rdi
mov qword [rdi + 0x390], rdi
mov qword [rdi + 0x388], rdi
test rbx, rbx
je 0x180018d79
mov eax, r14d
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x180018d5b
mov rax, qword [rbx + 0x388]
mov qword [rdi + 0x388], rax
bt r14d, 0x1b
jb 0x180018d79
test r14d, 0x5000000
je 0x180018d79
mov rax, qword [rbx + 0x390]
mov qword [rdi + 0x390], rax
test dword [rdi + 0xc], 0x800000
je 0x180018daa
mov rcx, rdi
nop word [rax + rax]
mov rax, qword [rcx + 0x380]
mov qword [rdi + 0x398], rax
mov rcx, rax
test dword [rax + 0xc], 0x800000
jne 0x180018d90
xor dl, dl
xor r12b, r12b
xor r13b, r13b
mov byte [rsp + 0x33], dl
test byte [rsi + 0x1cb0], 1
je 0x180018e52
mov r8d, dword [rsi + 0x1cb4]
movzx ecx, byte [rdi + 0xb4]
movsx eax, cl
test r8d, eax
setne dl
mov byte [rsp + 0x33], dl
test r8d, eax
je 0x180018e43
movss xmm0, dword [rsi + 0x1ccc]
movss xmm1, dword [rsi + 0x1cc8]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x18006da50]
jbe 0x180018e43
movsd xmm0, qword [rsi + 0x1cc0]
and ecx, 0xf1
mov eax, dword [rdi + 0xb4]
and eax, 0xffffff00
movsd qword [rdi + 0xb8], xmm0
movsd xmm1, qword [rsi + 0x1cc8]
or ecx, eax
mov dword [rdi + 0xb4], ecx
movsd qword [rdi + 0xc0], xmm1
jmp 0x180018e52
lea rdx, [rsi + 0x1cc0]
mov rcx, rdi
call fcn.18001b260
test byte [rsi + 0x1cb0], 2
xorps xmm13, xmm13
je 0x180018ea5
movsx eax, byte [rdi + 0xb5]
lea rdx, [rsi + 0x1cd0]
mov r8d, dword [rsi + 0x1cb8]
and eax, r8d
je 0x180018e88
movss xmm0, dword [rdx]
comiss xmm0, xmm13
jbe 0x180018e88
mov r12b, 1
jmp 0x180018e8c
test eax, eax
je 0x180018e9d
movss xmm0, dword [rsi + 0x1cd4]
comiss xmm0, xmm13
jbe 0x180018e9d
mov r13b, 1
mov rcx, rdi
call fcn.18001b390
test byte [rsi + 0x1cb0], 0x80
je 0x180018edc
movss xmm0, dword [rsi + 0x1ce0]
comiss xmm0, xmm13
jb 0x180018ec5
movss dword [rdi + 0x6c], xmm0
mov dword [rdi + 0x74], r10d
movss xmm0, dword [rsi + 0x1ce4]
comiss xmm0, xmm13
jb 0x180018edc
movss dword [rdi + 0x70], xmm0
mov dword [rdi + 0x78], r10d
test byte [rsi + 0x1cb0], 4
je 0x180018ef4
movsd xmm0, qword [rsi + 0x1cd8]
movsd qword [rdi + 0x38], xmm0
jmp 0x180018f06
mov eax, dword [rsp + 0x64]
cmp eax, dword [rsp + 0x68]
je 0x180018f06
mov qword [rdi + 0x38], 0
test byte [rsi + 0x1cb0], 8
je 0x180018f54
mov ecx, dword [rsi + 0x1cbc]
movzx edx, byte [rsi + 0x1ce8]
test ecx, ecx
je 0x180018f2b
movsx eax, byte [rdi + 0xb6]
test ecx, eax
je 0x180018f54
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 [rsi + 0x1cb0], 0x20
je 0x180018f65
mov rcx, rdi
call fcn.18001ada0
cmp byte [rdi + 0x94], 0
je 0x180018f83
and byte [rdi + 0xb4], 0xf7
and byte [rdi + 0xb5], 0xf7
and byte [rdi + 0xb6], 0xf7
mov eax, dword [rsp + 0x64]
mov ecx, 1
cmp eax, dword [rsp + 0x68]
je 0x18001aa39
movaps xmmword [rsp + 0x190], xmm6
mov eax, r14d
movaps xmmword [rsp + 0x180], xmm7
and eax, 0x3000000
cmp qword [rbp - 0x58], 0
mov edx, ecx
movaps xmmword [rsp + 0x170], xmm8
movaps xmmword [rsp + 0x160], xmm9
movaps xmmword [rsp + 0x150], xmm10
movaps xmmword [rsp + 0x140], xmm11
movaps xmmword [rsp + 0x130], xmm12
movaps xmmword [rsp + 0x110], xmm14
mov byte [rdi + 0x8e], cl
lea rcx, [rdi + 0xc8]
movaps xmmword [rsp + 0x100], xmm15
mov dword [rsp + 0x3c], eax
setne al
mov byte [rdi + 0x97], al
mov dword [rdi + 0x250], 0xff7fffff
mov dword [rdi + 0x254], 0xff7fffff
mov dword [rdi + 0x258], 0x7f7fffff
mov dword [rdi + 0x25c], 0x7f7fffff
call fcn.180022970
mov rcx, qword [rdi + 0x2b0]
call fcn.18002a370
cmp byte [rdi + 0x3d8], 0
mov dword [rdi + 0x1b0], 0xffffffff
je 0x180019096
mov rcx, qword [rdi + 0x2b0]
mov edx, dword [rdi + 0x3d0]
add rcx, 0x10
mov byte [rdi + 0x3d8], 0
call fcn.180022c90
mov rcx, qword [rdi + 0x2b0]
mov edx, dword [rdi + 0x3d4]
add rcx, 0x20
call fcn.180022a50
xor eax, eax
mov qword [rdi + 0x3d0], rax
cmp qword [rsi + 0x1f08], 0
mov r9, qword [rsp + 0x48]
je 0x180019163
test dword [rdi + 0xc], 0x80000
jne 0x180019163
test r9, r9
je 0x180019163
mov r10, qword [rbp - 0x70]
mov r9, qword [rdi]
mov rax, r10
mov r8, r9
sub r8, r10
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1800190e3
inc rax
test ecx, ecx
jne 0x1800190d0
test edx, edx
je 0x18001915e
movsxd r15, dword [rdi + 0x50]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r10 + rbx], 0
jne 0x1800190f2
inc rbx
cmp r15, rbx
jae 0x180019149
test r9, r9
je 0x18001911b
mov rax, qword [0x1800a3fa0]
test rax, rax
je 0x18001911b
dec dword [rax + 0x3b4]
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x1800a3fa0]
test rax, rax
je 0x180019136
inc dword [rax + 0x3b4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r10, qword [rbp - 0x70]
mov r15, rbx
mov r9, rax
mov r8, rbx
mov rdx, r10
mov rcx, r9
call sub.VCRUNTIME140.dll_memcpy
mov qword [rdi], rax
mov dword [rdi + 0x50], r15d
mov r9, qword [rsp + 0x48]
movzx eax, byte [rdi + 0xb1]
lea r8, [rdi + 0x30]
lea rdx, [rdi + 0x28]
mov byte [rsp + 0x38], al
mov rcx, rdi
call fcn.180016b00
movzx eax, byte [rdi + 0xb0]
test al, al
jle 0x180019191
dec al
mov byte [rdi + 0xb0], al
movzx eax, byte [rdi + 0xb1]
test al, al
jle 0x1800191a4
dec al
mov byte [rdi + 0xb1], al
movzx eax, byte [rdi + 0xb2]
test al, al
jle 0x1800191b7
dec al
mov byte [rdi + 0xb2], al
test r9, r9
jne 0x1800191cd
test r12b, r12b
je 0x1800191c6
test r13b, r13b
jne 0x1800191cd
mov byte [rdi + 0xb1], 1
xor r9d, r9d
cmp byte [rsp + 0x31], r9b
je 0x180019215
test r14d, 0x6000000
je 0x180019215
mov byte [rdi + 0xb1], 1
test r14b, 0x40
je 0x180019215
test r12b, r12b
jne 0x1800191fa
mov dword [rdi + 0x20], r9d
mov dword [rdi + 0x18], r9d
test r13b, r13b
jne 0x180019207
mov dword [rdi + 0x24], r9d
mov dword [rdi + 0x1c], r9d
mov qword [r8], 0
mov qword [rdx], 0
mov rcx, qword [0x1800a3fa0]
mov qword [rcx + 0x1c10], rdi
movsxd rax, dword [rdi + 0x1b0]
cmp eax, 0xffffffff
je 0x18001923f
imul rdx, rax, 0x1e8
add rdx, qword [rcx + 0x2008]
jmp 0x180019242
mov rdx, r9
movss xmm0, dword [rcx + 0x1984]
mov qword [rcx + 0x1ff0], rdx
mov rax, qword [rdi + 0x380]
mulss xmm0, dword [rdi + 0x2a8]
test rax, rax
je 0x18001926d
mulss xmm0, dword [rax + 0x2a8]
mov eax, r14d
movss dword [rcx + 0x1998], xmm0
and eax, 0x1000000
movss dword [rcx + 0x1980], xmm0
mov dword [rsp + 0x50], eax
je 0x180019295
movss xmm1, dword [rsi + 0x158c]
jmp 0x1800192b7
test r14d, 0x6000000
je 0x1800192af
bt r14d, 0x1b
jb 0x1800192af
movss xmm1, dword [rsi + 0x1594]
jmp 0x1800192b7
movss xmm1, dword [rsi + 0x1570]
movss dword [rdi + 0x4c], xmm1
mov eax, r14d
movsd xmm0, qword [rsi + 0x1564]
and eax, 0x5010000
movsd qword [rdi + 0x40], xmm0
cmp eax, 0x1000000
jne 0x1800192fe
ucomiss xmm1, xmm13
jp 0x1800192fe
jne 0x1800192fe
bt r14d, 0xa
jae 0x1800192f1
movss xmm0, dword [rsi + 0x1568]
jmp 0x1800192f5
movaps xmm0, xmm13
movss dword [rdi + 0x44], xmm0
mov dword [rdi + 0x40], r9d
movss xmm0, dword [rdi + 0x40]
maxss xmm0, dword [rsi + 0x15a8]
maxss xmm0, dword [rsi + 0x1d14]
movss dword [rdi + 0x15c], xmm0
mov eax, dword [rsi + 0x1d18]
mov dword [rdi + 0x160], eax
test r14b, 0x21
jne 0x18001945f
mov edx, dword [rdi + 0xc]
test dl, 1
je 0x18001933f
movaps xmm2, xmm13
jmp 0x180019373
mov rax, qword [rdi + 0x380]
movss xmm0, dword [rcx + 0x1984]
mulss xmm0, dword [rdi + 0x2a8]
test rax, rax
je 0x180019363
mulss xmm0, dword [rax + 0x2a8]
movss xmm2, dword [rcx + 0x159c]
addss xmm2, xmm2
addss xmm2, xmm0
lea rbx, [rdi + 0x20]
movss xmm4, dword [rdi + 0x10]
movaps xmm3, xmm4
movss xmm5, dword [rdi + 0x14]
addss xmm3, dword [rbx]
addss xmm2, dword [rdi + 0x14]
cmp qword [rsi + 0x1c18], rdi
jne 0x18001942b
cmp dword [rsi + 0x1c48], 0
jne 0x18001942b
cmp dword [rsi + 0x1c4c], 0
jne 0x18001942b
mov rax, qword [rcx + 0x1c10]
movss xmm1, dword [rcx + 0x15c0]
movss xmm0, dword [rcx + 0x15c4]
maxss xmm4, dword [rax + 0x250]
minss xmm3, dword [rax + 0x258]
maxss xmm5, dword [rax + 0x254]
minss xmm2, dword [rax + 0x25c]
subss xmm4, xmm1
addss xmm3, xmm1
movss xmm1, dword [rcx + 0x128]
subss xmm5, xmm0
addss xmm2, xmm0
comiss xmm1, xmm4
jb 0x18001942b
movss xmm0, dword [rcx + 0x12c]
comiss xmm0, xmm5
jb 0x18001942b
comiss xmm3, xmm1
jbe 0x18001942b
comiss xmm2, xmm0
jbe 0x18001942b
cmp byte [rsi + 0x425], 0
je 0x18001942b
mov byte [rdi + 0x92], 1
cmp byte [rdi + 0x92], 0
je 0x18001946a
cmp byte [rdi + 0x91], 0
sete al
mov byte [rdi + 0x91], al
bt edx, 8
jb 0x18001946a
comiss xmm13, dword [rcx + 0x3034]
jb 0x18001946a
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x3034], eax
jmp 0x18001946a
mov byte [rdi + 0x91], 0
lea rbx, [rdi + 0x20]
mov rdx, rdi
mov byte [rdi + 0x92], 0
lea rcx, [rbp - 0x40]
call fcn.180016c10
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x32], al
mov eax, r14d
and eax, 0x40
mov dword [rbp - 0x74], eax
je 0x1800194c8
cmp byte [rdi + 0x91], 0
jne 0x1800194c8
test r12b, r12b
jne 0x1800194ad
movss xmm0, dword [rbp - 0x40]
movss dword [rbx], xmm0
mov byte [rsp + 0x30], 1
test r13b, r13b
jne 0x180019579
movss xmm0, dword [rbp - 0x3c]
mov r12b, 1
movss dword [rdi + 0x24], xmm0
jmp 0x18001957f
movzx eax, byte [rdi + 0xa8]
test al, al
jg 0x1800194e0
cmp byte [rdi + 0xa9], 0
jle 0x180019579
test r12b, r12b
jne 0x18001950b
test al, al
jle 0x18001950b
cmp byte [rdi + 0xab], r12b
je 0x1800194fd
movss xmm0, dword [rbx]
maxss xmm0, dword [rbp - 0x40]
jmp 0x180019502
movss xmm0, dword [rbp - 0x40]
movss dword [rbx], xmm0
mov byte [rsp + 0x30], 1
test r13b, r13b
jne 0x180019545
cmp byte [rdi + 0xa9], r13b
jle 0x180019545
cmp byte [rdi + 0xab], r13b
je 0x180019536
movss xmm0, dword [rdi + 0x24]
mov r12b, 1
maxss xmm0, dword [rbp - 0x3c]
movss dword [rdi + 0x24], xmm0
jmp 0x18001954b
movss xmm0, dword [rbp - 0x3c]
mov r12b, 1
movss dword [rdi + 0x24], xmm0
jmp 0x18001954b
movzx r12d, byte [rsp + 0x32]
cmp byte [rdi + 0x91], 0
jne 0x18001957f
test dword [rdi + 0xc], 0x100
mov rcx, qword [0x1800a3fa0]
jne 0x18001957f
comiss xmm13, dword [rcx + 0x3034]
jb 0x18001957f
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x3034], eax
jmp 0x18001957f
movzx r12d, byte [rsp + 0x32]
mov r8, rbx
lea rcx, [rsp + 0x78]
mov rdx, rdi
call fcn.1800168b0
cmp byte [rdi + 0x91], 0
mov r15, qword [0x1800a3fa0]
mov edx, dword [rsp + 0x50]
movss xmm2, dword [rax]
movss xmm0, dword [rax + 4]
movss dword [rbx], xmm2
movss dword [rbx + 4], xmm0
je 0x18001961d
test edx, edx
jne 0x18001961d
test byte [rdi + 0xc], 1
je 0x1800195c5
movaps xmm1, xmm13
jmp 0x1800195fb
mov rax, qword [rdi + 0x380]
movss xmm0, dword [r15 + 0x1984]
mulss xmm0, dword [rdi + 0x2a8]
test rax, rax
je 0x1800195ea
mulss xmm0, dword [rax + 0x2a8]
movss xmm1, dword [r15 + 0x159c]
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 + 0x40], xmm2
movss dword [rsp + 0x44], xmm1
jmp 0x180019627
movsd xmm0, qword [rbx]
movsd qword [rsp + 0x40], xmm0
mov ecx, dword [rdi + 0xc]
lea rax, [rsp + 0x40]
movsd xmm0, qword [rax]
movsd qword [rdi + 0x18], xmm0
test cl, 1
je 0x180019643
movaps xmm1, xmm13
jmp 0x180019679
mov rax, qword [rdi + 0x380]
movss xmm0, dword [r15 + 0x1984]
mulss xmm0, dword [rdi + 0x2a8]
test rax, rax
je 0x180019668
mulss xmm0, dword [rax + 0x2a8]
movss xmm1, dword [r15 + 0x159c]
addss xmm1, xmm1
addss xmm1, xmm0
bt ecx, 0xa
jae 0x1800196c1
mov rax, qword [rdi + 0x380]
movss xmm0, dword [r15 + 0x1984]
mulss xmm0, dword [rdi + 0x2a8]
test rax, rax
je 0x1800196a4
mulss xmm0, dword [rax + 0x2a8]
movss xmm14, dword [r15 + 0x159c]
addss xmm0, dword [rdi + 0x160]
addss xmm14, xmm14
addss xmm14, xmm0
jmp 0x1800196c5
movaps xmm14, xmm13
cmp byte [rsp + 0x31], 0
addss xmm14, xmm1
movzx r13d, byte [rsp + 0x33]
je 0x180019720
mov eax, r14d
mov dword [rdi + 0xac], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x180019720
test r13b, r13b
jne 0x180019720
movsxd rax, dword [rsi + 0x1da8]
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x1db0]
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 edx, edx
je 0x1800197be
mov rdx, qword [rsp + 0x58]
lea rbx, [rdx + 0x190]
movzx eax, word [rbx]
mov word [rdi + 0x9c], ax
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x18001977e
inc r8d
test ecx, ecx
je 0x18001975b
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180019760
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.180022580
mov rdx, qword [rsp + 0x58]
mov r15, qword [0x1800a3fa0]
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov r8d, dword [rsp + 0x34]
mov qword [rax + rcx*8], rdi
inc dword [rbx]
mov eax, dword [rsp + 0x3c]
test r8d, r8d
jne 0x1800197b8
test r13b, r13b
jne 0x1800197b8
lea rbx, [rdi + 0x20]
cmp eax, 0x3000000
je 0x1800197c7
movsd xmm0, qword [rdx + 0xd8]
movsd qword [rdi + 0x10], xmm0
jmp 0x1800197c7
lea rbx, [rdi + 0x20]
jmp 0x1800197c7
mov r8d, dword [rsp + 0x34]
mov eax, dword [rsp + 0x3c]
movss xmm1, dword [rdi + 0xb8]
ucomiss xmm1, dword [0x18006dbc4]
jp 0x1800197da
je 0x18001982b
cmp byte [rdi + 0xb1], 0
jne 0x18001982b
movss xmm0, dword [rdi + 0xc0]
lea rdx, [rsp + 0x40]
mulss xmm0, dword [rdi + 0x18]
xor r8d, r8d
mov rcx, rdi
subss xmm1, xmm0
movss xmm0, dword [rdi + 0xbc]
movss dword [rsp + 0x40], xmm1
movss xmm1, dword [rdi + 0xc4]
mulss xmm1, dword [rdi + 0x1c]
subss xmm0, xmm1
movss dword [rsp + 0x44], xmm0
call fcn.18001b260
jmp 0x180019875
bt r14d, 0x1c
jb 0x180019856
test r8d, r8d
je 0x180019843
test r13b, r13b
jne 0x180019843
cmp byte [rsp + 0x38], r13b
jg 0x180019856
bt r14d, 0x19
jae 0x18001987a
test r13b, r13b
jne 0x18001987a
cmp eax, 0x3000000
je 0x18001987a
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.18001d050
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax]
movss dword [rdi + 0x10], xmm0
movss dword [rdi + 0x14], xmm1
mov r8d, dword [rsp + 0x34]
mov rax, qword [r15 + 0x1dc0]
movss xmm3, dword [rsi + 0x1608]
movss xmm2, dword [rsi + 0x1604]
maxss xmm3, dword [rsi + 0x1610]
mov rcx, qword [rax]
maxss xmm2, dword [rsi + 0x160c]
movss xmm8, dword [rcx + 4]
movss xmm7, dword [rcx + 8]
movaps xmm15, xmm8
movss xmm0, dword [rcx + 0x14]
movaps xmm6, xmm7
movss xmm1, dword [rcx + 0x18]
movaps xmm5, xmm0
movss dword [rsp + 0x6c], xmm8
movaps xmm4, xmm1
movss dword [rbp - 0x50], xmm8
movss dword [rsp + 0x70], xmm7
movss dword [rbp - 0x4c], xmm7
addss xmm6, dword [rcx + 0x10]
addss xmm5, dword [rcx + 0x1c]
addss xmm4, dword [rcx + 0x20]
addss xmm15, dword [rcx + 0xc]
mov ecx, dword [rsp + 0x50]
movss dword [rsp + 0x34], xmm6
movss dword [rbp - 0x44], xmm6
subss xmm5, xmm2
subss xmm4, xmm3
movss dword [rbp - 0x48], xmm15
addss xmm2, xmm0
addss xmm3, xmm1
movss dword [rbp - 0x28], xmm5
movss dword [rbp - 0x24], xmm4
movss dword [rbp - 0x30], xmm2
movss dword [rbp - 0x2c], xmm3
test r13b, r13b
jne 0x1800199f6
test ecx, ecx
jne 0x1800199f6
cmp byte [rdi + 0xa8], r13b
jg 0x1800199f6
cmp byte [rdi + 0xa9], r13b
jg 0x1800199f6
movaps xmm0, xmm15
subss xmm0, xmm8
comiss xmm0, xmm13
jbe 0x1800199f6
movaps xmm0, xmm6
subss xmm0, xmm7
comiss xmm0, xmm13
jbe 0x1800199f6
movss xmm0, dword [rdi + 0x1c]
cmp byte [r15 + 0xcd], r13b
je 0x1800199c1
test byte [rdi + 0xc], 1
jne 0x1800199c1
mov rax, qword [rdi + 0x380]
movss xmm1, dword [r15 + 0x1984]
mulss xmm1, dword [rdi + 0x2a8]
test rax, rax
je 0x1800199b0
mulss xmm1, dword [rax + 0x2a8]
movss xmm0, dword [r15 + 0x159c]
addss xmm0, xmm0
addss xmm0, xmm1
subss xmm2, dword [rdi + 0x18]
subss xmm3, xmm0
movss xmm0, dword [rdi + 0x14]
comiss xmm3, xmm0
ja 0x1800199db
movaps xmm3, xmm4
minss xmm3, xmm0
movss xmm0, dword [rdi + 0x10]
comiss xmm2, xmm0
ja 0x1800199ec
movaps xmm2, xmm5
minss xmm2, xmm0
movss dword [rdi + 0x10], xmm2
movss dword [rdi + 0x14], xmm3
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 0x180019a26
movss xmm2, dword [rsi + 0x1588]
jmp 0x180019a47
mov eax, r14d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x180019a3f
movss xmm2, dword [rsi + 0x1590]
jmp 0x180019a47
movss xmm2, dword [rsi + 0x156c]
xor dl, dl
movss dword [rdi + 0x48], xmm2
mov dword [rsp + 0x60], edx
cmp byte [rsp + 0x31], dl
je 0x180019a84
bt r14d, 0xc
jb 0x180019a84
mov r13d, dword [rsp + 0x3c]
test r8d, r8d
je 0x180019a70
mov byte [rsp + 0x60], 1
jmp 0x180019a89
test r13d, r13d
movzx edx, dl
mov ecx, 1
cmove edx, ecx
mov dword [rsp + 0x60], edx
jmp 0x180019a89
mov r13d, dword [rsp + 0x3c]
addss xmm2, dword [0x18006dac8]
xorps xmm0, xmm0
mov dword [rbp - 0x38], 0xffffffff
movups xmmword [rbp - 0x20], xmm0
xor ecx, ecx
movss xmm0, dword [rsi + 0x1980]
cmp byte [rsi + 0xcc], cl
movaps xmm1, xmm0
mulss xmm0, dword [0x18006da78]
setne cl
mulss xmm1, dword [0x18006dacc]
inc ecx
cmp byte [rdi + 0x91], 0
addss xmm2, xmm0
mov dword [rsp + 0x40], ecx
maxss xmm1, xmm2
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp - 0x78], xmm0
jne 0x180019b25
lea rax, [rbp - 0x30]
mov r9d, ecx
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x38]
lea rax, [rbp - 0x20]
mov rcx, rdi
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x20], rax
call fcn.180017010
mov r15, qword [0x1800a3fa0]
test al, al
je 0x180019b25
mov r12b, 1
movzx ecx, r12b
jmp 0x180019b2a
movzx ecx, byte [rsp + 0x30]
cmp byte [rdi + 0x91], 0
movzx eax, byte [rbp - 0x38]
mov byte [rdi + 0x98], al
jne 0x180019c7d
cmp qword [rsp + 0x48], 0
movss xmm2, dword [rdi + 0x218]
movss xmm3, dword [rdi + 0x21c]
subss xmm2, dword [rdi + 0x210]
subss xmm3, dword [rdi + 0x214]
movss xmm4, dword [rdi + 0x24]
movss xmm5, dword [rbx]
subss xmm4, xmm14
addss xmm2, dword [rdi + 0x84]
addss xmm3, dword [rdi + 0x88]
jne 0x180019b95
mov qword [rbp - 0x60], 0
lea rax, [rbp - 0x60]
jmp 0x180019bc2
movss xmm0, dword [rdi + 0x40]
lea rax, [rsp + 0x48]
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 cl, cl
jne 0x180019bd2
movaps xmm5, xmm2
test r12b, r12b
jne 0x180019bda
movaps xmm4, xmm3
bt r14d, 0xe
jb 0x180019bf0
comiss xmm1, xmm4
jbe 0x180019bec
test r14b, 8
je 0x180019bf0
xor cl, cl
jmp 0x180019bf2
mov cl, 1
mov byte [rdi + 0x8d], cl
lea rdx, [rsi + 0x15d0]
bt r14d, 0xf
jb 0x180019c39
test cl, cl
je 0x180019c10
movss xmm0, dword [rdx]
jmp 0x180019c14
movaps xmm0, xmm13
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x180019c2c
mov eax, r14d
and eax, 0x808
cmp eax, 0x800
je 0x180019c39
mov byte [rdi + 0x8c], 0
movaps xmm1, xmm13
jmp 0x180019c5f
mov byte [rdi + 0x8c], 1
test cl, cl
jne 0x180019c5b
comiss xmm1, xmm4
jbe 0x180019c53
test r14b, 8
jne 0x180019c53
mov cl, 1
jmp 0x180019c55
xor cl, cl
mov byte [rdi + 0x8d], cl
movss xmm1, dword [rdx]
test cl, cl
je 0x180019c69
movss xmm0, dword [rdx]
jmp 0x180019c6d
movaps xmm0, xmm13
movss dword [rdi + 0x84], xmm0
movss dword [rdi + 0x88], xmm1
mov r12d, r14d
and r12d, 0x5000000
cmp r12d, 0x1000000
jne 0x180019ca6
cmp r13d, 0x3000000
je 0x180019ca6
mov rax, qword [rsp + 0x58]
add rax, 0x250
jmp 0x180019caa
lea rax, [rbp - 0x50]
test byte [rdi + 0xc], 1
movss xmm7, dword [rdi + 0x10]
movss xmm5, dword [rdi + 0x14]
movaps xmm3, xmm7
addss xmm3, dword [rdi + 0x18]
movups xmm6, xmmword [rax]
movaps xmm4, xmm5
addss xmm4, dword [rdi + 0x1c]
je 0x180019cd3
movaps xmm2, xmm13
jmp 0x180019d09
mov rax, qword [rdi + 0x380]
movss xmm0, dword [r15 + 0x1984]
mulss xmm0, dword [rdi + 0x2a8]
test rax, rax
je 0x180019cf8
mulss xmm0, dword [rax + 0x2a8]
movss xmm2, dword [r15 + 0x159c]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm0, dword [rdi + 0x14]
addss xmm2, xmm5
movss dword [rsp + 0x7c], xmm0
movaps xmm1, xmm7
addss xmm1, dword [rbx]
movss dword [rsp + 0x78], xmm7
movaps xmm9, xmm14
mov eax, r14d
movss dword [rbp - 0x7c], xmm2
and eax, 0x401
movss dword [rbp - 0x80], xmm1
movss dword [rdi + 0x200], xmm7
movaps xmm7, xmm6
movss dword [rdi + 0x204], xmm5
movss dword [rdi + 0x208], xmm3
movaps xmm3, xmm6
movss dword [rdi + 0x20c], xmm4
movaps xmm4, xmm6
movss xmm0, dword [rdi + 0x200]
shufps xmm4, xmm6, 0x55
maxss xmm0, xmm6
shufps xmm3, xmm6, 0xaa
maxss xmm5, xmm4
shufps xmm7, xmm6, 0xff
movss dword [rdi + 0x200], xmm0
movss dword [rdi + 0x204], xmm5
movss xmm1, dword [rdi + 0x208]
movss xmm0, dword [rdi + 0x20c]
minss xmm1, xmm3
minss xmm0, xmm7
movss dword [rdi + 0x208], xmm1
movss dword [rdi + 0x20c], xmm0
movss xmm10, dword [rdi + 0x10]
movss xmm5, dword [rdi + 0x14]
movaps xmm8, xmm10
movss dword [rdi + 0x210], xmm10
addss xmm9, xmm5
addss xmm8, dword [rdi + 0x18]
addss xmm5, dword [rdi + 0x1c]
movss dword [rdi + 0x214], xmm9
subss xmm8, dword [rdi + 0x84]
subss xmm5, dword [rdi + 0x88]
movss dword [rdi + 0x218], xmm8
movss dword [rdi + 0x21c], xmm5
cmp eax, 1
jne 0x180019e18
movss xmm11, dword [rdi + 0x4c]
jmp 0x180019e21
movss xmm11, dword [rsi + 0x15a4]
movss xmm12, dword [0x18006da90]
lea r13, [rdi + 0x220]
movss xmm0, dword [rdi + 0x40]
addss xmm10, xmm12
mulss xmm0, xmm12
addss xmm9, xmm12
lea r15, [rdi + 0x228]
addss xmm8, xmm12
addss xmm5, xmm12
cvttss2si eax, xmm0
subss xmm5, dword [rdi + 0x4c]
addss xmm9, xmm11
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [rdi + 0x4c]
addss xmm10, xmm1
subss xmm8, xmm1
cvttss2si eax, xmm10
movd xmm10, eax
cvttss2si eax, xmm9
cvtdq2ps xmm10, xmm10
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm8
movss dword [rdi + 0x224], xmm0
movss dword [r13], xmm10
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm5
movss dword [r15], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x22c], xmm0
movss xmm0, dword [r13 + 4]
comiss xmm4, xmm0
jbe 0x180019ed6
movaps xmm1, xmm4
jmp 0x180019edd
movaps xmm1, xmm7
minss xmm1, xmm0
comiss xmm6, xmm10
jbe 0x180019ee8
movaps xmm0, xmm6
jmp 0x180019ef0
movaps xmm0, xmm3
minss xmm0, xmm10
movss dword [r13], xmm0
movss dword [r13 + 4], xmm1
movss xmm0, dword [r13 + 0xc]
comiss xmm4, xmm0
ja 0x180019f0e
minss xmm7, xmm0
movaps xmm4, xmm7
movss xmm0, dword [r13 + 8]
comiss xmm6, xmm0
jbe 0x180019f1e
movaps xmm3, xmm6
jmp 0x180019f22
minss xmm3, xmm0
movss dword [r13 + 8], xmm3
movss dword [r13 + 0xc], xmm4
movss xmm0, dword [rdi + 0x18]
comiss xmm0, xmm13
jbe 0x180019f4c
test r14d, 0x2000040
jne 0x180019f4c
mulss xmm0, dword [0x18006da98]
jmp 0x180019f5c
movss xmm0, dword [rsi + 0x1980]
mulss xmm0, dword [0x18006db20]
cvttss2si eax, xmm0
mov rdx, rdi
lea rcx, [rbp - 0x68]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x280], xmm0
movss xmm0, dword [rdi + 0x218]
subss xmm0, dword [rdi + 0x210]
movss xmm1, dword [rdi + 0x40]
addss xmm1, xmm1
addss xmm1, dword [rdi + 0x28]
subss xmm1, xmm0
movaps xmm0, xmm13
maxss xmm0, xmm1
movss xmm1, dword [rdi + 0x44]
addss xmm1, xmm1
movss dword [rdi + 0x64], xmm0
movss xmm0, dword [rdi + 0x21c]
subss xmm0, dword [rdi + 0x214]
addss xmm1, dword [rdi + 0x2c]
subss xmm1, xmm0
movaps xmm0, xmm13
maxss xmm0, xmm1
movss dword [rdi + 0x68], xmm0
call fcn.18001c060
mov rcx, qword [rdi + 0x2b0]
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 [rsi + 0x1978]
mov rdx, qword [rax + 0x40]
mov rdx, qword [rdx + 8]
call fcn.18002aa00
mov rcx, qword [0x1800a3fa0]
movaps xmm0, xmm6
unpckhpd xmm0, xmm6
xor r9d, r9d
movq r8, xmm0
movq rdx, xmm6
mov rax, qword [rcx + 0x1c10]
mov byte [rax + 0x90], 1
mov rbx, qword [rcx + 0x1c10]
mov rcx, qword [rbx + 0x2b0]
call fcn.18002a8e0
mov rax, qword [rbx + 0x2b0]
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 + 0x250], eax
movss dword [rbx + 0x254], xmm0
movss dword [rbx + 0x258], xmm1
movss dword [rbx + 0x25c], xmm2
bt r14d, 0x1b
jae 0x18001a0ff
mov r8, qword [0x1800a3fa0]
mov eax, dword [r8 + 0x1d98]
sub eax, 1
js 0x18001a0eb
mov r8, qword [r8 + 0x1da0]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
nop word [rax + rax]
mov rax, qword [r8]
test rax, rax
je 0x18001a0e1
test dword [rax + 0xc], 0x8000000
jne 0x18001a0ed
sub r8, 0x30
sub rdx, 1
jns 0x18001a0d0
xor eax, eax
cmp rdi, rax
jne 0x18001a0ff
cmp byte [rdi + 0xb1], 0
jg 0x18001a0ff
mov al, 1
jmp 0x18001a101
xor al, al
mov rcx, qword [rsi + 0x1f00]
test rcx, rcx
je 0x18001a11a
cmp rdi, qword [rcx + 0x388]
jne 0x18001a11a
mov bl, 1
jmp 0x18001a11c
xor bl, bl
test al, al
jne 0x18001a128
test bl, bl
je 0x18001a22e
movss xmm1, dword [rsi + 0x1f44]
movzx ecx, al
add ecx, 0x33
call fcn.180010490
mov rcx, qword [rdi + 0x2b0]
lea rdx, [rbp - 0x50]
mov r9d, eax
mov dword [rsp + 0x28], 0
lea r8, [rbp - 0x48]
movss dword [rsp + 0x20], xmm13
call fcn.18002d2a0
test bl, bl
je 0x18001a22e
cmp rdi, qword [rsi + 0x1f00]
jne 0x18001a22e
movss xmm0, dword [rsi + 0x1980]
movss xmm2, dword [rdi + 0x10]
movss xmm3, dword [rdi + 0x14]
movaps xmm1, xmm2
addss xmm2, dword [rdi + 0x18]
movss xmm11, dword [rsp + 0x34]
subss xmm1, xmm0
movaps xmm4, xmm3
addss xmm3, dword [rdi + 0x1c]
subss xmm4, xmm0
addss xmm2, xmm0
movss dword [rbp - 0x50], xmm1
addss xmm3, xmm0
movss xmm0, dword [rsp + 0x6c]
comiss xmm0, xmm1
movss dword [rbp - 0x48], xmm2
movss dword [rbp - 0x44], xmm3
movss dword [rbp - 0x4c], xmm4
jb 0x18001a1e5
movss xmm0, dword [rsp + 0x70]
comiss xmm0, xmm4
jb 0x18001a1e5
comiss xmm2, xmm15
jb 0x18001a1e5
comiss xmm3, xmm11
jae 0x18001a235
movss xmm1, dword [rsi + 0x1f14]
mov ecx, 0x32
mulss xmm1, dword [0x18006da7c]
call fcn.180010490
movss xmm0, dword [rsi + 0x156c]
lea r8, [rbp - 0x48]
mov rcx, qword [rdi + 0x2b0]
lea rdx, [rbp - 0x50]
mov r9d, eax
mov dword [rsp + 0x28], 0
movss dword [rsp + 0x20], xmm0
call fcn.18002d2a0
jmp 0x18001a235
movss xmm11, dword [rsp + 0x34]
xor bl, bl
cmp r12d, 0x1000000
jne 0x18001a27e
cmp dword [rsp + 0x3c], 0x3000000
je 0x18001a27e
mov rdx, qword [rdi + 0x2b0]
movsxd rax, dword [rdx]
imul rcx, rax, 0x38
mov rax, qword [rdx + 8]
cmp dword [rcx + rax - 0x18], 0
jne 0x18001a27e
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x2b0]
cmp dword [rax + 0x20], 0
jle 0x18001a27e
mov bl, 1
mov qword [rdi + 0x2b0], rax
mov rax, qword [rsi + 0x1ef8]
test rax, rax
jne 0x18001a291
mov rax, qword [rsi + 0x1dc8]
mov r12d, dword [rsp + 0x60]
test r12b, r12b
jne 0x18001a2b5
test rax, rax
je 0x18001a2b0
mov rax, qword [rax + 0x390]
cmp qword [rdi + 0x390], rax
je 0x18001a2b5
xor r8b, r8b
jmp 0x18001a2b8
mov r8b, 1
movss xmm0, dword [rbp - 0x78]
lea rax, [rbp - 0x20]
mov r9d, dword [rsp + 0x40]
lea rdx, [rsp + 0x78]
movss dword [rsp + 0x28], xmm0
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.180017ee0
test bl, bl
je 0x18001a2f0
lea rax, [rdi + 0x2b8]
mov qword [rdi + 0x2b0], rax
cmp qword [rsi + 0x1f00], rdi
jne 0x18001a466
movss xmm1, dword [rsi + 0x1980]
movss xmm7, dword [rdi + 0x10]
movss xmm6, dword [rdi + 0x14]
movaps xmm9, xmm7
addss xmm7, dword [rdi + 0x18]
movss xmm2, dword [rdi + 0x48]
subss xmm9, xmm1
movss xmm0, dword [rsp + 0x6c]
movaps xmm8, xmm6
addss xmm6, dword [rdi + 0x1c]
movaps xmm10, xmm2
subss xmm8, xmm1
maxss xmm10, dword [rsi + 0x156c]
comiss xmm0, xmm9
addss xmm7, xmm1
addss xmm6, xmm1
jb 0x18001a397
movss xmm0, dword [rsp + 0x70]
comiss xmm0, xmm8
jb 0x18001a397
comiss xmm7, xmm15
jb 0x18001a397
comiss xmm6, xmm11
jb 0x18001a397
xorps xmm1, xmmword [0x18006dfc0]
movaps xmm10, xmm2
subss xmm1, dword [0x18006dac8]
movaps xmm0, xmm1
subss xmm9, xmm1
subss xmm8, xmm1
addss xmm0, xmm7
addss xmm1, xmm6
movaps xmm7, xmm0
movaps xmm6, xmm1
movss xmm1, dword [rsi + 0x1f14]
mov ecx, 0x32
mov rbx, qword [rdi + 0x2b0]
call fcn.180010490
mov r15d, eax
test eax, 0xff000000
je 0x18001a45f
test byte [rbx + 0x30], 1
addss xmm9, xmm12
addss xmm8, xmm12
mov dword [rsp + 0x20], 0
movaps xmm3, xmm10
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x40]
mov rcx, rbx
movss dword [rsp + 0x40], xmm9
movss dword [rsp + 0x44], xmm8
je 0x18001a401
subss xmm7, xmm12
subss xmm6, xmm12
jmp 0x18001a411
subss xmm7, dword [0x18006da8c]
subss xmm6, dword [0x18006da8c]
movss dword [rsp + 0x48], xmm7
movss dword [rsp + 0x4c], xmm6
call fcn.18002cac0
movss xmm0, dword [0x18006daec]
mov eax, 1
mov r8d, dword [rbx + 0x78]
mov r9d, r15d
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], eax
call fcn.18002acf0
xor r8d, r8d
lea r15, [rdi + 0x228]
mov dword [rbx + 0x78], r8d
jmp 0x18001a469
lea r15, [rdi + 0x228]
xor r8d, r8d
movss xmm7, dword [rdi + 0x38]
mov ecx, r14d
movaps xmm15, xmmword [rsp + 0x100]
movaps xmm12, xmmword [rsp + 0x130]
shr ecx, 3
not cl
and cl, 1
ucomiss xmm7, xmm13
jp 0x18001a4d4
jne 0x18001a4d4
movss xmm0, dword [rdi + 0x40]
mov eax, r14d
movss xmm1, dword [rdi + 0x18]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [rdi + 0x84]
cmp eax, 0x800
jne 0x18001a4c9
movss xmm9, dword [rdi + 0x28]
maxss xmm9, xmm1
jmp 0x18001a4d8
movaps xmm9, xmm13
maxss xmm9, xmm1
jmp 0x18001a4d8
movaps xmm9, xmm7
movss xmm5, dword [rdi + 0x3c]
ucomiss xmm5, xmm13
jp 0x18001a520
jne 0x18001a520
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 0x18001a515
movss xmm8, dword [rdi + 0x2c]
maxss xmm8, xmm1
jmp 0x18001a524
movaps xmm8, xmm13
maxss xmm8, xmm1
jmp 0x18001a524
movaps xmm8, xmm5
ucomiss xmm7, xmm13
movss xmm4, dword [rdi + 0x40]
movss xmm10, dword [rdi + 0x5c]
movaps xmm1, xmm4
maxss xmm1, dword [rdi + 0x4c]
movss xmm0, dword [rdi + 0x210]
movss xmm6, dword [rdi + 0x44]
subss xmm0, xmm10
movss xmm11, dword [rdi + 0x60]
addss xmm1, xmm0
movss xmm0, dword [rdi + 0x214]
subss xmm0, xmm11
cvttss2si eax, xmm1
movaps xmm1, xmm6
maxss xmm1, dword [rdi + 0x4c]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
addss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, xmm9
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movaps xmm1, xmm2
shufps xmm2, xmm2, 0
movss xmm2, xmm0
addss xmm1, xmm8
shufps xmm2, xmm2, 0x27
movss xmm2, xmm1
shufps xmm2, xmm2, 0x39
movss xmm2, xmm3
movss xmm3, dword [rdi + 0x10]
movups xmmword [rdi + 0x230], xmm2
movups xmmword [rdi + 0x240], xmm2
movss xmm2, dword [rdi + 0x14]
movaps xmm1, xmm3
subss xmm2, xmm11
subss xmm1, xmm10
addss xmm2, xmm6
addss xmm1, xmm4
addss xmm2, xmm14
movss dword [rdi + 0x260], xmm1
movss dword [rdi + 0x264], xmm2
jp 0x18001a60c
jne 0x18001a60c
movss xmm7, dword [rdi + 0x18]
movaps xmm0, xmm4
addss xmm0, xmm4
subss xmm7, xmm0
subss xmm7, dword [rdi + 0x84]
ucomiss xmm5, xmm13
addss xmm1, xmm7
movss dword [rdi + 0x268], xmm1
jp 0x18001a63d
jne 0x18001a63d
movss xmm5, dword [rdi + 0x1c]
movaps xmm0, xmm6
addss xmm0, xmm6
subss xmm5, xmm0
subss xmm5, xmm14
subss xmm5, dword [rdi + 0x88]
addss xmm4, xmm13
addss xmm6, xmm14
movaps xmm14, xmmword [rsp + 0x110]
addss xmm2, xmm5
subss xmm4, xmm10
movaps xmm10, xmmword [rsp + 0x150]
subss xmm6, xmm11
movaps xmm11, xmmword [rsp + 0x140]
movss dword [rdi + 0x26c], xmm2
movss dword [rdi + 0x118], xmm4
addss xmm4, xmm13
mov qword [rdi + 0x11c], 0
addss xmm6, dword [rdi + 0x14]
addss xmm4, xmm3
movss dword [rdi + 0xe8], xmm4
movss dword [rdi + 0xec], xmm6
movss dword [rdi + 0xd8], xmm4
movss dword [rdi + 0xdc], xmm6
movss dword [rdi + 0xe0], xmm4
movss dword [rdi + 0xe4], xmm6
movss xmm0, dword [rdi + 0xe8]
movss xmm1, dword [rdi + 0xec]
movss dword [rdi + 0xf0], xmm0
movss dword [rdi + 0xf4], xmm1
movss dword [rdi + 0xf8], xmm0
movss dword [rdi + 0xfc], xmm1
mov qword [rdi + 0x108], 0
mov qword [rdi + 0x100], 0
mov qword [rdi + 0x110], 0
mov dword [rdi + 0x14c], r8d
movzx eax, word [rdi + 0x152]
mov word [rdi + 0x150], ax
mov word [rdi + 0x152], r8w
mov byte [rdi + 0x158], 0
movss xmm0, dword [rdi + 0x68]
comiss xmm0, xmm13
seta al
cmp byte [rsp + 0x31], 0
mov byte [rdi + 0x159], al
mov byte [rdi + 0x15a], 0
movss xmm0, dword [rsi + 0x15a8]
movss dword [rdi + 0x164], xmm0
mov qword [rdi + 0x168], 0
je 0x18001a788
xor eax, eax
mov qword [rdi + 0x17c], rax
mov dword [rdi + 0x184], eax
movss xmm1, dword [rdi + 0x168]
cvttss2si eax, xmm1
addss xmm1, dword [rdi + 0x17c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x170], xmm0
movss dword [rdi + 0x168], xmm1
mov dword [rdi + 0x17c], r8d
movss xmm0, dword [rdi + 0x180]
comiss xmm0, xmm13
jbe 0x18001a7e0
movss xmm0, dword [rdi + 0x164]
addss xmm0, dword [rdi + 0x168]
movss dword [rdi + 0x168], xmm0
movss xmm1, dword [rdi + 0x168]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x174], xmm0
addss xmm1, dword [rdi + 0x180]
movss dword [rdi + 0x168], xmm1
mov dword [rdi + 0x180], r8d
movss xmm0, dword [rdi + 0x184]
comiss xmm0, xmm13
jbe 0x18001a828
addss xmm1, dword [rdi + 0x164]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x178], xmm0
addss xmm1, dword [rdi + 0x184]
movss dword [rdi + 0x168], xmm1
mov qword [rdi + 0x184], 0
mov dword [rdi + 0x18c], r8d
mov ecx, dword [rdi + 0x194]
test ecx, ecx
jns 0x18001a887
mov eax, ecx
cdq
sub eax, edx
mov edx, r8d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x190]
test eax, eax
cmovg edx, eax
call fcn.180022580
xor r8d, r8d
mov rbx, qword [rsp + 0x58]
lea rax, [rdi + 0x288]
mov dword [rdi + 0x190], r8d
mov qword [rdi + 0x1a0], rax
mov eax, 1
mov qword [rdi + 0x1a8], r8
mov dword [rdi + 0x1b4], eax
test rbx, rbx
je 0x18001a8be
mov eax, dword [rbx + 0x1b4]
mov dword [rdi + 0x1b8], eax
lea rcx, [rdi + 0x1d0]
mov qword [rdi + 0x1bc], 0xffffffffffffffff
mov eax, dword [rdi + 0x280]
mov dword [rdi + 0x1c4], eax
mov dword [rdi + 0x1c8], 0xbf800000
call fcn.1800227d0
lea rcx, [rdi + 0x1e0]
call fcn.1800227d0
movzx eax, byte [rdi + 0xa8]
test al, al
jle 0x18001a910
dec al
mov byte [rdi + 0xa8], al
movzx eax, byte [rdi + 0xa9]
test al, al
jle 0x18001a923
dec al
mov byte [rdi + 0xa9], al
test r12b, r12b
je 0x18001a93a
mov rcx, rdi
call fcn.18001ada0
xor edx, edx
mov rcx, rdi
call fcn.18001dc00
movss xmm8, dword [rbp - 0x7c]
movss xmm7, dword [rbp - 0x80]
movss xmm6, dword [rsp + 0x7c]
movss xmm9, dword [rsp + 0x78]
test r14b, 1
jne 0x18001a992
mov r9, qword [rbp - 0x58]
lea rdx, [rbp - 0x50]
mov r8, qword [rbp - 0x70]
movaps xmm0, xmm9
addss xmm0, dword [rdi + 0x4c]
movaps xmm1, xmm7
movss dword [rbp - 0x4c], xmm6
subss xmm1, dword [rdi + 0x4c]
mov rcx, rdi
movss dword [rbp - 0x44], xmm8
movss dword [rbp - 0x50], xmm0
movss dword [rbp - 0x48], xmm1
call fcn.180018500
mov rax, qword [0x1800a3fa0]
xor edx, edx
mov dword [rdi + 0x270], edx
movss xmm1, dword [rax + 0x15c0]
movss xmm0, dword [rax + 0x15c4]
subss xmm9, xmm1
addss xmm7, xmm1
movss xmm1, dword [rax + 0x128]
addss xmm8, xmm0
subss xmm6, xmm0
comiss xmm1, xmm9
movaps xmm9, xmmword [rsp + 0x160]
jb 0x18001a9f5
movss xmm0, dword [rax + 0x12c]
comiss xmm0, xmm6
jb 0x18001a9f5
comiss xmm7, xmm1
jbe 0x18001a9f5
comiss xmm8, xmm0
lea ecx, [rdx + 1]
ja 0x18001a9f7
mov ecx, edx
mov eax, dword [rdi + 0x54]
movups xmm0, xmmword [rsp + 0x78]
mov r12d, dword [rsp + 0x50]
mov r14d, dword [rbp - 0x74]
movaps xmm8, xmmword [rsp + 0x170]
movaps xmm7, xmmword [rsp + 0x180]
movaps xmm6, xmmword [rsp + 0x190]
mov dword [rdi + 0x124], eax
mov dword [rdi + 0x128], ecx
movups xmmword [rdi + 0x12c], xmm0
jmp 0x18001aac0
mov rcx, qword [0x1800a3fa0]
mov qword [rcx + 0x1c10], rdi
movsxd rax, dword [rdi + 0x1b0]
cmp eax, 0xffffffff
je 0x18001aa63
imul rdx, rax, 0x1e8
add rdx, qword [rcx + 0x2008]
jmp 0x18001aa67
xor eax, eax
mov edx, eax
movss xmm0, dword [rcx + 0x1984]
mov qword [rcx + 0x1ff0], rdx
mov rax, qword [rdi + 0x380]
mulss xmm0, dword [rdi + 0x2a8]
test rax, rax
je 0x18001aa92
mulss xmm0, dword [rax + 0x2a8]
mov r12d, r14d
movss dword [rcx + 0x1998], xmm0
and r12d, 0x1000000
movss dword [rcx + 0x1980], xmm0
and r14d, 0x40
lea r15, [rdi + 0x228]
xor edx, edx
lea r13, [rdi + 0x220]
movsxd rcx, dword [rsi + 0x1d78]
mov rax, qword [rsi + 0x1d80]
mov ecx, dword [rax + rcx*4 - 4]
mov dword [rsi + 0x1c44], ecx
test r12d, r12d
je 0x18001aae5
mov eax, dword [rbx + 0x154]
jmp 0x18001aae7
mov eax, edx
mov r8b, 1
mov dword [rdi + 0x154], eax
mov rdx, r15
mov rcx, r13
call fcn.180015200
mov r15, qword [rsp + 0x1a0]
xor eax, eax
mov r13, qword [rsp + 0x1f8]
mov byte [rdi + 0x90], 0
inc word [rdi + 0x9a]
mov dword [rsi + 0x1cb0], eax
mov eax, dword [rsp + 0x64]
cmp eax, dword [rsp + 0x68]
je 0x18001ac48
test r12d, r12d
je 0x18001abb8
test r14d, r14d
jne 0x18001ab81
cmp byte [rdi + 0xa8], r14b
jg 0x18001ab81
cmp byte [rdi + 0xa9], r14b
jg 0x18001ab81
cmp byte [rsi + 0x308c], r14b
jne 0x18001ab81
movss xmm0, dword [rdi + 0x200]
comiss xmm0, dword [rdi + 0x208]
jae 0x18001ab7a
movss xmm0, dword [rdi + 0x204]
comiss xmm0, dword [rdi + 0x20c]
jb 0x18001ab81
mov byte [rdi + 0xb0], 1
test rbx, rbx
je 0x18001abb8
cmp byte [rbx + 0x91], 0
jne 0x18001ab98
cmp byte [rbx + 0xb0], 0
jle 0x18001ab9f
mov byte [rdi + 0xb0], 1
cmp byte [rbx + 0x91], 0
jne 0x18001abb1
cmp byte [rbx + 0xb1], 0
jle 0x18001abb8
mov byte [rdi + 0xb1], 1
comiss xmm13, dword [rsi + 0x1560]
jb 0x18001abc9
mov byte [rdi + 0xb0], 1
cmp byte [rdi + 0xb0], 0
jg 0x18001abe8
cmp byte [rdi + 0xb1], 0
jg 0x18001abe8
cmp byte [rdi + 0xb2], 0
jg 0x18001abe8
xor cl, cl
jmp 0x18001abea
mov cl, 1
mov byte [rdi + 0x95], cl
movzx eax, byte [rdi + 0xb3]
test al, al
jle 0x18001ac0a
dec al
mov byte [rdi + 0xb3], al
or dword [rdi + 0xc], 0xc0200
xor al, al
cmp byte [rdi + 0x91], al
jne 0x18001ac20
cmp byte [rdi + 0x8e], al
je 0x18001ac20
test cl, cl
je 0x18001ac42
cmp byte [rdi + 0xa8], al
jg 0x18001ac42
cmp byte [rdi + 0xa9], al
jg 0x18001ac42
cmp byte [rdi + 0xb1], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [rdi + 0x93], al
cmp byte [rdi + 0x93], 0
sete al
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180060ca0
movaps xmm13, xmmword [rsp + 0x120]
add rsp, 0x1a8
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret