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

Disassembly:
mov r11, rsp
push rbp
push rbx
push rdi
lea rbp, [r11 - 0xa8]
sub rsp, 0x190
mov rax, qword [0x18006a040]
xor rax, rsp
mov qword [rbp - 0x40], rax
mov qword [r11 + 0x10], rsi
mov rbx, rcx
mov rsi, qword [0x18006adb0]
mov qword [r11 - 0x20], r12
mov qword [r11 - 0x28], r13
mov qword [r11 - 0x30], r14
mov r14d, r8d
mov qword [r11 - 0x38], r15
movaps xmmword [r11 - 0x88], xmm10
mov qword [rbp - 0x68], rcx
call fcn.18001f570
test rax, rax
mov qword [rsp + 0x50], rax
mov rdi, rax
xorps xmm10, xmm10
sete byte [rsp + 0x32]
test rax, rax
jne 0x180021c70
mov ecx, dword [rsi + 0x1ab8]
and ecx, 2
je 0x180021c38
movsd xmm0, qword [rsi + 0x1ad8]
movsd qword [rsp + 0x38], xmm0
jmp 0x180021c41
mov qword [rsp + 0x48], 0
test ecx, ecx
lea rdx, [rsp + 0x38]
lea rax, [rsp + 0x48]
mov r8d, r14d
cmovne rax, rdx
mov rcx, rbx
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax]
unpcklps xmm0, xmm1
movq rdx, xmm0
call fcn.18001f640
mov rdi, rax
mov ecx, r14d
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x180021c85
or r14d, 6
mov r13d, dword [rsi + 0x19b0]
mov r12d, dword [rdi + 0x250]
lea eax, [r13 - 1]
cmp r12d, eax
mov eax, dword [rdi + 0xa0]
mov dword [rsp + 0x40], eax
setl dl
mov byte [rsp + 0x33], dl
bt r14d, 0x1a
jae 0x180021ce6
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
mov eax, dword [rsp + 0x40]
or dl, cl
mov byte [rsp + 0x33], dl
test dl, dl
jne 0x180021cf6
test eax, eax
jg 0x180021cf6
mov byte [rdi + 0x84], dl
jmp 0x180021d12
or dword [rdi + 0xa4], 8
or dword [rdi + 0xa8], 8
or dword [rdi + 0xac], 8
mov byte [rdi + 0x84], 1
xor ecx, ecx
cmp r12d, r13d
je 0x180021d55
mov dword [rdi + 0xc], r14d
mov dword [rdi + 0x250], r13d
movsd xmm0, qword [rsi + 0x19a8]
mov word [rdi + 0x8a], cx
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x254], xmm0
movzx eax, word [rsi + 0x1a10]
mov word [rdi + 0x8c], ax
inc dword [rsi + 0x1a10]
jmp 0x180021d59
mov r14d, dword [rdi + 0xc]
lea r15, [rsi + 0x19f0]
movsxd rax, dword [r15]
test eax, eax
jne 0x180021d6c
mov rax, rcx
jmp 0x180021d7d
mov rcx, rax
mov rax, qword [rsi + 0x19f8]
mov rax, qword [rax + rcx*8 - 8]
xor ecx, ecx
cmp r12d, r13d
je 0x180021d8f
test r14d, 0x5000000
cmovne rcx, rax
jmp 0x180021d96
mov rcx, qword [rdi + 0x358]
lea rbx, [rdi + 0xc0]
mov qword [rsp + 0x48], rcx
cmp dword [rbx], 0
mov eax, 8
jne 0x180021dd0
cmp dword [rbx + 4], 0
jne 0x180021dbc
mov edx, eax
mov rcx, rbx
call fcn.18002b490
mov eax, dword [rdi + 8]
movsxd rdx, dword [rbx]
mov rcx, qword [rbx + 8]
mov dword [rcx + rdx*4], eax
mov eax, 8
inc dword [rbx]
mov ecx, dword [r15 + 4]
mov r8d, dword [r15]
cmp r8d, ecx
jne 0x180021dfe
inc r8d
test ecx, ecx
je 0x180021dec
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
cmp eax, r8d
mov rcx, r15
cmovg r8d, eax
mov edx, r8d
call fcn.18002b000
movsxd rcx, dword [r15]
lea rdx, [rdi + 0x1d0]
mov rax, qword [r15 + 8]
mov qword [rax + rcx*8], rdi
inc dword [r15]
xor r15d, r15d
mov rcx, qword [0x18006adb0]
mov qword [rsi + 0x1a18], r15
movzx eax, word [rbx]
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
bt r14d, 0x1a
jae 0x180021e95
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.18002ada0
mov eax, dword [rbx]
mov dword [rdi + 0x90], eax
cmp dword [rsp + 0x40], r15d
jle 0x180021eaa
bt r14d, 0x18
jb 0x180021eaa
mov dword [rdi + 0x380], r15d
test byte [rsi + 0x1ab8], 1
mov byte [rsp + 0x31], r15b
mov byte [rsp + 0x34], r15b
mov byte [rsp + 0x30], r15b
je 0x180021f3b
mov r8d, dword [rsi + 0x1abc]
mov ecx, dword [rdi + 0xa4]
test r8d, ecx
setne byte [rsp + 0x31]
test r8d, ecx
je 0x180021f2c
movss xmm0, dword [rsi + 0x1ad4]
movss xmm1, dword [rsi + 0x1ad0]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x180060294]
jbe 0x180021f2c
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 0x180021f3b
lea rdx, [rsi + 0x1ac8]
mov rcx, rdi
call fcn.1800245e0
test byte [rsi + 0x1ab8], 2
je 0x180021f9c
mov r8d, dword [rsi + 0x1ac0]
mov eax, r8d
and eax, dword [rdi + 0xa8]
je 0x180021f6b
movss xmm0, dword [rsi + 0x1ad8]
comiss xmm0, xmm10
jbe 0x180021f6b
mov byte [rsp + 0x34], 1
jmp 0x180021f75
xor cl, cl
mov byte [rsp + 0x34], cl
test eax, eax
je 0x180021f88
movss xmm0, dword [rsi + 0x1adc]
comiss xmm0, xmm10
mov byte [rsp + 0x30], 1
ja 0x180021f8d
mov byte [rsp + 0x30], r15b
lea rdx, [rsi + 0x1ad8]
mov rcx, rdi
call fcn.1800246b0
test byte [rsi + 0x1ab8], 4
je 0x180021fb4
movsd xmm0, qword [rsi + 0x1ae0]
movsd qword [rdi + 0x30], xmm0
jmp 0x180021fbd
cmp r12d, r13d
je 0x180021fbd
mov qword [rdi + 0x30], r15
test byte [rsi + 0x1ab8], 8
je 0x180021fec
mov eax, dword [rsi + 0x1ac4]
movzx ecx, byte [rsi + 0x1ae8]
test eax, eax
je 0x180021fdf
test dword [rdi + 0xac], eax
je 0x180021fec
and dword [rdi + 0xac], 0xfffffff1
mov byte [rdi + 0x81], cl
test byte [rsi + 0x1ab8], 0x20
je 0x180021ffd
mov rcx, rdi
call fcn.180023f00
cmp byte [rdi + 0x84], r15b
je 0x18002201b
and dword [rdi + 0xa4], 0xfffffff7
and dword [rdi + 0xa8], 0xfffffff7
and dword [rdi + 0xac], 0xfffffff7
mov ebx, 1
cmp r12d, r13d
je 0x180023c6e
mov r13, qword [rsp + 0x48]
mov eax, r14d
movaps xmmword [rsp + 0x160], xmm6
and eax, 0x3000000
movaps xmmword [rsp + 0x150], xmm7
movaps xmmword [rsp + 0x140], xmm8
movaps xmmword [rsp + 0x130], xmm9
movaps xmmword [rsp + 0x110], xmm11
movaps xmmword [rsp + 0x100], xmm12
movaps xmmword [rsp + 0xf0], xmm13
movaps xmmword [rsp + 0xe0], xmm14
movaps xmmword [rsp + 0xd0], xmm15
mov dword [rsp + 0x44], eax
mov qword [rdi + 0x358], r13
mov qword [rdi + 0x370], rdi
mov qword [rdi + 0x368], rdi
mov qword [rdi + 0x360], rdi
test r13, r13
je 0x1800220dd
cmp eax, 0x1000000
jne 0x1800220bf
mov rax, qword [r13 + 0x360]
mov qword [rdi + 0x360], rax
bt r14d, 0x1b
jb 0x1800220dd
test r14d, 0x5000000
je 0x1800220dd
mov rax, qword [r13 + 0x368]
mov qword [rdi + 0x368], rax
test dword [rdi + 0xc], 0x800000
je 0x18002210a
mov rcx, rdi
nop dword [rax]
mov rax, qword [rcx + 0x358]
mov qword [rdi + 0x370], rax
mov rcx, rax
test dword [rax + 0xc], 0x800000
jne 0x1800220f0
mov byte [rdi + 0x7e], bl
mov byte [rdi + 0x86], r15b
mov dword [rdi + 0x230], 0xff7fffff
mov dword [rdi + 0x234], 0xff7fffff
mov dword [rdi + 0x238], 0x7f7fffff
mov dword [rdi + 0x23c], 0x7f7fffff
mov ecx, dword [rdi + 0xc4]
cmp ecx, ebx
jge 0x180022172
test ecx, ecx
je 0x180022155
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18002215a
mov eax, 8
cmp eax, ebx
lea rcx, [rdi + 0xc0]
mov edx, ebx
mov r12d, ebx
cmovg edx, eax
call fcn.18002b490
jmp 0x180022175
mov r12d, ebx
mov dword [rdi + 0xc0], r12d
cmp byte [rdi + 0x3a8], r15b
je 0x1800221bf
mov rcx, qword [rdi + 0x2a8]
mov edx, dword [rdi + 0x3ac]
add rcx, 0x10
mov byte [rdi + 0x3a8], r15b
call fcn.180005220
mov rcx, qword [rdi + 0x2a8]
mov edx, dword [rdi + 0x3b0]
add rcx, 0x20
call fcn.18002b190
mov qword [rdi + 0x3ac], r15
mov r8, qword [rsp + 0x50]
cmp qword [rsi + 0x1bd8], r15
je 0x18002229b
test dword [rdi + 0xc], 0x80000
jne 0x18002229b
test r8, r8
je 0x18002229b
mov r12, qword [rbp - 0x68]
mov r9, qword [rdi]
mov rax, r12
mov r8, r9
sub r8, r12
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180022213
inc rax
test ecx, ecx
jne 0x180022200
test edx, edx
je 0x180022293
movsxd r15, dword [rdi + 0x48]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r12 + rbx], 0
jne 0x180022222
inc rbx
cmp r15, rbx
jae 0x180022275
test r9, r9
je 0x18002224b
mov rax, qword [0x18006adb0]
test rax, rax
je 0x18002224b
dec dword [rax + 0x3bc]
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x18006adb0]
test rax, rax
je 0x180022266
inc dword [rax + 0x3bc]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9, rax
mov r15, rbx
mov r8, rbx
mov rdx, r12
mov rcx, r9
call sub.VCRUNTIME140.dll_memcpy
mov dword [rdi + 0x48], r15d
xor r15d, r15d
mov qword [rdi], rax
lea r12d, [r15 + 1]
jmp 0x180022296
mov r12d, ebx
mov r8, qword [rsp + 0x50]
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.18001fd00
movsd xmm3, qword [rax]
mov eax, dword [rdi + 0x9c]
movsd qword [rdi + 0x28], xmm3
test eax, eax
jle 0x1800222c3
dec eax
mov dword [rdi + 0x9c], eax
mov eax, dword [rdi + 0xa0]
test eax, eax
jle 0x1800222d5
dec eax
mov dword [rdi + 0xa0], eax
movzx ebx, byte [rsp + 0x34]
test r8, r8
jne 0x1800222f1
test bl, bl
je 0x1800222ea
cmp byte [rsp + 0x30], r8b
jne 0x1800222f1
mov dword [rdi + 0xa0], r12d
cmp byte [rsp + 0x33], 0
je 0x18002233d
test r14d, 0x6000000
je 0x18002233d
mov dword [rdi + 0xa0], r12d
test r14b, 0x40
je 0x18002233d
test bl, bl
jne 0x18002231a
mov dword [rdi + 0x20], r15d
mov dword [rdi + 0x18], r15d
movzx r15d, byte [rsp + 0x30]
test r15b, r15b
jne 0x180022333
mov dword [rdi + 0x24], 0
mov dword [rdi + 0x1c], 0
mov qword [rdi + 0x28], 0
jmp 0x180022343
movzx r15d, byte [rsp + 0x30]
mov rax, qword [0x18006adb0]
movss xmm0, dword [rax + 0x1914]
mov qword [rax + 0x1a18], rdi
mov rcx, qword [rdi + 0x358]
mulss xmm0, dword [rdi + 0x2a0]
test rcx, rcx
je 0x180022375
mulss xmm0, dword [rcx + 0x2a0]
movss dword [rax + 0x1928], xmm0
movss dword [rax + 0x1910], xmm0
bt r14d, 0x18
jae 0x180022396
movss xmm1, dword [rsi + 0x1584]
jmp 0x1800223b8
test r14d, 0x6000000
je 0x1800223b0
bt r14d, 0x1b
jb 0x1800223b0
movss xmm1, dword [rsi + 0x158c]
jmp 0x1800223b8
movss xmm1, dword [rsi + 0x1568]
mov rax, rdi
movss dword [rax + 0x44], xmm1
mov eax, r14d
movsd xmm0, qword [rsi + 0x155c]
and eax, 0x5010000
movsd qword [rdi + 0x38], xmm0
cmp eax, 0x1000000
jne 0x180022405
ucomiss xmm1, xmm10
jp 0x180022405
jne 0x180022405
bt r14d, 0xa
jae 0x1800223f5
movss xmm0, dword [rsi + 0x1560]
jmp 0x1800223f9
movaps xmm0, xmm10
movss dword [rdi + 0x3c], xmm0
mov dword [rdi + 0x38], 0
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 r14b, 0x21
jne 0x18002257a
test byte [rdi + 0xc], 1
mov rcx, qword [0x18006adb0]
je 0x18002244b
movaps xmm2, xmm10
jmp 0x18002247f
mov rax, qword [rdi + 0x358]
movss xmm0, dword [rcx + 0x1914]
mulss xmm0, dword [rdi + 0x2a0]
test rax, rax
je 0x18002246f
mulss xmm0, dword [rax + 0x2a0]
movss xmm2, dword [rcx + 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 0x180022534
cmp dword [rsi + 0x1a4c], 0
jne 0x180022534
cmp dword [rsi + 0x1a54], 0
jne 0x180022534
mov rax, qword [rcx + 0x1a18]
movss xmm1, dword [rcx + 0x15b0]
movss xmm0, dword [rcx + 0x15b4]
movss xmm6, dword [rcx + 0x130]
maxss xmm4, dword [rax + 0x230]
maxss xmm5, dword [rax + 0x234]
minss xmm3, dword [rax + 0x238]
minss xmm2, dword [rax + 0x23c]
subss xmm4, xmm1
subss xmm5, xmm0
addss xmm3, xmm1
addss xmm2, xmm0
comiss xmm6, xmm4
jb 0x180022534
movss xmm0, dword [rcx + 0x134]
comiss xmm0, xmm5
jb 0x180022534
comiss xmm3, xmm6
jbe 0x180022534
comiss xmm2, xmm0
jbe 0x180022534
cmp byte [rsi + 0x425], 0
je 0x180022534
mov byte [rdi + 0x82], 1
cmp byte [rdi + 0x82], 0
je 0x180022581
cmp byte [rdi + 0x81], 0
mov rcx, qword [0x18006adb0]
sete al
test dword [rdi + 0xc], 0x100
mov byte [rdi + 0x81], al
jne 0x180022570
comiss xmm10, dword [rcx + 0x2ef8]
jb 0x180022570
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x2ef8], eax
mov rcx, rdi
call fcn.180023f00
jmp 0x180022581
mov byte [rdi + 0x81], 0
lea r8, [rdi + 0x28]
mov byte [rdi + 0x82], 0
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.18001fdc0
movzx r12d, byte [rsp + 0x32]
test r14b, 0x40
je 0x1800225de
cmp byte [rdi + 0x81], 0
jne 0x1800225de
test bl, bl
jne 0x1800225c2
movss xmm0, dword [rsp + 0x48]
movss dword [rdi + 0x20], xmm0
mov byte [rsp + 0x32], 1
test r15b, r15b
jne 0x180022681
movss xmm0, dword [rsp + 0x4c]
mov r12b, 1
movss dword [rdi + 0x24], xmm0
jmp 0x180022681
movzx eax, byte [rdi + 0x94]
test al, al
jg 0x1800225f6
cmp byte [rdi + 0x95], 0
jle 0x180022681
test bl, bl
jne 0x180022623
test al, al
jle 0x180022623
cmp byte [rdi + 0x97], bl
je 0x180022613
movss xmm0, dword [rdi + 0x20]
maxss xmm0, dword [rsp + 0x48]
jmp 0x180022619
movss xmm0, dword [rsp + 0x48]
movss dword [rdi + 0x20], xmm0
mov byte [rsp + 0x32], 1
test r15b, r15b
jne 0x180022655
cmp byte [rdi + 0x95], r15b
jle 0x180022655
cmp byte [rdi + 0x97], r15b
je 0x180022647
movss xmm0, dword [rdi + 0x24]
maxss xmm0, dword [rsp + 0x4c]
jmp 0x18002264d
movss xmm0, dword [rsp + 0x4c]
movss dword [rdi + 0x24], xmm0
mov r12b, 1
cmp byte [rdi + 0x81], 0
jne 0x180022681
test dword [rdi + 0xc], 0x100
mov rcx, qword [0x18006adb0]
jne 0x180022681
comiss xmm10, dword [rcx + 0x2ef8]
jb 0x180022681
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x2ef8], eax
mov r8, qword [rdi + 0x20]
lea rcx, [rsp + 0x78]
mov rdx, rdi
call fcn.18001fa60
cmp byte [rdi + 0x81], 0
mov rbx, qword [0x18006adb0]
movsd xmm0, qword [rax]
movsd qword [rdi + 0x20], xmm0
je 0x18002271b
bt r14d, 0x18
jb 0x18002271b
test byte [rdi + 0xc], 1
je 0x1800226be
movaps xmm2, xmm10
jmp 0x1800226f2
mov rax, qword [rdi + 0x358]
movss xmm0, dword [rbx + 0x1914]
mulss xmm0, dword [rdi + 0x2a0]
test rax, rax
je 0x1800226e2
mulss xmm0, dword [rax + 0x2a0]
movss xmm2, dword [rbx + 0x1594]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm1, dword [rdi + 0x10]
addss xmm2, dword [rdi + 0x14]
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x20]
subss xmm2, dword [rdi + 0x14]
subss xmm0, xmm1
movss dword [rsp + 0x3c], xmm2
movss dword [rsp + 0x38], xmm0
jmp 0x180022725
movsd xmm0, qword [rax]
movsd qword [rsp + 0x38], xmm0
mov ecx, dword [rdi + 0xc]
lea rax, [rsp + 0x38]
movsd xmm0, qword [rax]
movsd qword [rdi + 0x18], xmm0
test cl, 1
je 0x180022741
movaps xmm1, xmm10
jmp 0x180022775
mov rax, qword [rdi + 0x358]
movss xmm0, dword [rbx + 0x1914]
mulss xmm0, dword [rdi + 0x2a0]
test rax, rax
je 0x180022765
mulss xmm0, dword [rax + 0x2a0]
movss xmm1, dword [rbx + 0x1594]
addss xmm1, xmm1
addss xmm1, xmm0
bt ecx, 0xa
jae 0x1800227be
mov rax, qword [rdi + 0x358]
movss xmm13, dword [rbx + 0x1914]
mulss xmm13, dword [rdi + 0x2a0]
test rax, rax
je 0x1800227a2
mulss xmm13, dword [rax + 0x2a0]
movss xmm0, dword [rbx + 0x1594]
addss xmm13, dword [rdi + 0x150]
addss xmm0, xmm0
addss xmm13, xmm0
jmp 0x1800227c2
movaps xmm13, xmm10
cmp byte [rsp + 0x33], 0
addss xmm13, xmm1
je 0x180022807
mov dword [rdi + 0x98], 0xffffffff
bt r14d, 0x1a
jae 0x180022807
cmp byte [rsp + 0x31], 0
jne 0x180022807
movsxd rax, dword [rsi + 0x1b70]
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x1b78]
shl rcx, 4
movsd xmm0, qword [rcx + rax - 0x10]
movsd qword [rdi + 0x10], xmm0
bt r14d, 0x18
jae 0x18002289b
lea r15, [r13 + 0x158]
movzx eax, word [r15]
mov word [rdi + 0x8a], ax
mov ecx, dword [r15 + 4]
mov r8d, dword [r15]
cmp r8d, ecx
jne 0x180022860
inc r8d
test ecx, ecx
je 0x180022842
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180022847
mov eax, 8
cmp eax, r8d
mov rcx, r15
cmovg r8d, eax
mov edx, r8d
call fcn.18002b000
mov rbx, qword [0x18006adb0]
movsxd rcx, dword [r15]
mov rax, qword [r15 + 8]
mov qword [rax + rcx*8], rdi
inc dword [r15]
movzx r15d, byte [rsp + 0x31]
mov eax, dword [rsp + 0x44]
bt r14d, 0x1a
jb 0x1800228a5
test r15b, r15b
jne 0x1800228a5
cmp eax, 0x3000000
je 0x1800228a5
movsd xmm0, qword [r13 + 0xd0]
movsd qword [rdi + 0x10], xmm0
jmp 0x1800228a5
movzx r15d, byte [rsp + 0x31]
mov eax, dword [rsp + 0x44]
movss xmm1, dword [rdi + 0xb0]
ucomiss xmm1, dword [0x180060400]
jp 0x1800228b8
je 0x180022909
cmp dword [rdi + 0xa0], 0
jne 0x180022909
movss xmm0, dword [rdi + 0x20]
lea rdx, [rsp + 0x38]
mulss xmm0, dword [rdi + 0xb8]
xor r8d, r8d
mov rcx, rdi
subss xmm1, xmm0
movss xmm0, dword [rdi + 0xb4]
movss dword [rsp + 0x38], xmm1
movss xmm1, dword [rdi + 0x24]
mulss xmm1, dword [rdi + 0xbc]
subss xmm0, xmm1
movss dword [rsp + 0x3c], xmm0
call fcn.1800245e0
jmp 0x18002294c
bt r14d, 0x1c
jb 0x180022936
bt r14d, 0x1a
jae 0x180022923
test r15b, r15b
jne 0x180022923
cmp dword [rsp + 0x40], 0
jg 0x180022936
bt r14d, 0x19
jae 0x18002294c
test r15b, r15b
jne 0x18002294c
cmp eax, 0x3000000
je 0x18002294c
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.180025f70
movsd xmm0, qword [rax]
movsd qword [rdi + 0x10], xmm0
movss xmm3, dword [rbx + 0x10]
movss xmm6, dword [rbx + 0x14]
movss dword [rsp + 0x40], xmm3
movss dword [rbp - 0x58], xmm3
movss dword [rsp + 0x60], xmm6
movss dword [rbp - 0x54], xmm6
movss dword [rbp - 0x60], xmm10
movss dword [rbp - 0x5c], xmm10
test r15b, r15b
jne 0x180022a9a
bt r14d, 0x18
jb 0x180022a9a
cmp byte [rdi + 0x94], r15b
jg 0x180022a9a
cmp byte [rdi + 0x95], r15b
jg 0x180022a9a
movss xmm0, dword [rsi + 0x10]
comiss xmm0, xmm10
jbe 0x180022a9a
movss xmm0, dword [rsi + 0x14]
comiss xmm0, xmm10
jbe 0x180022a9a
movss xmm5, dword [rsi + 0x15f0]
movss xmm4, dword [rsi + 0x15ec]
maxss xmm5, dword [rsi + 0x15f8]
maxss xmm4, dword [rsi + 0x15f4]
cmp byte [rbx + 0xcc], r15b
je 0x180022a3a
test byte [rdi + 0xc], 1
jne 0x180022a3a
mov rax, qword [rdi + 0x358]
movss xmm0, dword [rbx + 0x1914]
mulss xmm0, dword [rdi + 0x2a0]
test rax, rax
je 0x180022a17
mulss xmm0, dword [rax + 0x2a0]
movss xmm1, dword [rbx + 0x1594]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [rdi + 0x18]
movss dword [rsp + 0x38], xmm0
movss dword [rsp + 0x3c], xmm1
jmp 0x180022a45
movsd xmm0, qword [rdi + 0x18]
movsd qword [rsp + 0x38], xmm0
lea rax, [rsp + 0x38]
movss xmm1, dword [rax]
subss xmm3, xmm4
movss xmm2, dword [rax + 4]
addss xmm4, xmm10
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x10]
maxss xmm0, xmm4
subss xmm0, xmm1
movaps xmm1, xmm6
subss xmm1, xmm5
addss xmm5, xmm10
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
bt r14d, 0x18
jae 0x180022acd
movss xmm2, dword [rsi + 0x1580]
jmp 0x180022aee
mov eax, r14d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x180022ae6
movss xmm2, dword [rsi + 0x1588]
jmp 0x180022aee
movss xmm2, dword [rsi + 0x1564]
xor cl, cl
movss dword [rdi + 0x40], xmm2
mov dword [rsp + 0x5c], ecx
cmp byte [rsp + 0x33], cl
je 0x180022b2a
bt r14d, 0xc
jb 0x180022b2a
bt r14d, 0x1a
jae 0x180022b14
mov byte [rsp + 0x5c], 1
jmp 0x180022b2a
test r14d, 0x3000000
movzx ecx, cl
mov eax, 1
cmove ecx, eax
mov dword [rsp + 0x5c], ecx
addss xmm2, dword [0x180060318]
xorps xmm0, xmm0
mov dword [rsp + 0x58], 0xffffffff
movups xmmword [rbp - 0x50], xmm0
xor r15d, r15d
movss xmm0, dword [rsi + 0x1910]
cmp byte [rsi + 0xcb], r15b
movaps xmm1, xmm0
mulss xmm0, dword [0x1800602cc]
setne r15b
cmp byte [rdi + 0x81], 0
mulss xmm1, dword [0x180060324]
addss xmm0, xmm2
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x38], xmm0
jne 0x180022bbf
lea rax, [rbp - 0x50]
mov rcx, rdi
lea r9d, [r15 + 1]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x48]
call fcn.1800201d0
mov rbx, qword [0x18006adb0]
test al, al
je 0x180022bbf
mov r12b, 1
movzx ecx, r12b
jmp 0x180022bc4
movzx ecx, byte [rsp + 0x32]
cmp byte [rdi + 0x81], 0
movzx eax, byte [rsp + 0x58]
mov byte [rdi + 0x87], al
jne 0x180022d03
cmp qword [rsp + 0x50], 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, xmm13
addss xmm2, dword [rdi + 0x74]
addss xmm3, dword [rdi + 0x78]
jne 0x180022c2b
mov qword [rbp - 0x78], 0
lea rax, [rbp - 0x78]
jmp 0x180022c55
movss xmm0, dword [rdi + 0x38]
lea rax, [rbp - 0x70]
movss xmm1, dword [rdi + 0x3c]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [rdi + 0x28]
addss xmm1, dword [rdi + 0x2c]
movss dword [rbp - 0x70], xmm0
movss dword [rbp - 0x6c], xmm1
movss xmm6, dword [rax]
movss xmm1, dword [rax + 4]
test cl, cl
jne 0x180022c65
movaps xmm5, xmm2
test r12b, r12b
jne 0x180022c6d
movaps xmm4, xmm3
bt r14d, 0xe
jb 0x180022c83
comiss xmm1, xmm4
jbe 0x180022c7f
test r14b, 8
je 0x180022c83
xor cl, cl
jmp 0x180022c85
mov cl, 1
mov byte [rdi + 0x7d], cl
bt r14d, 0xf
jb 0x180022cc3
test cl, cl
je 0x180022c9d
movss xmm0, dword [rsi + 0x15c0]
jmp 0x180022ca1
movaps xmm0, xmm10
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x180022cb9
mov eax, r14d
and eax, 0x808
cmp eax, 0x800
je 0x180022cc3
mov byte [rdi + 0x7c], 0
movaps xmm1, xmm10
jmp 0x180022ce7
mov byte [rdi + 0x7c], 1
test cl, cl
jne 0x180022cdf
comiss xmm1, xmm4
jbe 0x180022cda
test r14b, 8
jne 0x180022cda
mov cl, 1
jmp 0x180022cdc
xor cl, cl
mov byte [rdi + 0x7d], cl
movss xmm1, dword [rsi + 0x15c0]
test cl, cl
je 0x180022cf5
movss xmm0, dword [rsi + 0x15c0]
jmp 0x180022cf9
movaps xmm0, xmm10
movss dword [rdi + 0x74], xmm0
movss dword [rdi + 0x78], xmm1
mov r12d, dword [rsp + 0x44]
mov eax, r14d
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x180022d27
lea rax, [r13 + 0x230]
cmp r12d, 0x3000000
jne 0x180022d2b
lea rax, [rbp - 0x60]
test byte [rdi + 0xc], 1
movss xmm15, dword [rdi + 0x10]
movss xmm5, dword [rdi + 0x14]
movaps xmm2, xmm15
addss xmm2, dword [rdi + 0x18]
movups xmm6, xmmword [rax]
movaps xmm3, xmm5
addss xmm3, dword [rdi + 0x1c]
je 0x180022d56
movaps xmm0, xmm10
jmp 0x180022d8a
mov rax, qword [rdi + 0x358]
movss xmm1, dword [rbx + 0x1914]
mulss xmm1, dword [rdi + 0x2a0]
test rax, rax
je 0x180022d7a
mulss xmm1, dword [rax + 0x2a0]
movss xmm0, dword [rbx + 0x1594]
addss xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm5
movss dword [rsp + 0x78], xmm15
addss xmm1, xmm0
movaps xmm4, xmm15
addss xmm4, dword [rdi + 0x20]
movss xmm0, dword [rdi + 0x14]
mov eax, r14d
movss dword [rsp + 0x48], xmm0
and eax, 0x401
movss dword [rsp + 0x7c], xmm0
movss dword [rsp + 0x44], xmm1
movss dword [rsp + 0x58], xmm4
movss dword [rbp - 0x80], xmm4
movaps xmm4, xmm6
movss dword [rbp - 0x7c], xmm1
movss dword [rdi + 0x1f0], xmm15
movss dword [rdi + 0x1f4], xmm5
movss dword [rdi + 0x1f8], xmm2
movss dword [rdi + 0x1fc], xmm3
movaps xmm3, xmm6
movss xmm0, dword [rdi + 0x1f0]
shufps xmm4, xmm6, 0x55
maxss xmm0, xmm6
shufps xmm3, xmm6, 0xaa
maxss xmm5, xmm4
movss dword [rdi + 0x1f0], xmm0
movss dword [rdi + 0x1f4], xmm5
movaps xmm5, xmm6
movss xmm1, dword [rdi + 0x1f8]
movss xmm0, dword [rdi + 0x1fc]
minss xmm1, xmm3
shufps xmm5, xmm6, 0xff
minss xmm0, xmm5
movss dword [rdi + 0x1f8], xmm1
movss dword [rdi + 0x1fc], xmm0
movss xmm11, dword [rdi + 0x10]
movss xmm7, dword [rdi + 0x14]
movaps xmm8, xmm11
movss dword [rdi + 0x200], xmm11
movaps xmm9, xmm7
addss xmm9, xmm13
addss xmm8, dword [rdi + 0x18]
addss xmm7, dword [rdi + 0x1c]
movss dword [rdi + 0x204], xmm9
subss xmm8, dword [rdi + 0x74]
subss xmm7, dword [rdi + 0x78]
movss dword [rdi + 0x208], xmm8
movss dword [rdi + 0x20c], xmm7
cmp eax, 1
jne 0x180022eac
movss xmm12, dword [rdi + 0x44]
jmp 0x180022eb5
movss xmm12, dword [rsi + 0x159c]
movss xmm14, dword [0x1800602e4]
xorps xmm1, xmm1
movss xmm0, dword [rdi + 0x38]
addss xmm11, xmm14
mulss xmm0, xmm14
addss xmm9, xmm14
addss xmm8, xmm14
addss xmm7, xmm14
cvttss2si eax, xmm0
xorps xmm0, xmm0
addss xmm9, xmm12
subss xmm7, dword [rdi + 0x44]
cvtsi2ss xmm1, eax
maxss xmm1, dword [rdi + 0x44]
addss xmm11, xmm1
subss xmm8, xmm1
cvttss2si eax, xmm11
xorps xmm11, xmm11
cvtsi2ss xmm11, eax
cvttss2si eax, xmm9
movss dword [rdi + 0x210], xmm11
cvtsi2ss xmm0, eax
cvttss2si eax, xmm8
movss dword [rdi + 0x214], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
cvttss2si eax, xmm7
movss dword [rdi + 0x218], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movss dword [rdi + 0x21c], xmm0
movss xmm0, dword [rdi + 0x214]
comiss xmm4, xmm0
jbe 0x180022f64
movaps xmm1, xmm4
jmp 0x180022f6b
movaps xmm1, xmm5
minss xmm1, xmm0
comiss xmm6, xmm11
jbe 0x180022f76
movaps xmm0, xmm6
jmp 0x180022f7e
movaps xmm0, xmm3
minss xmm0, xmm11
movss dword [rdi + 0x210], xmm0
movss dword [rdi + 0x214], xmm1
movss xmm0, dword [rdi + 0x21c]
comiss xmm4, xmm0
ja 0x180022fa2
minss xmm5, xmm0
movaps xmm4, xmm5
movss xmm0, dword [rdi + 0x218]
comiss xmm6, xmm0
jbe 0x180022fb4
movaps xmm3, xmm6
jmp 0x180022fb8
minss xmm3, xmm0
movss dword [rdi + 0x218], xmm3
movss dword [rdi + 0x21c], xmm4
movss xmm0, dword [rdi + 0x18]
comiss xmm0, xmm10
jbe 0x180022fe6
test r14d, 0x2000040
jne 0x180022fe6
mulss xmm0, dword [0x1800602f0]
jmp 0x180022ff6
movss xmm0, dword [rsi + 0x1910]
mulss xmm0, dword [0x1800603ac]
cvttss2si eax, xmm0
mov rcx, rdi
mov r8b, 1
mov rdx, rdi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x258], xmm0
lea rcx, [rsp + 0x68]
movss xmm0, dword [rdi + 0x208]
subss xmm0, dword [rdi + 0x200]
movss xmm1, dword [rdi + 0x38]
movss xmm2, dword [rdi + 0x3c]
addss xmm1, xmm1
addss xmm2, xmm2
addss xmm1, dword [rdi + 0x28]
addss xmm2, dword [rdi + 0x2c]
subss xmm1, xmm0
movaps xmm0, xmm10
maxss xmm0, xmm1
movss dword [rdi + 0x5c], xmm0
movss xmm0, dword [rdi + 0x20c]
subss xmm0, dword [rdi + 0x204]
subss xmm2, xmm0
movaps xmm0, xmm10
maxss xmm0, xmm2
movss dword [rdi + 0x60], xmm0
call fcn.180024da0
mov rcx, qword [rdi + 0x2a8]
movsd xmm0, qword [rax]
movsd qword [rdi + 0x54], xmm0
mov dword [rdi + 0x64], 0x7f7fffff
mov dword [rdi + 0x68], 0x7f7fffff
call fcn.180032c60
mov rax, qword [rsi + 0x1908]
mov rcx, qword [rdi + 0x2a8]
mov rdx, qword [rax + 0x48]
mov rdx, qword [rdx + 8]
call fcn.180033260
mov rcx, qword [0x18006adb0]
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.180033130
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 [0x18006adb0]
bt r14d, 0x1b
jae 0x1800231a4
mov eax, dword [r9 + 0x1b60]
sub eax, 1
js 0x18002318b
movsxd rdx, eax
mov rax, qword [r9 + 0x1b68]
add rax, 8
lea r8, [rdx + rdx*2]
shl r8, 4
add r8, rax
nop dword [rax]
mov rax, qword [r8]
test rax, rax
je 0x180023181
test dword [rax + 0xc], 0x8000000
jne 0x18002318d
sub r8, 0x30
sub rdx, 1
jns 0x180023170
xor eax, eax
cmp rdi, rax
jne 0x1800231a4
cmp dword [rdi + 0xa0], 0
jg 0x1800231a4
mov cl, 1
mov edx, 0x3a0
jmp 0x1800231ab
xor cl, cl
mov edx, 0x390
mov rax, qword [rsi + 0x1bd0]
test rax, rax
je 0x1800231c4
cmp rdi, qword [rax + 0x360]
jne 0x1800231c4
mov bl, 1
jmp 0x1800231c6
xor bl, bl
test cl, cl
jne 0x1800231d2
test bl, bl
je 0x18002331c
movups xmm1, xmmword [rdx + r9 + 0x1558]
lea rcx, [rsp + 0x68]
movss xmm0, dword [rsi + 0x1d38]
mulss xmm0, dword [r9 + 0x1558]
movups xmmword [rsp + 0x68], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rsp + 0x74], xmm1
call fcn.180019e80
mov rcx, qword [rdi + 0x2a8]
lea rdx, [rbp - 0x60]
mov r9d, eax
mov dword [rsp + 0x28], 0xf
lea r8, [rbp - 0x58]
movss dword [rsp + 0x20], xmm10
call fcn.180035370
test bl, bl
je 0x18002331c
movss xmm12, dword [rsp + 0x40]
cmp rdi, qword [rsi + 0x1bd0]
jne 0x180023323
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 xmm10, xmm1
addss xmm3, xmm0
movss dword [rbp - 0x60], xmm1
movss dword [rbp - 0x58], xmm2
movss dword [rbp - 0x5c], xmm4
movss dword [rbp - 0x54], xmm3
jb 0x1800232aa
comiss xmm10, xmm4
jb 0x1800232aa
comiss xmm2, xmm12
jb 0x1800232aa
comiss xmm3, dword [rsp + 0x60]
jae 0x180023323
mov rax, qword [0x18006adb0]
lea rcx, [rsp + 0x68]
movss xmm0, dword [rsi + 0x1be4]
mulss xmm0, dword [0x1800602d0]
movups xmm1, xmmword [rax + 0x18d8]
mulss xmm0, dword [rax + 0x1558]
movups xmmword [rsp + 0x68], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rsp + 0x74], xmm1
call fcn.180019e80
movss xmm0, dword [rsi + 0x1564]
lea r8, [rbp - 0x58]
mov rcx, qword [rdi + 0x2a8]
lea rdx, [rbp - 0x60]
mov r9d, eax
mov dword [rsp + 0x28], 0xf
movss dword [rsp + 0x20], xmm0
call fcn.180035370
jmp 0x180023323
movss xmm12, dword [rsp + 0x40]
mov eax, r14d
xor bl, bl
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x18002336c
cmp r12d, 0x3000000
je 0x18002336c
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 0x18002336c
mov rax, qword [r13 + 0x2a8]
cmp dword [rax + 0x20], 0
jle 0x18002336c
mov bl, 1
mov qword [rdi + 0x2a8], rax
mov rax, qword [rsi + 0x1bc8]
test rax, rax
jne 0x18002337f
mov rax, qword [rsi + 0x1b80]
mov r12d, dword [rsp + 0x5c]
test r12b, r12b
jne 0x1800233a3
test rax, rax
je 0x18002339e
mov rax, qword [rax + 0x368]
cmp qword [rdi + 0x368], rax
je 0x1800233a3
xor r8b, r8b
jmp 0x1800233a6
mov r8b, 1
movss xmm0, dword [rsp + 0x38]
lea rax, [rbp - 0x50]
movss dword [rsp + 0x28], xmm0
lea r9d, [r15 + 1]
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov rcx, rdi
call fcn.180020fb0
test bl, bl
je 0x1800233de
lea rax, [rdi + 0x2b0]
mov qword [rdi + 0x2a8], rax
cmp qword [rsi + 0x1bd0], rdi
jne 0x180023563
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 xmm11, xmm2
addss xmm6, dword [rdi + 0x1c]
maxss xmm11, dword [rsi + 0x1564]
subss xmm8, xmm1
comiss xmm10, xmm9
addss xmm7, xmm1
addss xmm6, xmm1
jb 0x18002347a
comiss xmm10, xmm8
jb 0x18002347a
comiss xmm7, xmm12
jb 0x18002347a
comiss xmm6, dword [rsp + 0x60]
jb 0x18002347a
xorps xmm1, xmmword [0x180060600]
movaps xmm11, xmm2
subss xmm1, dword [0x180060318]
movaps xmm0, xmm1
subss xmm9, xmm1
subss xmm8, xmm1
addss xmm0, xmm7
addss xmm1, xmm6
movaps xmm7, xmm0
movaps xmm6, xmm1
mov rax, qword [0x18006adb0]
lea rcx, [rbp - 0x50]
movss xmm0, dword [rsi + 0x1be4]
movups xmm1, xmmword [rax + 0x18d8]
mulss xmm0, dword [rax + 0x1558]
movups xmmword [rbp - 0x50], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x44], xmm1
call fcn.180019e80
mov rbx, qword [rdi + 0x2a8]
mov r15d, eax
test eax, 0xff000000
je 0x180023563
test byte [rbx + 0x30], 1
addss xmm9, xmm14
addss xmm8, xmm14
mov dword [rsp + 0x20], 0xffffffff
movaps xmm3, xmm11
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x38]
mov rcx, rbx
movss dword [rsp + 0x38], xmm9
movss dword [rsp + 0x3c], xmm8
je 0x18002350a
subss xmm7, xmm14
subss xmm6, xmm14
jmp 0x18002351a
subss xmm7, dword [0x1800602e0]
subss xmm6, dword [0x1800602e0]
movss dword [rsp + 0x50], xmm7
movss dword [rsp + 0x54], xmm6
call fcn.180034d30
movss xmm0, dword [0x180060374]
mov r9d, r15d
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.180033530
xor r15d, r15d
mov dword [rbx + 0x80], r15d
jmp 0x180023566
xor r15d, r15d
movss xmm6, dword [rdi + 0x30]
mov ecx, r14d
movaps xmm14, xmmword [rsp + 0xe0]
shr ecx, 3
not cl
and cl, 1
ucomiss xmm6, xmm10
jp 0x1800235c0
jne 0x1800235c0
mov eax, r14d
and eax, 0x808
cmp eax, 0x800
jne 0x18002359e
movss xmm9, dword [rdi + 0x28]
jmp 0x1800235a2
movaps xmm9, xmm10
movss xmm0, dword [rdi + 0x38]
movss xmm1, dword [rdi + 0x18]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [rdi + 0x74]
maxss xmm9, xmm1
jmp 0x1800235c4
movaps xmm9, xmm6
movss xmm4, dword [rdi + 0x34]
ucomiss xmm4, xmm10
jp 0x180023604
jne 0x180023604
test cl, cl
je 0x1800235dd
movss xmm8, dword [rdi + 0x2c]
jmp 0x1800235e1
movaps xmm8, xmm10
movss xmm0, dword [rdi + 0x3c]
movss xmm1, dword [rdi + 0x1c]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, xmm13
subss xmm1, dword [rdi + 0x78]
maxss xmm8, xmm1
jmp 0x180023608
movaps xmm8, xmm4
ucomiss xmm6, xmm10
movss xmm5, dword [rdi + 0x38]
movss xmm11, dword [rdi + 0x54]
movaps xmm1, xmm5
maxss xmm1, dword [rdi + 0x44]
movss xmm0, dword [rdi + 0x200]
movss xmm7, dword [rdi + 0x3c]
subss xmm0, xmm11
movss xmm12, dword [rdi + 0x58]
addss xmm1, xmm0
movss xmm0, dword [rdi + 0x204]
subss xmm0, xmm12
cvttss2si eax, xmm1
movaps xmm1, xmm7
maxss xmm1, dword [rdi + 0x44]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
addss xmm1, xmm0
addss xmm9, xmm3
movss dword [rdi + 0x220], xmm3
movss xmm3, dword [rdi + 0x10]
cvttss2si eax, xmm1
movss dword [rdi + 0x228], xmm9
movaps xmm9, xmmword [rsp + 0x130]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
addss xmm8, xmm2
movss dword [rdi + 0x224], xmm2
movaps xmm2, xmm3
subss xmm2, xmm11
movss dword [rdi + 0x22c], xmm8
movss xmm8, dword [rdi + 0x14]
movaps xmm1, xmm8
addss xmm2, xmm5
subss xmm1, xmm12
movss dword [rdi + 0x240], xmm2
addss xmm1, xmm7
addss xmm1, xmm13
movss dword [rdi + 0x244], xmm1
jp 0x1800236f1
jne 0x1800236f1
movss xmm6, dword [rdi + 0x18]
movaps xmm0, xmm5
addss xmm0, xmm5
subss xmm6, xmm0
subss xmm6, dword [rdi + 0x74]
ucomiss xmm4, xmm10
addss xmm6, xmm2
movss dword [rdi + 0x248], xmm6
movaps xmm6, xmmword [rsp + 0x160]
jp 0x180023727
jne 0x180023727
movss xmm4, dword [rdi + 0x1c]
movaps xmm0, xmm7
addss xmm0, xmm7
subss xmm4, xmm0
subss xmm4, xmm13
subss xmm4, dword [rdi + 0x78]
mov qword [rdi + 0x1e0], 0
addss xmm7, xmm13
movaps xmm13, xmmword [rsp + 0xf0]
addss xmm5, xmm10
addss xmm4, xmm1
subss xmm7, xmm12
movaps xmm12, xmmword [rsp + 0x100]
subss xmm5, xmm11
movaps xmm11, xmmword [rsp + 0x110]
movss dword [rdi + 0x24c], xmm4
addss xmm7, xmm8
movaps xmm8, xmmword [rsp + 0x140]
movss dword [rdi + 0x1dc], xmm5
addss xmm5, xmm10
movss dword [rdi + 0xe4], xmm7
movss dword [rdi + 0xd4], xmm7
addss xmm5, xmm3
movss dword [rdi + 0xdc], xmm7
movss dword [rdi + 0xe0], xmm5
movss dword [rdi + 0xd0], xmm5
movss dword [rdi + 0xd8], xmm5
movss dword [rdi + 0xe8], xmm5
movss dword [rdi + 0xec], xmm7
movaps xmm7, xmmword [rsp + 0x150]
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, xmm10
seta al
mov byte [rdi + 0x149], al
mov eax, dword [rdi + 0x144]
mov dword [rdi + 0x140], eax
mov dword [rdi + 0x144], r15d
mov byte [rdi + 0x14a], 0
mov ecx, dword [rdi + 0x15c]
test ecx, ecx
jns 0x18002384f
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x158]
test eax, eax
cmovg edx, eax
call fcn.18002b000
mov dword [rdi + 0x158], r15d
mov eax, 1
mov dword [rdi + 0x170], eax
test r13, r13
je 0x180023887
mov eax, dword [r13 + 0x170]
mov dword [rdi + 0x174], eax
mov qword [rdi + 0x178], 0xffffffffffffffff
mov eax, dword [r13 + 0x180]
jmp 0x18002389b
mov dword [rdi + 0x174], eax
mov eax, r15d
mov qword [rdi + 0x178], 0xffffffffffffffff
mov dword [rdi + 0x180], eax
mov eax, dword [rdi + 0x258]
mov dword [rdi + 0x184], eax
mov dword [rdi + 0x188], 0xbf800000
mov ecx, dword [rdi + 0x194]
test ecx, ecx
jns 0x1800238de
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x190]
test eax, eax
cmovg edx, eax
call fcn.18002b490
mov dword [rdi + 0x190], r15d
mov ecx, dword [rdi + 0x1a4]
test ecx, ecx
jns 0x18002390c
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1a0]
test eax, eax
cmovg edx, eax
call fcn.18002b490
mov dword [rdi + 0x1a0], r15d
mov ecx, dword [rdi + 0x1b4]
test ecx, ecx
jns 0x18002393a
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1b0]
test eax, eax
cmovg edx, eax
call fcn.18002b490
mov dword [rdi + 0x1b0], r15d
lea rax, [rdi + 0x280]
mov qword [rdi + 0x1e8], r15
lea rcx, [rdi + 0x1c0]
mov qword [rdi + 0x108], 0
xor edx, edx
mov qword [rdi + 0x168], rax
call fcn.18002abd0
cmp byte [rsp + 0x33], 0
movss xmm0, dword [rsi + 0x15a0]
movss dword [rdi + 0x25c], xmm0
mov qword [rdi + 0x260], 0
je 0x1800239a0
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], r15d
movss xmm0, dword [rdi + 0x278]
comiss xmm0, xmm10
jbe 0x1800239f8
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], r15d
movss xmm0, dword [rdi + 0x27c]
comiss xmm0, xmm10
jbe 0x180023a40
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], r15d
bt r14d, 0x18
jae 0x180023ad3
mov eax, dword [r13 + 0x180]
cmp dword [rdi + 0x180], eax
je 0x180023ad3
lea rbx, [rdi + 0x190]
mov dword [rdi + 0x180], eax
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x180023ac1
inc r8d
test ecx, ecx
je 0x180023aaa
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180023aaf
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.18002b490
movsxd rdx, dword [rbx]
mov eax, dword [rdi + 0x180]
mov rcx, qword [rbx + 8]
mov dword [rcx + rdx*4], eax
inc dword [rbx]
movzx eax, byte [rdi + 0x94]
test al, al
jle 0x180023ae6
dec al
mov byte [rdi + 0x94], al
movzx eax, byte [rdi + 0x95]
test al, al
jle 0x180023af9
dec al
mov byte [rdi + 0x95], al
test r12b, r12b
je 0x180023ba4
mov rcx, rdi
call fcn.180023f00
mov eax, dword [rdi + 0xc]
mov rdx, qword [0x18006adb0]
bt eax, 0x12
jb 0x180023b98
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x180023b2f
cmp dword [rdi + 0x380], 0
jne 0x180023b98
movsxd rcx, dword [rdx + 0x1bec]
mov rax, qword [rdx + 0x1b80]
mov dword [rdx + 0x1b88], r15d
mov dword [rax + rcx*4 + 0x380], r15d
mov word [rdx + 0x1bf9], 1
mov qword [rdx + 0x1bfc], 0
mov qword [rdx + 0x1c04], 0
mov dword [rdx + 0x1c0c], r15d
cmp byte [rdx + 0x1c11], 0
jne 0x180023b8e
cmp byte [rdx + 0x1bf9], 0
jne 0x180023b8e
xor al, al
mov byte [rdx + 0x1bf8], al
jmp 0x180023ba4
mov al, 1
mov byte [rdx + 0x1bf8], al
jmp 0x180023ba4
mov eax, dword [rdi + 0x380]
mov dword [rdx + 0x1b88], eax
test r14b, 1
jne 0x180023bbb
mov r8, qword [rbp - 0x68]
lea rdx, [rsp + 0x78]
mov rcx, rdi
call fcn.180021640
mov eax, dword [rdi + 0x4c]
movss xmm4, dword [rsp + 0x58]
movss xmm3, dword [rsp + 0x44]
movss xmm5, dword [rsp + 0x48]
mov dword [rdi + 0x110], eax
mov rax, qword [0x18006adb0]
movss xmm1, dword [rax + 0x15b0]
movss xmm0, dword [rax + 0x15b4]
subss xmm15, xmm1
movss xmm2, dword [rax + 0x130]
addss xmm4, xmm1
addss xmm3, xmm0
subss xmm5, xmm0
comiss xmm2, xmm15
movaps xmm15, xmmword [rsp + 0xd0]
jb 0x180023c35
movss xmm0, dword [rax + 0x134]
comiss xmm0, xmm5
jb 0x180023c35
comiss xmm4, xmm2
jbe 0x180023c35
comiss xmm3, xmm0
jbe 0x180023c35
mov ebx, 1
mov eax, ebx
jmp 0x180023c3d
mov eax, r15d
mov ebx, 1
movups xmm0, xmmword [rsp + 0x78]
mov dword [rdi + 0x114], eax
lea rdx, [rdi + 0x218]
lea rcx, [rdi + 0x210]
mov r8b, 1
movups xmmword [rdi + 0x118], xmm0
call fcn.18001e520
mov byte [rdi + 0x80], 0
jmp 0x180023ccc
mov rax, qword [0x18006adb0]
movss xmm0, dword [rax + 0x1914]
mov qword [rax + 0x1a18], rdi
mov rcx, qword [rdi + 0x358]
mulss xmm0, dword [rdi + 0x2a0]
test rcx, rcx
je 0x180023ca0
mulss xmm0, dword [rcx + 0x2a0]
lea rdx, [rdi + 0x218]
movss dword [rax + 0x1928], xmm0
lea rcx, [rdi + 0x210]
movss dword [rax + 0x1910], xmm0
movzx r8d, bl
call fcn.18001e520
mov r13, qword [rsp + 0x48]
inc word [rdi + 0x88]
mov r12, qword [rsp + 0x188]
mov dword [rsi + 0x1ab8], r15d
mov r15, qword [rsp + 0x170]
bt r14d, 0x18
jae 0x180023d6a
test r14b, 0x40
jne 0x180023d31
cmp byte [rdi + 0x94], 0
jg 0x180023d31
cmp byte [rdi + 0x95], 0
jg 0x180023d31
movss xmm0, dword [rdi + 0x1f0]
comiss xmm0, dword [rdi + 0x1f8]
jae 0x180023d2b
movss xmm0, dword [rdi + 0x1f4]
comiss xmm0, dword [rdi + 0x1fc]
jb 0x180023d31
mov dword [rdi + 0x9c], ebx
test r13, r13
je 0x180023d6a
cmp byte [r13 + 0x81], 0
jne 0x180023d4a
cmp dword [r13 + 0x9c], 0
jle 0x180023d50
mov dword [rdi + 0x9c], ebx
cmp byte [r13 + 0x81], 0
jne 0x180023d64
cmp dword [r13 + 0xa0], 0
jle 0x180023d6a
mov dword [rdi + 0xa0], ebx
comiss xmm10, dword [rsi + 0x1558]
mov rsi, qword [rsp + 0x1b8]
mov r14, qword [rsp + 0x178]
mov r13, qword [rsp + 0x180]
movaps xmm10, xmmword [rsp + 0x120]
jb 0x180023d9b
mov dword [rdi + 0x9c], ebx
cmp dword [rdi + 0x9c], 0
jg 0x180023db1
cmp dword [rdi + 0xa0], 0
jg 0x180023db1
xor cl, cl
jmp 0x180023db3
mov cl, 1
xor al, al
mov byte [rdi + 0x85], cl
cmp byte [rdi + 0x81], al
jne 0x180023dcc
cmp byte [rdi + 0x7e], al
je 0x180023dcc
test cl, cl
je 0x180023de9
cmp byte [rdi + 0x94], al
jg 0x180023de9
cmp byte [rdi + 0x95], al
jg 0x180023de9
cmp dword [rdi + 0xa0], 0
movzx eax, al
cmovle eax, ebx
mov byte [rdi + 0x83], al
xor al, 1
mov rcx, qword [rbp - 0x40]
xor rcx, rsp
call fcn.180055c00
add rsp, 0x190
pop rdi
pop rbx
pop rbp
ret