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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rdi
push r12
lea rbp, [rax - 0xb8]
sub rsp, 0x1a0
mov qword [rax - 0x20], rbx
mov ebx, r8d
mov qword [rax - 0x28], rsi
mov rsi, qword [0x18004d188]
mov qword [rax - 0x30], r13
mov qword [rax - 0x38], r14
mov r14, rcx
mov qword [rax - 0x40], r15
movaps xmmword [rax - 0xb8], xmm12
call fcn.180013e00
test rax, rax
mov qword [rsp + 0x58], rax
mov rdi, rax
xorps xmm12, xmm12
sete byte [rbp + 0xc8]
test rax, rax
jne 0x18001647d
mov ecx, dword [rsi + 0x1ab8]
and ecx, 2
je 0x180016441
movsd xmm0, qword [rsi + 0x1ad8]
movsd qword [rsp + 0x38], xmm0
jmp 0x18001644c
mov qword [rbp + 0xd8], 0
test ecx, ecx
lea rdx, [rsp + 0x38]
lea rax, [rbp + 0xd8]
mov r8d, ebx
cmovne rax, rdx
mov rcx, r14
movss xmm0, dword [rax + 4]
movss xmm1, dword [rax]
unpcklps xmm1, xmm0
movq rdx, xmm1
call fcn.180013ed0
mov rdi, rax
mov r8d, dword [rsi + 0x19b0]
mov ecx, ebx
mov r9d, dword [rdi + 0x250]
and ecx, 0xc0200
mov r12d, dword [rdi + 0xa0]
mov r15d, ebx
or r15d, 6
mov dword [rsp + 0x74], r8d
cmp ecx, 0xc0200
mov dword [rsp + 0x70], r9d
lea eax, [r8 - 1]
mov dword [rsp + 0x64], r12d
cmovne r15d, ebx
cmp r9d, eax
setl dl
mov byte [rbp + 0xd8], dl
bt r15d, 0x1a
jae 0x180016503
movsxd rax, dword [rsi + 0x1b70]
lea rax, [rax + rax*2]
shl rax, 4
add rax, qword [rsi + 0x1b68]
cmp rdi, qword [rax + 8]
mov eax, dword [rax]
setne cl
cmp dword [rdi + 0x90], eax
setne al
or cl, al
or dl, cl
mov byte [rbp + 0xd8], dl
test dl, dl
jne 0x180016514
test r12d, r12d
jg 0x180016514
mov byte [rdi + 0x84], dl
jmp 0x180016530
or dword [rdi + 0xa4], 8
or dword [rdi + 0xa8], 8
or dword [rdi + 0xac], 8
mov byte [rdi + 0x84], 1
xor r13d, r13d
cmp r9d, r8d
je 0x180016575
mov dword [rdi + 0xc], r15d
mov dword [rdi + 0x250], r8d
movsd xmm0, qword [rsi + 0x19a8]
mov word [rdi + 0x8a], r13w
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x254], xmm0
movzx eax, word [rsi + 0x1a10]
inc dword [rsi + 0x1a10]
mov word [rdi + 0x8c], ax
jmp 0x180016579
mov r15d, dword [rdi + 0xc]
lea rbx, [rsi + 0x19f0]
movsxd rax, dword [rbx]
test eax, eax
jne 0x18001658c
mov rax, r13
jmp 0x18001659b
mov rcx, rax
mov rax, qword [rsi + 0x19f8]
mov rax, qword [rax + rcx*8 - 8]
cmp r9d, r8d
je 0x1800165b5
test r15d, 0x5000000
mov rcx, r13
cmovne rcx, rax
mov qword [rsp + 0x68], rcx
jmp 0x1800165c1
mov rax, qword [rdi + 0x358]
mov qword [rsp + 0x68], rax
lea r14, [rdi + 0xc0]
mov eax, 8
cmp dword [r14], r13d
jne 0x1800165f7
cmp dword [r14 + 4], r13d
jne 0x1800165e2
mov edx, eax
mov rcx, r14
call fcn.18001f3f0
mov eax, dword [rdi + 8]
movsxd rdx, dword [r14]
mov rcx, qword [r14 + 8]
mov dword [rcx + rdx*4], eax
mov eax, 8
inc dword [r14]
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x180016624
inc r8d
test ecx, ecx
je 0x180016612
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.18001ebb0
movsxd rcx, dword [rbx]
lea rdx, [rdi + 0x1d0]
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], rdi
inc dword [rbx]
mov rcx, qword [0x18004d188]
mov qword [rsi + 0x1a18], r13
movzx eax, word [r14]
mov word [rdx], ax
movzx eax, word [rdi + 0x1c0]
mov word [rdx + 2], ax
movzx eax, word [rcx + 0x1b70]
mov word [rdx + 4], ax
movzx eax, word [rcx + 0x1b30]
mov word [rdx + 6], ax
movzx eax, word [rcx + 0x1b40]
mov word [rdx + 8], ax
movzx eax, word [rcx + 0x1b50]
mov word [rdx + 0xa], ax
mov eax, r15d
and eax, 0x4000000
mov dword [rsp + 0x50], eax
je 0x1800166bf
lea rcx, [rsi + 0x1b70]
movsxd rax, dword [rcx]
lea rbx, [rax + rax*2]
shl rbx, 4
add rbx, qword [rsi + 0x1b68]
mov rdx, rbx
mov qword [rbx + 8], rdi
call fcn.18001e950
mov eax, dword [rbx]
mov dword [rdi + 0x90], eax
test r12d, r12d
jle 0x1800166d2
bt r15d, 0x18
jb 0x1800166d2
mov dword [rdi + 0x380], r13d
xor dl, dl
xor r12b, r12b
test byte [rsi + 0x1ab8], 1
mov byte [rsp + 0x30], dl
je 0x18001675f
mov r8d, dword [rsi + 0x1abc]
mov ecx, dword [rdi + 0xa4]
test r8d, ecx
setne dl
mov byte [rsp + 0x30], dl
test r8d, ecx
je 0x180016750
movss xmm0, dword [rsi + 0x1ad4]
movss xmm1, dword [rsi + 0x1ad0]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x180043514]
jbe 0x180016750
movsd xmm0, qword [rsi + 0x1ac8]
and ecx, 0xfffffff1
movsd qword [rdi + 0xb0], xmm0
movsd xmm1, qword [rsi + 0x1ad0]
movsd qword [rdi + 0xb8], xmm1
mov dword [rdi + 0xa4], ecx
jmp 0x18001675f
lea rdx, [rsi + 0x1ac8]
mov rcx, rdi
call fcn.180018df0
test byte [rsi + 0x1ab8], 2
je 0x1800167ad
mov r8d, dword [rsi + 0x1ac0]
lea rdx, [rsi + 0x1ad8]
mov eax, r8d
and eax, dword [rdi + 0xa8]
je 0x180016790
movss xmm0, dword [rdx]
comiss xmm0, xmm12
jbe 0x180016790
mov r12b, 1
jmp 0x180016794
test eax, eax
je 0x1800167a5
movss xmm0, dword [rsi + 0x1adc]
comiss xmm0, xmm12
jbe 0x1800167a5
mov r13b, 1
mov rcx, rdi
call fcn.180018ec0
test byte [rsi + 0x1ab8], 4
mov ebx, dword [rsp + 0x74]
je 0x1800167c9
movsd xmm0, qword [rsi + 0x1ae0]
movsd qword [rdi + 0x30], xmm0
jmp 0x1800167d5
cmp dword [rsp + 0x70], ebx
je 0x1800167d5
xor eax, eax
mov qword [rdi + 0x30], rax
test byte [rsi + 0x1ab8], 8
je 0x180016804
mov eax, dword [rsi + 0x1ac4]
movzx ecx, byte [rsi + 0x1ae8]
test eax, eax
je 0x1800167f7
test dword [rdi + 0xac], eax
je 0x180016804
and dword [rdi + 0xac], 0xfffffff1
mov byte [rdi + 0x81], cl
test byte [rsi + 0x1ab8], 0x20
je 0x180016815
mov rcx, rdi
call fcn.1800187f0
cmp byte [rdi + 0x84], 0
je 0x180016833
and dword [rdi + 0xa4], 0xfffffff7
and dword [rdi + 0xa8], 0xfffffff7
and dword [rdi + 0xac], 0xfffffff7
mov r8d, 1
cmp dword [rsp + 0x70], ebx
je 0x180018438
mov rax, qword [rsp + 0x68]
mov ecx, r15d
movaps xmmword [rsp + 0x160], xmm6
and ecx, 0x3000000
movaps xmmword [rsp + 0x150], xmm7
movaps xmmword [rsp + 0x140], xmm8
movaps xmmword [rsp + 0x130], xmm9
movaps xmmword [rsp + 0x120], xmm10
movaps xmmword [rsp + 0x110], xmm11
movaps xmmword [rsp + 0xf0], xmm13
movaps xmmword [rsp + 0xe0], xmm14
movaps xmmword [rsp + 0xd0], xmm15
mov dword [rsp + 0x40], ecx
mov qword [rdi + 0x358], rax
mov qword [rdi + 0x370], rdi
mov qword [rdi + 0x368], rdi
mov qword [rdi + 0x360], rdi
test rax, rax
je 0x1800168fe
cmp ecx, 0x1000000
jne 0x1800168e0
mov rax, qword [rax + 0x360]
mov qword [rdi + 0x360], rax
mov rax, qword [rsp + 0x68]
bt r15d, 0x1b
jb 0x1800168fe
test r15d, 0x5000000
je 0x1800168fe
mov rax, qword [rax + 0x368]
mov qword [rdi + 0x368], rax
test dword [rdi + 0xc], 0x800000
je 0x18001692a
mov rcx, rdi
nop word [rax + rax]
mov rax, qword [rcx + 0x358]
mov qword [rdi + 0x370], rax
mov rcx, rax
test dword [rax + 0xc], 0x800000
jne 0x180016910
mov byte [rdi + 0x7e], r8b
mov byte [rdi + 0x86], 0
mov dword [rdi + 0x230], 0xff7fffff
mov dword [rdi + 0x234], 0xff7fffff
mov dword [rdi + 0x238], 0x7f7fffff
mov dword [rdi + 0x23c], 0x7f7fffff
mov ecx, dword [r14 + 4]
cmp ecx, r8d
jge 0x180016991
test ecx, ecx
je 0x180016975
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18001697a
mov eax, 8
cmp eax, r8d
mov edx, r8d
mov rcx, r14
cmovg edx, eax
call fcn.18001f3f0
mov r8d, 1
mov dword [r14], r8d
cmp byte [rdi + 0x3a8], 0
je 0x1800169d9
mov rcx, qword [rdi + 0x2a8]
mov edx, dword [rdi + 0x3ac]
add rcx, 0x10
mov byte [rdi + 0x3a8], 0
call fcn.18001f2c0
mov rcx, qword [rdi + 0x2a8]
mov edx, dword [rdi + 0x3b0]
add rcx, 0x20
call fcn.18001f080
xor eax, eax
mov qword [rdi + 0x3ac], rax
cmp qword [rsi + 0x1bd8], 0
mov r8, qword [rsp + 0x58]
je 0x180016ab6
test dword [rdi + 0xc], 0x80000
jne 0x180016ab6
test r8, r8
je 0x180016ab6
mov r10, qword [rbp + 0xc0]
mov r9, qword [rdi]
mov rax, r10
mov r8, r9
sub r8, r10
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180016a33
inc rax
test ecx, ecx
jne 0x180016a20
test edx, edx
je 0x180016ab1
movsxd r14, dword [rdi + 0x48]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r10 + rbx], 0
jne 0x180016a42
inc rbx
cmp r14, rbx
jae 0x180016a9c
test r9, r9
je 0x180016a6b
mov rax, qword [0x18004d188]
test rax, rax
je 0x180016a6b
dec dword [rax + 0x3bc]
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x18004d188]
test rax, rax
je 0x180016a86
inc dword [rax + 0x3bc]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r10, qword [rbp + 0xc0]
mov r14, 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 + 0x48], r14d
mov r8, qword [rsp + 0x58]
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.1800145a0
lea r9, [rdi + 0x28]
movss xmm3, dword [rax]
movss xmm4, dword [rax + 4]
mov eax, dword [rdi + 0x9c]
movss dword [r9], xmm3
movss dword [r9 + 4], xmm4
test eax, eax
jle 0x180016aed
dec eax
mov dword [rdi + 0x9c], eax
mov eax, dword [rdi + 0xa0]
test eax, eax
jle 0x180016aff
dec eax
mov dword [rdi + 0xa0], eax
test r8, r8
jne 0x180016b1b
test r12b, r12b
je 0x180016b0e
test r13b, r13b
jne 0x180016b1b
mov eax, 1
mov dword [rdi + 0xa0], eax
jmp 0x180016b20
mov eax, 1
xor edx, edx
cmp byte [rbp + 0xd8], dl
je 0x180016b5c
test r15d, 0x6000000
je 0x180016b5c
mov dword [rdi + 0xa0], eax
test r15b, 0x40
je 0x180016b5c
test r12b, r12b
jne 0x180016b4a
mov dword [rdi + 0x20], edx
mov dword [rdi + 0x18], edx
test r13b, r13b
jne 0x180016b55
mov dword [rdi + 0x24], edx
mov dword [rdi + 0x1c], edx
mov qword [r9], 0
mov rcx, qword [0x18004d188]
movss xmm0, dword [rcx + 0x1914]
mov qword [rcx + 0x1a18], rdi
mov rax, qword [rdi + 0x358]
mulss xmm0, dword [rdi + 0x2a0]
test rax, rax
je 0x180016b8e
mulss xmm0, dword [rax + 0x2a0]
mov eax, r15d
movss dword [rcx + 0x1928], xmm0
and eax, 0x1000000
movss dword [rcx + 0x1910], xmm0
mov dword [rsp + 0x4c], eax
je 0x180016bb6
movss xmm1, dword [rsi + 0x1584]
jmp 0x180016bd8
test r15d, 0x6000000
je 0x180016bd0
bt r15d, 0x1b
jb 0x180016bd0
movss xmm1, dword [rsi + 0x158c]
jmp 0x180016bd8
movss xmm1, dword [rsi + 0x1568]
movss dword [rdi + 0x44], xmm1
mov eax, r15d
movsd xmm0, qword [rsi + 0x155c]
and eax, 0x5010000
movsd qword [rdi + 0x38], xmm0
cmp eax, 0x1000000
jne 0x180016c1e
ucomiss xmm1, xmm12
jp 0x180016c1e
jne 0x180016c1e
bt r15d, 0xa
jae 0x180016c12
movss xmm0, dword [rsi + 0x1560]
jmp 0x180016c16
movaps xmm0, xmm12
movss dword [rdi + 0x3c], xmm0
mov dword [rdi + 0x38], edx
movss xmm0, dword [rdi + 0x38]
maxss xmm0, dword [rsi + 0x15a0]
maxss xmm0, dword [rsi + 0x1b14]
movss dword [rdi + 0x14c], xmm0
mov eax, dword [rsi + 0x1b18]
mov dword [rdi + 0x150], eax
test r15b, 0x21
jne 0x180016d99
mov r8d, dword [rdi + 0xc]
mov rdx, qword [0x18004d188]
test r8b, 1
je 0x180016c68
movaps xmm2, xmm12
jmp 0x180016c9c
mov rax, qword [rdi + 0x358]
movss xmm0, dword [rdi + 0x2a0]
mulss xmm0, dword [rcx + 0x1914]
test rax, rax
je 0x180016c8c
mulss xmm0, dword [rax + 0x2a0]
movss xmm2, dword [rdx + 0x1594]
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 [rsi + 0x1a20], rdi
jne 0x180016d51
cmp dword [rsi + 0x1a4c], 0
jne 0x180016d51
cmp dword [rsi + 0x1a54], 0
jne 0x180016d51
mov rax, qword [rcx + 0x1a18]
movss xmm1, dword [rdx + 0x15b0]
movss xmm0, dword [rdx + 0x15b4]
maxss xmm4, dword [rax + 0x230]
minss xmm3, dword [rax + 0x238]
maxss xmm5, dword [rax + 0x234]
minss xmm2, dword [rax + 0x23c]
subss xmm4, xmm1
addss xmm3, xmm1
movss xmm1, dword [rdx + 0x130]
subss xmm5, xmm0
addss xmm2, xmm0
comiss xmm1, xmm4
jb 0x180016d51
movss xmm0, dword [rdx + 0x134]
comiss xmm0, xmm5
jb 0x180016d51
comiss xmm3, xmm1
jbe 0x180016d51
comiss xmm2, xmm0
jbe 0x180016d51
cmp byte [rsi + 0x425], 0
je 0x180016d51
mov byte [rdi + 0x82], 1
cmp byte [rdi + 0x82], 0
je 0x180016da0
cmp byte [rdi + 0x81], 0
mov rcx, qword [0x18004d188]
sete al
mov byte [rdi + 0x81], al
bt r8d, 8
jb 0x180016d8b
comiss xmm12, dword [rcx + 0x2ef8]
jb 0x180016d8b
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x2ef8], eax
mov rcx, rdi
call fcn.1800187f0
lea r9, [rdi + 0x28]
jmp 0x180016da0
mov byte [rdi + 0x81], 0
mov r8, r9
mov byte [rdi + 0x82], 0
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.180014660
movzx ebx, byte [rbp + 0xc8]
mov eax, r15d
and eax, 0x40
mov byte [rbp + 0xd0], bl
mov dword [rbp - 0x58], eax
je 0x180016e10
cmp byte [rdi + 0x81], 0
jne 0x180016e10
test r12b, r12b
jne 0x180016def
movss xmm0, dword [rsp + 0x38]
movss dword [rdi + 0x20], xmm0
mov byte [rbp + 0xc8], 1
test r13b, r13b
jne 0x180016ebc
movss xmm0, dword [rsp + 0x3c]
mov bl, 1
movss dword [rdi + 0x24], xmm0
mov byte [rbp + 0xd0], bl
jmp 0x180016ebc
movzx eax, byte [rdi + 0x94]
test al, al
jg 0x180016e28
cmp byte [rdi + 0x95], 0
jle 0x180016ebc
test r12b, r12b
jne 0x180016e59
test al, al
jle 0x180016e59
cmp byte [rdi + 0x97], r12b
je 0x180016e47
movss xmm0, dword [rdi + 0x20]
maxss xmm0, dword [rsp + 0x38]
jmp 0x180016e4d
movss xmm0, dword [rsp + 0x38]
movss dword [rdi + 0x20], xmm0
mov byte [rbp + 0xc8], 1
test r13b, r13b
jne 0x180016e90
cmp byte [rdi + 0x95], r13b
jle 0x180016e90
cmp byte [rdi + 0x97], r13b
je 0x180016e7d
movss xmm0, dword [rdi + 0x24]
maxss xmm0, dword [rsp + 0x3c]
jmp 0x180016e83
movss xmm0, dword [rsp + 0x3c]
mov bl, 1
movss dword [rdi + 0x24], xmm0
mov byte [rbp + 0xd0], bl
cmp byte [rdi + 0x81], 0
jne 0x180016ebc
test dword [rdi + 0xc], 0x100
mov rcx, qword [0x18004d188]
jne 0x180016ebc
comiss xmm12, dword [rcx + 0x2ef8]
jb 0x180016ebc
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x2ef8], eax
mov r8, qword [rdi + 0x20]
lea rcx, [rbp - 0x68]
mov rdx, rdi
call fcn.180014310
cmp byte [rdi + 0x81], 0
mov r14, qword [0x18004d188]
mov edx, dword [rsp + 0x4c]
movss xmm3, dword [rax]
movss xmm0, dword [rax + 4]
movss dword [rdi + 0x20], xmm3
movss dword [rdi + 0x24], xmm0
je 0x180016f61
test edx, edx
jne 0x180016f61
test byte [rdi + 0xc], 1
je 0x180016f03
movaps xmm2, xmm12
jmp 0x180016f39
mov rax, qword [rdi + 0x358]
movss xmm0, dword [r14 + 0x1914]
mulss xmm0, dword [rdi + 0x2a0]
test rax, rax
je 0x180016f28
mulss xmm0, dword [rax + 0x2a0]
movss xmm2, dword [r14 + 0x1594]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm1, dword [rdi + 0x10]
addss xmm2, dword [rdi + 0x14]
movaps xmm0, xmm1
addss xmm0, xmm3
subss xmm2, dword [rdi + 0x14]
subss xmm0, xmm1
movss dword [rsp + 0x48], xmm2
movss dword [rsp + 0x44], xmm0
jmp 0x180016f6c
movsd xmm0, qword [rdi + 0x20]
movsd qword [rsp + 0x44], xmm0
mov ecx, dword [rdi + 0xc]
lea rax, [rsp + 0x44]
movsd xmm0, qword [rax]
movsd qword [rdi + 0x18], xmm0
test cl, 1
je 0x180016f88
movaps xmm1, xmm12
jmp 0x180016fbe
mov rax, qword [rdi + 0x358]
movss xmm0, dword [r14 + 0x1914]
mulss xmm0, dword [rdi + 0x2a0]
test rax, rax
je 0x180016fad
mulss xmm0, dword [rax + 0x2a0]
movss xmm1, dword [r14 + 0x1594]
addss xmm1, xmm1
addss xmm1, xmm0
bt ecx, 0xa
jae 0x180017008
mov rax, qword [rdi + 0x358]
movss xmm11, dword [r14 + 0x1914]
mulss xmm11, dword [rdi + 0x2a0]
test rax, rax
je 0x180016feb
mulss xmm11, dword [rax + 0x2a0]
movss xmm0, dword [r14 + 0x1594]
addss xmm11, dword [rdi + 0x150]
addss xmm0, xmm0
addss xmm11, xmm0
jmp 0x18001700c
movaps xmm11, xmm12
cmp byte [rbp + 0xd8], 0
addss xmm11, xmm1
mov r13d, dword [rsp + 0x50]
movzx r12d, byte [rsp + 0x30]
je 0x180017064
mov dword [rdi + 0x98], 0xffffffff
test r13d, r13d
je 0x180017064
test r12b, r12b
jne 0x180017064
movsxd rax, dword [rsi + 0x1b70]
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x1b78]
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 0x180017103
mov rdx, qword [rsp + 0x68]
lea rbx, [rdx + 0x158]
movzx eax, word [rbx]
mov word [rdi + 0x8a], ax
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x1800170c2
inc r8d
test ecx, ecx
je 0x18001709f
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1800170a4
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.18001ebb0
mov rdx, qword [rsp + 0x68]
mov r14, qword [0x18004d188]
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], rdi
inc dword [rbx]
mov eax, dword [rsp + 0x40]
test r13d, r13d
jne 0x1800170fa
test r12b, r12b
jne 0x1800170fa
movzx ebx, byte [rbp + 0xd0]
cmp eax, 0x3000000
je 0x180017107
movsd xmm0, qword [rdx + 0xd0]
movsd qword [rdi + 0x10], xmm0
jmp 0x180017107
movzx ebx, byte [rbp + 0xd0]
jmp 0x180017107
mov eax, dword [rsp + 0x40]
movss xmm1, dword [rdi + 0xb0]
ucomiss xmm1, dword [0x180043618]
jp 0x18001711a
je 0x18001716b
cmp dword [rdi + 0xa0], 0
jne 0x18001716b
movss xmm0, dword [rdi + 0xb8]
lea rdx, [rsp + 0x44]
mulss xmm0, dword [rdi + 0x20]
xor r8d, r8d
mov rcx, rdi
subss xmm1, xmm0
movss xmm0, dword [rdi + 0xb4]
movss dword [rsp + 0x44], xmm1
movss xmm1, dword [rdi + 0xbc]
mulss xmm1, dword [rdi + 0x24]
subss xmm0, xmm1
movss dword [rsp + 0x48], xmm0
call fcn.180018df0
jmp 0x1800171b5
bt r15d, 0x1c
jb 0x180017196
test r13d, r13d
je 0x180017183
test r12b, r12b
jne 0x180017183
cmp dword [rsp + 0x64], 0
jg 0x180017196
bt r15d, 0x19
jae 0x1800171b5
test r12b, r12b
jne 0x1800171b5
cmp eax, 0x3000000
je 0x1800171b5
mov rdx, rdi
lea rcx, [rbp - 0x78]
call fcn.18001a0b0
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax]
movss dword [rdi + 0x10], xmm0
movss dword [rdi + 0x14], xmm1
movss xmm3, dword [r14 + 0x10]
movss xmm6, dword [r14 + 0x14]
mov ecx, dword [rsp + 0x4c]
movss dword [rbp + 0xd0], xmm3
movss dword [rbp - 0x80], xmm3
movss dword [rsp + 0x64], xmm6
movss dword [rbp - 0x7c], xmm6
movss dword [rsp + 0x78], xmm12
movss dword [rsp + 0x7c], xmm12
test r12b, r12b
jne 0x18001730c
test ecx, ecx
jne 0x18001730c
cmp byte [rdi + 0x94], r12b
jg 0x18001730c
cmp byte [rdi + 0x95], r12b
jg 0x18001730c
movss xmm0, dword [rsi + 0x10]
comiss xmm0, xmm12
jbe 0x18001730c
movss xmm0, dword [rsi + 0x14]
comiss xmm0, xmm12
jbe 0x18001730c
movss xmm5, dword [rsi + 0x15f0]
movss xmm4, dword [rsi + 0x15ec]
maxss xmm5, dword [rsi + 0x15f8]
maxss xmm4, dword [rsi + 0x15f4]
cmp byte [r14 + 0xcc], r12b
je 0x1800172ac
test byte [rdi + 0xc], 1
jne 0x1800172ac
mov rax, qword [rdi + 0x358]
movss xmm0, dword [r14 + 0x1914]
mulss xmm0, dword [rdi + 0x2a0]
test rax, rax
je 0x180017288
mulss xmm0, dword [rax + 0x2a0]
movss xmm1, dword [r14 + 0x1594]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [rdi + 0x18]
movss dword [rsp + 0x44], xmm0
movss dword [rsp + 0x48], xmm1
jmp 0x1800172b7
movsd xmm0, qword [rdi + 0x18]
movsd qword [rsp + 0x44], xmm0
lea rax, [rsp + 0x44]
movss xmm1, dword [rax]
subss xmm3, xmm4
movss xmm2, dword [rax + 4]
addss xmm4, xmm12
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x10]
maxss xmm0, xmm4
subss xmm0, xmm1
movaps xmm1, xmm6
subss xmm1, xmm5
addss xmm5, xmm12
minss xmm3, xmm0
movaps xmm0, xmm2
addss xmm0, dword [rdi + 0x14]
movss dword [rdi + 0x10], xmm3
maxss xmm0, xmm5
subss xmm0, xmm2
minss xmm1, xmm0
movss dword [rdi + 0x14], xmm1
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 0x18001733c
movss xmm2, dword [rsi + 0x1580]
jmp 0x18001735d
mov eax, r15d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x180017355
movss xmm2, dword [rsi + 0x1588]
jmp 0x18001735d
movss xmm2, dword [rsi + 0x1564]
xor cl, cl
movss dword [rdi + 0x40], xmm2
mov dword [rsp + 0x50], ecx
cmp byte [rbp + 0xd8], cl
je 0x180017399
bt r15d, 0xc
jb 0x180017399
test r13d, r13d
je 0x180017383
mov byte [rsp + 0x50], 1
jmp 0x180017399
cmp dword [rsp + 0x40], 0
mov r12d, 1
movzx ecx, cl
cmove ecx, r12d
mov dword [rsp + 0x50], ecx
addss xmm2, dword [0x180043578]
xorps xmm0, xmm0
mov dword [rsp + 0x60], 0xffffffff
movups xmmword [rbp - 0x40], xmm0
xor r13d, r13d
movss xmm0, dword [rsi + 0x1910]
cmp byte [rsi + 0xcb], r13b
movaps xmm1, xmm0
mulss xmm0, dword [0x180043534]
setne r13b
cmp byte [rdi + 0x81], 0
mulss xmm1, dword [0x180043584]
addss xmm0, xmm2
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x44], xmm0
jne 0x18001742c
lea rax, [rbp - 0x40]
mov rcx, rdi
lea r9d, [r13 + 1]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x38]
call fcn.180014a50
mov r14, qword [0x18004d188]
test al, al
je 0x18001742c
mov bl, 1
movzx ecx, bl
jmp 0x180017433
movzx ecx, byte [rbp + 0xc8]
cmp byte [rdi + 0x81], 0
movzx eax, byte [rsp + 0x60]
mov byte [rdi + 0x87], al
jne 0x18001756c
cmp qword [rsp + 0x58], 0
movss xmm2, dword [rdi + 0x208]
movss xmm3, dword [rdi + 0x20c]
subss xmm2, dword [rdi + 0x200]
subss xmm3, dword [rdi + 0x204]
movss xmm4, dword [rdi + 0x24]
movss xmm5, dword [rdi + 0x20]
subss xmm4, xmm11
addss xmm2, dword [rdi + 0x74]
addss xmm3, dword [rdi + 0x78]
jne 0x18001749a
mov qword [rbp - 0x54], 0
lea rax, [rbp - 0x54]
jmp 0x1800174c4
movss xmm0, dword [rdi + 0x38]
lea rax, [rbp - 0x4c]
movss xmm1, dword [rdi + 0x3c]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [rdi + 0x28]
addss xmm1, dword [rdi + 0x2c]
movss dword [rbp - 0x4c], xmm0
movss dword [rbp - 0x48], xmm1
movss xmm6, dword [rax]
movss xmm1, dword [rax + 4]
test cl, cl
jne 0x1800174d4
movaps xmm5, xmm2
test bl, bl
jne 0x1800174db
movaps xmm4, xmm3
bt r15d, 0xe
jb 0x1800174f1
comiss xmm1, xmm4
jbe 0x1800174ed
test r15b, 8
je 0x1800174f1
xor cl, cl
jmp 0x1800174f3
mov cl, 1
mov byte [rdi + 0x7d], cl
lea rdx, [rsi + 0x15c0]
bt r15d, 0xf
jb 0x180017534
test cl, cl
je 0x18001750e
movss xmm0, dword [rdx]
jmp 0x180017512
movaps xmm0, xmm12
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x18001752a
mov eax, r15d
and eax, 0x808
cmp eax, 0x800
je 0x180017534
mov byte [rdi + 0x7c], 0
movaps xmm1, xmm12
jmp 0x180017554
mov byte [rdi + 0x7c], 1
test cl, cl
jne 0x180017550
comiss xmm1, xmm4
jbe 0x18001754b
test r15b, 8
jne 0x18001754b
mov cl, 1
jmp 0x18001754d
xor cl, cl
mov byte [rdi + 0x7d], cl
movss xmm1, dword [rdx]
test cl, cl
je 0x18001755e
movss xmm0, dword [rdx]
jmp 0x180017562
movaps xmm0, xmm12
movss dword [rdi + 0x74], xmm0
movss dword [rdi + 0x78], xmm1
mov r12d, r15d
and r12d, 0x5000000
cmp r12d, 0x1000000
jne 0x180017596
cmp dword [rsp + 0x40], 0x3000000
je 0x180017596
mov rax, qword [rsp + 0x68]
add rax, 0x230
jmp 0x18001759b
lea rax, [rsp + 0x78]
test byte [rdi + 0xc], 1
movss xmm15, dword [rdi + 0x10]
movss xmm2, dword [rdi + 0x14]
movaps xmm3, xmm15
addss xmm3, dword [rdi + 0x18]
movups xmm6, xmmword [rax]
movaps xmm4, xmm2
addss xmm4, dword [rdi + 0x1c]
je 0x1800175c6
movaps xmm0, xmm12
jmp 0x1800175fc
mov rax, qword [rdi + 0x358]
movss xmm1, dword [r14 + 0x1914]
mulss xmm1, dword [rdi + 0x2a0]
test rax, rax
je 0x1800175eb
mulss xmm1, dword [rax + 0x2a0]
movss xmm0, dword [r14 + 0x1594]
addss xmm0, xmm0
addss xmm0, xmm1
movss dword [rbp - 0x68], xmm15
movaps xmm5, xmm2
addss xmm5, xmm0
movaps xmm1, xmm15
addss xmm1, dword [rdi + 0x20]
movss xmm0, dword [rdi + 0x14]
movaps xmm8, xmm6
movss dword [rbp - 0x64], xmm0
mov eax, r15d
shufps xmm8, xmm6, 0xff
and eax, 0x401
movss dword [rsp + 0x60], xmm5
movss dword [rbp + 0xc8], xmm1
movss dword [rbp - 0x60], xmm1
movss dword [rbp - 0x5c], xmm5
movaps xmm5, xmm6
movss dword [rdi + 0x1f0], xmm15
movss dword [rdi + 0x1f4], xmm2
movss dword [rdi + 0x1f8], xmm3
movaps xmm3, xmm6
movss dword [rdi + 0x1fc], xmm4
movss xmm0, dword [rdi + 0x1f0]
shufps xmm5, xmm6, 0x55
maxss xmm0, xmm6
shufps xmm3, xmm6, 0xaa
maxss xmm2, xmm5
movss dword [rdi + 0x1f0], xmm0
movss dword [rdi + 0x1f4], xmm2
movss xmm1, dword [rdi + 0x1f8]
movss xmm0, dword [rdi + 0x1fc]
minss xmm1, xmm3
minss xmm0, xmm8
movss dword [rdi + 0x1f8], xmm1
movss dword [rdi + 0x1fc], xmm0
movss xmm10, dword [rdi + 0x10]
movss xmm4, dword [rdi + 0x14]
movaps xmm7, xmm10
movss dword [rdi + 0x200], xmm10
movaps xmm9, xmm4
addss xmm9, xmm11
addss xmm7, dword [rdi + 0x18]
addss xmm4, dword [rdi + 0x1c]
movss dword [rdi + 0x204], xmm9
subss xmm7, dword [rdi + 0x74]
subss xmm4, dword [rdi + 0x78]
movss dword [rdi + 0x208], xmm7
movss dword [rdi + 0x20c], xmm4
cmp eax, 1
jne 0x180017718
movss xmm13, dword [rdi + 0x44]
jmp 0x180017721
movss xmm13, dword [rsi + 0x159c]
movss xmm14, dword [0x18004354c]
xorps xmm1, xmm1
movss xmm0, dword [rdi + 0x38]
addss xmm10, xmm14
mulss xmm0, xmm14
addss xmm9, xmm14
addss xmm7, xmm14
addss xmm4, xmm14
cvttss2si eax, xmm0
xorps xmm0, xmm0
addss xmm9, xmm13
subss xmm4, dword [rdi + 0x44]
cvtsi2ss xmm1, eax
maxss xmm1, dword [rdi + 0x44]
addss xmm10, xmm1
subss xmm7, xmm1
cvttss2si eax, xmm10
xorps xmm10, xmm10
cvtsi2ss xmm10, eax
cvttss2si eax, xmm9
movss dword [rdi + 0x210], xmm10
cvtsi2ss xmm0, eax
cvttss2si eax, xmm7
movss dword [rdi + 0x214], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
cvttss2si eax, xmm4
movss dword [rdi + 0x218], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movss dword [rdi + 0x21c], xmm0
movss xmm0, dword [rdi + 0x214]
comiss xmm5, xmm0
jbe 0x1800177ce
movaps xmm1, xmm5
jmp 0x1800177d6
movaps xmm1, xmm8
minss xmm1, xmm0
comiss xmm6, xmm10
jbe 0x1800177e1
movaps xmm0, xmm6
jmp 0x1800177e9
movaps xmm0, xmm3
minss xmm0, xmm10
movss dword [rdi + 0x210], xmm0
movss dword [rdi + 0x214], xmm1
movss xmm0, dword [rdi + 0x21c]
comiss xmm5, xmm0
ja 0x18001780f
minss xmm8, xmm0
movaps xmm5, xmm8
movss xmm0, dword [rdi + 0x218]
comiss xmm6, xmm0
jbe 0x180017821
movaps xmm3, xmm6
jmp 0x180017825
minss xmm3, xmm0
movss dword [rdi + 0x218], xmm3
movss dword [rdi + 0x21c], xmm5
movss xmm0, dword [rdi + 0x18]
comiss xmm0, xmm12
jbe 0x180017853
test r15d, 0x2000040
jne 0x180017853
mulss xmm0, dword [0x180043554]
jmp 0x180017863
movss xmm0, dword [rsi + 0x1910]
mulss xmm0, dword [0x1800435dc]
cvttss2si eax, xmm0
mov r8b, 1
lea rcx, [rbp - 0x78]
mov rdx, rdi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x258], xmm0
movss xmm0, dword [rdi + 0x208]
subss xmm0, dword [rdi + 0x200]
movss xmm1, dword [rdi + 0x38]
addss xmm1, xmm1
addss xmm1, dword [rdi + 0x28]
subss xmm1, xmm0
movaps xmm0, xmm12
maxss xmm0, xmm1
movss xmm1, dword [rdi + 0x3c]
addss xmm1, xmm1
movss dword [rdi + 0x5c], xmm0
movss xmm0, dword [rdi + 0x20c]
subss xmm0, dword [rdi + 0x204]
addss xmm1, dword [rdi + 0x2c]
subss xmm1, xmm0
movaps xmm0, xmm12
maxss xmm0, xmm1
movss dword [rdi + 0x60], xmm0
call fcn.1800194c0
mov rcx, qword [rdi + 0x2a8]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x54], xmm0
movss dword [rdi + 0x58], xmm1
mov dword [rdi + 0x64], 0x7f7fffff
mov dword [rdi + 0x68], 0x7f7fffff
call fcn.1800277d0
mov rax, qword [rsi + 0x1908]
mov rcx, qword [rdi + 0x2a8]
mov rdx, qword [rax + 0x48]
mov rdx, qword [rdx + 8]
call fcn.180027e90
mov rcx, qword [0x18004d188]
movaps xmm0, xmm6
unpckhpd xmm0, xmm6
xor r9d, r9d
movq r8, xmm0
movq rdx, xmm6
mov rax, qword [rcx + 0x1a18]
mov byte [rax + 0x80], 1
mov rbx, qword [rcx + 0x1a18]
mov rcx, qword [rbx + 0x2a8]
call fcn.180027ca0
mov rax, qword [rbx + 0x2a8]
movsxd rcx, dword [rax + 0x60]
mov rax, qword [rax + 0x68]
add rcx, rcx
movss xmm0, dword [rax + rcx*8 - 0xc]
movss xmm1, dword [rax + rcx*8 - 8]
movss xmm2, dword [rax + rcx*8 - 4]
mov eax, dword [rax + rcx*8 - 0x10]
mov dword [rbx + 0x230], eax
movss dword [rbx + 0x234], xmm0
movss dword [rbx + 0x238], xmm1
movss dword [rbx + 0x23c], xmm2
mov r9, qword [0x18004d188]
bt r15d, 0x1b
jae 0x180017a14
mov eax, dword [r9 + 0x1b60]
sub eax, 1
js 0x1800179fb
mov r8, qword [r9 + 0x1b68]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
mov rax, qword [r8]
test rax, rax
je 0x1800179f1
test dword [rax + 0xc], 0x8000000
jne 0x1800179fd
sub r8, 0x30
sub rdx, 1
jns 0x1800179e0
xor eax, eax
cmp rdi, rax
jne 0x180017a14
cmp dword [rdi + 0xa0], 0
jg 0x180017a14
mov cl, 1
mov edx, 0x3a0
jmp 0x180017a1b
xor cl, cl
mov edx, 0x390
mov rax, qword [rsi + 0x1bd0]
test rax, rax
je 0x180017a34
cmp rdi, qword [rax + 0x360]
jne 0x180017a34
mov bl, 1
jmp 0x180017a36
xor bl, bl
test cl, cl
jne 0x180017a42
test bl, bl
je 0x180017b8c
movups xmm1, xmmword [r9 + rdx + 0x1558]
lea rcx, [rbp - 0x78]
movss xmm0, dword [rsi + 0x1d38]
mulss xmm0, dword [r9 + 0x1558]
movups xmmword [rbp - 0x78], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x6c], xmm1
call fcn.18000ec20
mov rcx, qword [rdi + 0x2a8]
lea rdx, [rsp + 0x78]
mov r9d, eax
mov dword [rsp + 0x28], 0xf
lea r8, [rbp - 0x80]
movss dword [rsp + 0x20], xmm12
call fcn.180029f80
test bl, bl
je 0x180017b8c
movss xmm13, dword [rbp + 0xd0]
cmp rdi, qword [rsi + 0x1bd0]
jne 0x180017b95
movss xmm0, dword [rsi + 0x1910]
movss xmm2, dword [rdi + 0x10]
movss xmm3, dword [rdi + 0x14]
movaps xmm1, xmm2
addss xmm2, dword [rdi + 0x18]
movaps xmm4, xmm3
subss xmm1, xmm0
addss xmm3, dword [rdi + 0x1c]
subss xmm4, xmm0
addss xmm2, xmm0
comiss xmm12, xmm1
addss xmm3, xmm0
movss dword [rsp + 0x78], xmm1
movss dword [rbp - 0x80], xmm2
movss dword [rsp + 0x7c], xmm4
movss dword [rbp - 0x7c], xmm3
jb 0x180017b1c
comiss xmm12, xmm4
jb 0x180017b1c
comiss xmm2, xmm13
jb 0x180017b1c
comiss xmm3, dword [rsp + 0x64]
jae 0x180017b95
mov rax, qword [0x18004d188]
lea rcx, [rbp - 0x78]
movss xmm0, dword [rsi + 0x1be4]
mulss xmm0, dword [0x180043538]
movups xmm1, xmmword [rax + 0x18d8]
mulss xmm0, dword [rax + 0x1558]
movups xmmword [rbp - 0x78], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x6c], xmm1
call fcn.18000ec20
movss xmm0, dword [rsi + 0x1564]
lea r8, [rbp - 0x80]
mov rcx, qword [rdi + 0x2a8]
lea rdx, [rsp + 0x78]
mov r9d, eax
mov dword [rsp + 0x28], 0xf
movss dword [rsp + 0x20], xmm0
call fcn.180029f80
jmp 0x180017b95
movss xmm13, dword [rbp + 0xd0]
xor bl, bl
cmp r12d, 0x1000000
jne 0x180017bde
cmp dword [rsp + 0x40], 0x3000000
je 0x180017bde
mov rdx, qword [rdi + 0x2a8]
movsxd rax, dword [rdx]
imul rcx, rax, 0x38
mov rax, qword [rdx + 8]
cmp dword [rcx + rax - 0x38], 0
jne 0x180017bde
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x2a8]
cmp dword [rax + 0x20], 0
jle 0x180017bde
mov bl, 1
mov qword [rdi + 0x2a8], rax
mov rax, qword [rsi + 0x1bc8]
test rax, rax
jne 0x180017bf1
mov rax, qword [rsi + 0x1b80]
mov r12d, dword [rsp + 0x50]
test r12b, r12b
jne 0x180017c15
test rax, rax
je 0x180017c10
mov rax, qword [rax + 0x368]
cmp qword [rdi + 0x368], rax
je 0x180017c15
xor r8b, r8b
jmp 0x180017c18
mov r8b, 1
movss xmm0, dword [rsp + 0x44]
lea rax, [rbp - 0x40]
movss dword [rsp + 0x28], xmm0
lea r9d, [r13 + 1]
lea rdx, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov rcx, rdi
call fcn.180015830
test bl, bl
je 0x180017c4f
lea rax, [rdi + 0x2b0]
mov qword [rdi + 0x2a8], rax
cmp qword [rsi + 0x1bd0], rdi
jne 0x180017dd4
movss xmm1, dword [rsi + 0x1910]
movss xmm7, dword [rdi + 0x10]
movss xmm6, dword [rdi + 0x14]
movaps xmm9, xmm7
addss xmm7, dword [rdi + 0x18]
movss xmm2, dword [rdi + 0x40]
subss xmm9, xmm1
movaps xmm8, xmm6
movaps xmm10, xmm2
addss xmm6, dword [rdi + 0x1c]
maxss xmm10, dword [rsi + 0x1564]
subss xmm8, xmm1
comiss xmm12, xmm9
addss xmm7, xmm1
addss xmm6, xmm1
jb 0x180017ceb
comiss xmm12, xmm8
jb 0x180017ceb
comiss xmm7, xmm13
jb 0x180017ceb
comiss xmm6, dword [rsp + 0x64]
jb 0x180017ceb
xorps xmm1, xmmword [0x180043820]
movaps xmm10, xmm2
subss xmm1, dword [0x180043578]
movaps xmm0, xmm1
subss xmm9, xmm1
subss xmm8, xmm1
addss xmm0, xmm7
addss xmm1, xmm6
movaps xmm7, xmm0
movaps xmm6, xmm1
mov rax, qword [0x18004d188]
lea rcx, [rbp - 0x40]
movss xmm0, dword [rsi + 0x1be4]
mov rbx, qword [rdi + 0x2a8]
movups xmm1, xmmword [rax + 0x18d8]
mulss xmm0, dword [rax + 0x1558]
movups xmmword [rbp - 0x40], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x34], xmm1
call fcn.18000ec20
mov r14d, eax
test eax, 0xff000000
je 0x180017dd4
test byte [rbx + 0x30], 1
addss xmm9, xmm14
addss xmm8, xmm14
mov dword [rsp + 0x20], 0xffffffff
movaps xmm3, xmm10
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x38]
mov rcx, rbx
movss dword [rsp + 0x38], xmm9
movss dword [rsp + 0x3c], xmm8
je 0x180017d7b
subss xmm7, xmm14
subss xmm6, xmm14
jmp 0x180017d8b
subss xmm7, dword [0x180043548]
subss xmm6, dword [0x180043548]
movss dword [rsp + 0x58], xmm7
movss dword [rsp + 0x5c], xmm6
call fcn.1800299a0
movss xmm0, dword [0x1800435b0]
mov r9d, r14d
mov r8d, dword [rbx + 0x80]
mov rcx, rbx
mov rdx, qword [rbx + 0x88]
movss dword [rsp + 0x28], xmm0
mov byte [rsp + 0x20], 1
call fcn.180028160
xor r14d, r14d
mov dword [rbx + 0x80], r14d
jmp 0x180017dd7
xor r14d, r14d
movss xmm6, dword [rdi + 0x30]
mov ecx, r15d
movaps xmm14, xmmword [rsp + 0xe0]
shr ecx, 3
not cl
and cl, 1
ucomiss xmm6, xmm12
jp 0x180017e36
jne 0x180017e36
movss xmm0, dword [rdi + 0x38]
mov eax, r15d
movss xmm1, dword [rdi + 0x18]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [rdi + 0x74]
cmp eax, 0x800
jne 0x180017e2b
movss xmm8, dword [rdi + 0x28]
maxss xmm8, xmm1
jmp 0x180017e3a
movaps xmm8, xmm12
maxss xmm8, xmm1
jmp 0x180017e3a
movaps xmm8, xmm6
movss xmm5, dword [rdi + 0x34]
ucomiss xmm5, xmm12
jp 0x180017e7c
jne 0x180017e7c
movss xmm0, dword [rdi + 0x3c]
movss xmm1, dword [rdi + 0x1c]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, xmm11
subss xmm1, dword [rdi + 0x78]
test cl, cl
je 0x180017e72
movss xmm7, dword [rdi + 0x2c]
maxss xmm7, xmm1
jmp 0x180017e7f
movaps xmm7, xmm12
maxss xmm7, xmm1
jmp 0x180017e7f
movaps xmm7, xmm5
ucomiss xmm6, xmm12
movss xmm4, dword [rdi + 0x38]
movss xmm10, dword [rdi + 0x54]
movaps xmm1, xmm4
maxss xmm1, dword [rdi + 0x44]
movss xmm0, dword [rdi + 0x200]
movss xmm9, dword [rdi + 0x3c]
subss xmm0, xmm10
movss xmm13, dword [rdi + 0x58]
addss xmm1, xmm0
movss xmm0, dword [rdi + 0x204]
subss xmm0, xmm13
cvttss2si eax, xmm1
movaps xmm1, xmm9
maxss xmm1, dword [rdi + 0x44]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
addss xmm1, xmm0
movss dword [rdi + 0x220], xmm3
addss xmm3, xmm8
movaps xmm8, xmmword [rsp + 0x140]
cvttss2si eax, xmm1
movss dword [rdi + 0x228], xmm3
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [rdi + 0x224], xmm2
addss xmm2, xmm7
movss xmm7, dword [rdi + 0x14]
movaps xmm1, xmm7
subss xmm1, xmm13
movss dword [rdi + 0x22c], xmm2
movss xmm2, dword [rdi + 0x10]
movaps xmm3, xmm2
subss xmm3, xmm10
addss xmm1, xmm9
addss xmm3, xmm4
addss xmm1, xmm11
movss dword [rdi + 0x240], xmm3
movss dword [rdi + 0x244], xmm1
jp 0x180017f66
jne 0x180017f66
movss xmm6, dword [rdi + 0x18]
movaps xmm0, xmm4
addss xmm0, xmm4
subss xmm6, xmm0
subss xmm6, dword [rdi + 0x74]
ucomiss xmm5, xmm12
addss xmm3, xmm6
movaps xmm6, xmmword [rsp + 0x160]
movss dword [rdi + 0x248], xmm3
jp 0x180017f9e
jne 0x180017f9e
movss xmm5, dword [rdi + 0x1c]
movaps xmm0, xmm9
addss xmm0, xmm9
subss xmm5, xmm0
subss xmm5, xmm11
subss xmm5, dword [rdi + 0x78]
mov qword [rdi + 0x1e0], 0
addss xmm11, xmm9
movaps xmm9, xmmword [rsp + 0x130]
addss xmm4, xmm12
addss xmm1, xmm5
subss xmm11, xmm13
movaps xmm13, xmmword [rsp + 0xf0]
subss xmm4, xmm10
movaps xmm10, xmmword [rsp + 0x120]
movss dword [rdi + 0x24c], xmm1
addss xmm11, xmm7
movaps xmm7, xmmword [rsp + 0x150]
movss dword [rdi + 0x1dc], xmm4
addss xmm4, xmm12
movss dword [rdi + 0xe4], xmm11
movss dword [rdi + 0xd4], xmm11
addss xmm4, xmm2
movss dword [rdi + 0xdc], xmm11
movss dword [rdi + 0xe0], xmm4
movss dword [rdi + 0xd0], xmm4
movss dword [rdi + 0xd8], xmm4
movss dword [rdi + 0xe8], xmm4
movss dword [rdi + 0xec], xmm11
movaps xmm11, xmmword [rsp + 0x110]
mov qword [rdi + 0xf8], 0
mov qword [rdi + 0xf0], 0
mov qword [rdi + 0x100], 0
mov byte [rdi + 0x148], 0
movss xmm0, dword [rdi + 0x60]
comiss xmm0, xmm12
seta al
mov byte [rdi + 0x149], al
mov eax, dword [rdi + 0x144]
mov dword [rdi + 0x140], eax
mov dword [rdi + 0x144], r14d
mov byte [rdi + 0x14a], 0
mov ecx, dword [rdi + 0x15c]
test ecx, ecx
jns 0x1800180ca
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x158]
test eax, eax
cmovg edx, eax
call fcn.18001ebb0
mov r13, qword [rsp + 0x68]
mov eax, 1
mov dword [rdi + 0x158], r14d
mov dword [rdi + 0x170], eax
test r13, r13
je 0x180018107
mov eax, dword [r13 + 0x170]
mov dword [rdi + 0x174], eax
mov qword [rdi + 0x178], 0xffffffffffffffff
mov eax, dword [r13 + 0x180]
jmp 0x18001811b
mov dword [rdi + 0x174], eax
mov eax, r14d
mov qword [rdi + 0x178], 0xffffffffffffffff
mov dword [rdi + 0x180], eax
lea rcx, [rdi + 0x190]
mov eax, dword [rdi + 0x258]
xor edx, edx
mov dword [rdi + 0x184], eax
mov dword [rdi + 0x188], 0xbf800000
call fcn.18001ee00
lea rcx, [rdi + 0x1a0]
call fcn.18001eee0
lea rcx, [rdi + 0x1b0]
call fcn.18001eee0
xor eax, eax
lea rcx, [rdi + 0x1c0]
mov qword [rdi + 0x1e8], rax
xor edx, edx
mov qword [rdi + 0x108], rax
lea rax, [rdi + 0x280]
mov qword [rdi + 0x168], rax
call fcn.18001e700
movss xmm0, dword [rsi + 0x15a0]
xor edx, edx
movss dword [rdi + 0x25c], xmm0
mov qword [rdi + 0x260], rdx
cmp byte [rbp + 0xd8], dl
je 0x1800181b9
xor eax, eax
mov qword [rdi + 0x274], rax
mov dword [rdi + 0x27c], eax
movss xmm1, dword [rdi + 0x260]
cvttss2si eax, xmm1
addss xmm1, dword [rdi + 0x274]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x268], xmm0
movss dword [rdi + 0x260], xmm1
mov dword [rdi + 0x274], edx
movss xmm0, dword [rdi + 0x278]
comiss xmm0, xmm12
jbe 0x180018210
movss xmm0, dword [rdi + 0x25c]
addss xmm0, dword [rdi + 0x260]
movss dword [rdi + 0x260], xmm0
movss xmm1, dword [rdi + 0x260]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x26c], xmm0
addss xmm1, dword [rdi + 0x278]
movss dword [rdi + 0x260], xmm1
mov dword [rdi + 0x278], edx
movss xmm0, dword [rdi + 0x27c]
comiss xmm0, xmm12
jbe 0x180018257
addss xmm1, dword [rdi + 0x25c]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x270], xmm0
addss xmm1, dword [rdi + 0x27c]
movss dword [rdi + 0x260], xmm1
mov dword [rdi + 0x27c], edx
cmp dword [rsp + 0x4c], edx
je 0x1800182ae
mov eax, dword [r13 + 0x180]
cmp dword [rdi + 0x180], eax
je 0x1800182ae
lea rdx, [rdi + 0x180]
mov dword [rdi + 0x180], eax
lea rcx, [rdi + 0x190]
call fcn.18001ed30
movzx eax, byte [rdi + 0x94]
test al, al
jle 0x1800182c1
dec al
mov byte [rdi + 0x94], al
movzx eax, byte [rdi + 0x95]
test al, al
jle 0x1800182d4
dec al
mov byte [rdi + 0x95], al
test r12b, r12b
je 0x18001837a
mov rcx, rdi
call fcn.1800187f0
mov eax, dword [rdi + 0xc]
mov rdx, qword [0x18004d188]
bt eax, 0x12
jb 0x18001836e
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x18001830a
cmp dword [rdi + 0x380], 0
jne 0x18001836e
movsxd rcx, dword [rdx + 0x1bec]
xor r14d, r14d
mov rax, qword [rdx + 0x1b80]
mov dword [rdx + 0x1b88], r14d
mov dword [rax + rcx*4 + 0x380], r14d
mov word [rdx + 0x1bf9], 1
mov qword [rdx + 0x1bfc], r14
mov qword [rdx + 0x1c04], r14
mov dword [rdx + 0x1c0c], r14d
cmp byte [rdx + 0x1c11], r14b
jne 0x180018364
cmp byte [rdx + 0x1bf9], r14b
jne 0x180018364
xor al, al
mov byte [rdx + 0x1bf8], al
jmp 0x18001837d
mov al, 1
mov byte [rdx + 0x1bf8], al
jmp 0x18001837d
mov eax, dword [rdi + 0x380]
mov dword [rdx + 0x1b88], eax
xor r14d, r14d
test r15b, 1
jne 0x180018396
mov r8, qword [rbp + 0xc0]
lea rdx, [rbp - 0x68]
mov rcx, rdi
call fcn.180015ec0
mov rbx, qword [0x18004d188]
mov eax, dword [rdi + 0x4c]
movss xmm2, dword [rbp + 0xc8]
movss xmm3, dword [rsp + 0x60]
movss xmm4, dword [rbp - 0x64]
mov dword [rdi + 0x110], eax
movss xmm1, dword [rbx + 0x15b0]
movss xmm0, dword [rbx + 0x15b4]
subss xmm15, xmm1
addss xmm2, xmm1
movss xmm1, dword [rbx + 0x130]
addss xmm3, xmm0
subss xmm4, xmm0
comiss xmm1, xmm15
movaps xmm15, xmmword [rsp + 0xd0]
jb 0x180018413
movss xmm0, dword [rbx + 0x134]
comiss xmm0, xmm4
jb 0x180018413
comiss xmm2, xmm1
jbe 0x180018413
comiss xmm3, xmm0
jbe 0x180018413
mov r12d, 1
mov eax, r12d
jmp 0x18001841c
mov eax, r14d
mov r12d, 1
movups xmm0, xmmword [rbp - 0x68]
mov r14d, dword [rsp + 0x4c]
mov r15d, dword [rbp - 0x58]
mov dword [rdi + 0x114], eax
movups xmmword [rdi + 0x118], xmm0
jmp 0x180018490
mov rbx, qword [0x18004d188]
movss xmm0, dword [rbx + 0x1914]
mov qword [rbx + 0x1a18], rdi
mov rax, qword [rdi + 0x358]
mulss xmm0, dword [rdi + 0x2a0]
test rax, rax
je 0x18001846a
mulss xmm0, dword [rax + 0x2a0]
mov r13, qword [rsp + 0x68]
mov r14d, r15d
and r14d, 0x1000000
movss dword [rbx + 0x1928], xmm0
and r15d, 0x40
movss dword [rbx + 0x1910], xmm0
mov r12d, r8d
mov rax, qword [rbx + 0x1a18]
mov r9b, 1
mov byte [rax + 0x80], 1
mov rbx, qword [rbx + 0x1a18]
mov r8, qword [rdi + 0x218]
mov rdx, qword [rdi + 0x210]
mov rcx, qword [rbx + 0x2a8]
call fcn.180027ca0
mov rax, qword [rbx + 0x2a8]
movsxd rcx, dword [rax + 0x60]
mov rax, qword [rax + 0x68]
add rcx, rcx
movss xmm0, dword [rax + rcx*8 - 0xc]
movss xmm1, dword [rax + rcx*8 - 8]
movss xmm2, dword [rax + rcx*8 - 4]
mov eax, dword [rax + rcx*8 - 0x10]
mov dword [rbx + 0x230], eax
mov eax, dword [rsp + 0x70]
movss dword [rbx + 0x234], xmm0
movss dword [rbx + 0x238], xmm1
movss dword [rbx + 0x23c], xmm2
mov rbx, qword [rsp + 0x198]
cmp eax, dword [rsp + 0x74]
je 0x180018521
mov byte [rdi + 0x80], 0
inc word [rdi + 0x88]
test r14d, r14d
mov dword [rsi + 0x1ab8], 0
mov r14, qword [rsp + 0x180]
je 0x180018620
test r15d, r15d
jne 0x180018589
cmp byte [rdi + 0x94], r15b
jg 0x180018589
cmp byte [rdi + 0x95], r15b
jg 0x180018589
movss xmm0, dword [rdi + 0x1f0]
comiss xmm0, dword [rdi + 0x1f8]
jae 0x18001857c
movss xmm0, dword [rdi + 0x1f4]
comiss xmm0, dword [rdi + 0x1fc]
jb 0x180018589
mov ecx, 1
mov dword [rdi + 0x9c], ecx
jmp 0x18001858e
mov ecx, 1
lea rax, [rdi + 0x9c]
test r13, r13
je 0x1800185da
cmp byte [r13 + 0x81], 0
jne 0x1800185b7
cmp dword [r13 + 0x9c], 0
jg 0x1800185b7
lea rax, [rdi + 0x9c]
jmp 0x1800185c0
lea rax, [rdi + 0x9c]
mov dword [rax], ecx
cmp byte [r13 + 0x81], 0
jne 0x1800185d4
cmp dword [r13 + 0xa0], 0
jle 0x1800185da
mov dword [rdi + 0xa0], ecx
mov r12d, 1
comiss xmm12, dword [rsi + 0x1558]
mov rsi, qword [rsp + 0x190]
mov r15, qword [rsp + 0x178]
mov r13, qword [rsp + 0x188]
movaps xmm12, xmmword [rsp + 0x100]
jb 0x18001860e
mov dword [rax], r12d
cmp dword [rax], 0
jg 0x180018629
cmp dword [rdi + 0xa0], 0
jg 0x180018629
xor cl, cl
jmp 0x18001862b
lea rax, [rdi + 0x9c]
jmp 0x1800185e0
mov cl, 1
xor al, al
mov byte [rdi + 0x85], cl
cmp byte [rdi + 0x81], al
jne 0x180018644
cmp byte [rdi + 0x7e], al
je 0x180018644
test cl, cl
je 0x180018662
cmp byte [rdi + 0x94], al
jg 0x180018662
cmp byte [rdi + 0x95], al
jg 0x180018662
cmp dword [rdi + 0xa0], 0
movzx eax, al
cmovle eax, r12d
mov byte [rdi + 0x83], al
xor al, 1
add rsp, 0x1a0
pop r12
pop rdi
pop rbp
ret