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

Disassembly:
mov r11, rsp
push rbp
push rdi
lea rbp, [r11 - 0x98]
sub rsp, 0x188
mov rax, qword [0x180059040]
xor rax, rsp
mov qword [rbp - 0x48], rax
mov qword [r11 + 0x10], rbx
mov rbx, rcx
mov qword [r11 - 0x18], rsi
mov rsi, qword [0x180059c00]
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 - 0x68], xmm8
mov qword [rbp - 0x70], rcx
call fcn.18001f840
test rax, rax
mov qword [rsp + 0x40], rax
mov rdi, rax
xorps xmm8, xmm8
sete byte [rsp + 0x30]
test rax, rax
jne 0x180021f08
test byte [rsi + 0x1ab8], 2
je 0x180021eeb
movss xmm0, dword [rsi + 0x1adc]
movss xmm2, dword [rsi + 0x1ad8]
unpcklps xmm2, xmm0
jmp 0x180021ef5
xorps xmm0, xmm0
unpcklps xmm0, xmm8
movaps xmm2, xmm0
mov r8d, r14d
movq rdx, xmm2
mov rcx, rbx
call fcn.18001f910
mov rdi, rax
mov ecx, r14d
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x180021f1d
or r14d, 6
mov r8d, dword [rsi + 0x19b0]
mov r9d, dword [rdi + 0x250]
mov r12d, dword [rdi + 0xa0]
mov dword [rsp + 0x64], r8d
lea eax, [r8 - 1]
mov dword [rsp + 0x60], r9d
cmp r9d, eax
mov dword [rsp + 0x50], r12d
setl dl
mov byte [rsp + 0x31], dl
bt r14d, 0x1a
jae 0x180021f86
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 [rsp + 0x31], dl
test dl, dl
jne 0x180021f97
test r12d, r12d
jg 0x180021f97
mov byte [rdi + 0x84], dl
jmp 0x180021fb3
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 0x180021ff8
mov dword [rdi + 0xc], r14d
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 0x180021ffc
mov r14d, dword [rdi + 0xc]
lea r15, [rsi + 0x19f0]
movsxd rax, dword [r15]
test eax, eax
jne 0x18002200f
mov rax, r13
jmp 0x18002201e
mov rcx, rax
mov rax, qword [rsi + 0x19f8]
mov rax, qword [rax + rcx*8 - 8]
cmp r9d, r8d
je 0x180022038
test r14d, 0x5000000
mov rcx, r13
cmovne rcx, rax
mov qword [rsp + 0x58], rcx
jmp 0x180022044
mov rax, qword [rdi + 0x358]
mov qword [rsp + 0x58], rax
lea rbx, [rdi + 0xc0]
mov eax, 8
cmp dword [rbx], r13d
jne 0x180022079
cmp dword [rbx + 4], r13d
jne 0x180022065
mov edx, eax
mov rcx, rbx
call fcn.18002b930
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 r8d, dword [r15]
mov ecx, dword [r15 + 4]
cmp r8d, ecx
jne 0x1800220a7
inc r8d
test ecx, ecx
je 0x180022095
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.18002b170
movsxd rcx, dword [r15]
lea rdx, [rdi + 0x1d0]
mov rax, qword [r15 + 8]
mov qword [rax + rcx*8], rdi
inc dword [r15]
mov rcx, qword [0x180059c00]
mov qword [rsi + 0x1a18], r13
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 0x18002213b
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.18002adb0
mov eax, dword [rbx]
mov dword [rdi + 0x90], eax
test r12d, r12d
jle 0x18002214e
bt r14d, 0x18
jb 0x18002214e
mov dword [rdi + 0x380], r13d
xor dl, dl
xor r12b, r12b
test byte [rsi + 0x1ab8], 1
mov byte [rsp + 0x33], dl
mov byte [rsp + 0x32], r12b
je 0x1800221e0
mov r8d, dword [rsi + 0x1abc]
mov ecx, dword [rdi + 0xa4]
test r8d, ecx
setne dl
mov byte [rsp + 0x33], dl
test r8d, ecx
je 0x1800221d1
movss xmm0, dword [rsi + 0x1ad4]
movss xmm1, dword [rsi + 0x1ad0]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x180051af4]
jbe 0x1800221d1
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 0x1800221e0
lea rdx, [rsi + 0x1ac8]
mov rcx, rdi
call fcn.180024ab0
test byte [rsi + 0x1ab8], 2
je 0x1800222af
mov ecx, dword [rdi + 0xa8]
mov eax, ecx
mov edx, dword [rsi + 0x1ac0]
and eax, edx
je 0x180022212
movss xmm0, dword [rsi + 0x1ad8]
comiss xmm0, xmm8
jbe 0x180022212
mov r13b, 1
jmp 0x180022216
test eax, eax
je 0x180022227
movss xmm0, dword [rsi + 0x1adc]
comiss xmm0, xmm8
jbe 0x180022227
mov r12b, 1
mov byte [rsp + 0x32], r12b
test edx, edx
je 0x180022234
test eax, eax
je 0x1800222af
and ecx, 0xfffffff1
mov dword [rdi + 0xa8], ecx
movss xmm0, dword [rsi + 0x1ad8]
comiss xmm0, xmm8
jbe 0x180022268
mov byte [rdi + 0x94], 0
cvttss2si eax, dword [rsi + 0x1ad8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x20], xmm0
jmp 0x180022276
mov byte [rdi + 0x94], 2
mov byte [rdi + 0x97], 0
movss xmm0, dword [rsi + 0x1adc]
comiss xmm0, xmm8
jbe 0x1800222a1
mov byte [rdi + 0x95], 0
cvttss2si eax, dword [rsi + 0x1adc]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x24], xmm0
jmp 0x1800222af
mov byte [rdi + 0x95], 2
mov byte [rdi + 0x97], 0
test byte [rsi + 0x1ab8], 4
mov ebx, dword [rsp + 0x64]
mov r15d, dword [rsp + 0x60]
je 0x1800222d0
movsd xmm0, qword [rsi + 0x1ae0]
movsd qword [rdi + 0x30], xmm0
jmp 0x1800222db
cmp r15d, ebx
je 0x1800222db
xor eax, eax
mov qword [rdi + 0x30], rax
test byte [rsi + 0x1ab8], 8
je 0x18002230a
mov eax, dword [rsi + 0x1ac4]
movzx ecx, byte [rsi + 0x1ae8]
test eax, eax
je 0x1800222fd
test dword [rdi + 0xac], eax
je 0x18002230a
and dword [rdi + 0xac], 0xfffffff1
mov byte [rdi + 0x81], cl
test byte [rsi + 0x1ab8], 0x20
je 0x18002231b
mov rcx, rdi
call fcn.1800243c0
cmp byte [rdi + 0x84], 0
je 0x180022339
and dword [rdi + 0xa4], 0xfffffff7
and dword [rdi + 0xa8], 0xfffffff7
and dword [rdi + 0xac], 0xfffffff7
mov r8d, 1
cmp r15d, ebx
je 0x180024021
mov rax, qword [rsp + 0x58]
mov ecx, r14d
movaps xmmword [rsp + 0x150], xmm6
and ecx, 0x3000000
movaps xmmword [rsp + 0x140], xmm7
movaps xmmword [rsp + 0x120], xmm9
movaps xmmword [rsp + 0x110], xmm10
movaps xmmword [rsp + 0x100], xmm11
movaps xmmword [rsp + 0xf0], xmm12
movaps xmmword [rsp + 0xe0], xmm13
movaps xmmword [rsp + 0xd0], xmm14
movaps xmmword [rsp + 0xc0], xmm15
mov dword [rsp + 0x4c], 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 0x180022403
cmp ecx, 0x1000000
jne 0x1800223e5
mov rax, qword [rax + 0x360]
mov qword [rdi + 0x360], rax
mov rax, qword [rsp + 0x58]
bt r14d, 0x1b
jb 0x180022403
test r14d, 0x5000000
je 0x180022403
mov rax, qword [rax + 0x368]
mov qword [rdi + 0x368], rax
test dword [rdi + 0xc], 0x800000
je 0x18002242a
mov rcx, rdi
nop
mov rax, qword [rcx + 0x358]
mov qword [rdi + 0x370], rax
mov rcx, rax
test dword [rax + 0xc], 0x800000
jne 0x180022410
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 [rdi + 0xc4]
cmp ecx, r8d
jge 0x180022497
test ecx, ecx
je 0x180022477
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18002247c
mov eax, 8
cmp eax, r8d
lea rcx, [rdi + 0xc0]
mov edx, r8d
cmovg edx, eax
call fcn.18002b930
mov r8d, 1
mov dword [rdi + 0xc0], r8d
cmp byte [rdi + 0x3a8], 0
je 0x1800224e3
mov rcx, qword [rdi + 0x2a8]
mov edx, dword [rdi + 0x3ac]
add rcx, 0x10
mov byte [rdi + 0x3a8], 0
call fcn.18002b8a0
mov rcx, qword [rdi + 0x2a8]
mov edx, dword [rdi + 0x3b0]
add rcx, 0x20
call fcn.18002b640
xor eax, eax
mov qword [rdi + 0x3ac], rax
cmp qword [rsi + 0x1bd8], 0
mov rbx, qword [rsp + 0x40]
je 0x1800225b3
test dword [rdi + 0xc], 0x80000
jne 0x1800225b3
test rbx, rbx
je 0x1800225b3
mov r10, qword [rbp - 0x70]
mov r9, qword [rdi]
mov rax, r10
mov r8, r9
sub r8, r10
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180022533
inc rax
test ecx, ecx
jne 0x180022520
test edx, edx
je 0x1800225b3
movsxd r15, dword [rdi + 0x48]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r10 + rbx], 0
jne 0x180022542
inc rbx
cmp r15, rbx
jae 0x180022599
test r9, r9
je 0x18002256b
mov rax, qword [0x180059c00]
test rax, rax
je 0x18002256b
dec dword [rax + 0x3bc]
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x180059c00]
test rax, rax
je 0x180022586
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 - 0x70]
mov r15, rbx
mov r9, rax
mov r8, rbx
mov rdx, r10
mov rcx, r9
call sub.VCRUNTIME140.dll_memcpy
mov rbx, qword [rsp + 0x40]
mov qword [rdi], rax
mov dword [rdi + 0x48], r15d
cmp byte [rdi + 0x81], 0
je 0x1800225ce
cmp byte [rdi + 0x94], 0
jg 0x1800225ce
cmp byte [rdi + 0x95], 0
jle 0x1800225e9
cmp byte [rdi + 0x85], 0
je 0x1800225f6
cmp dword [rdi + 0xa0], 0
jne 0x1800225f6
cmp dword [rdi + 0x9c], 0
jle 0x1800225f6
movsd xmm0, qword [rdi + 0x28]
movsd qword [rsp + 0x38], xmm0
jmp 0x18002266a
movss xmm0, dword [rdi + 0x30]
ucomiss xmm0, xmm8
jp 0x180022613
jne 0x180022613
movss xmm0, dword [rdi + 0xe8]
subss xmm0, dword [rdi + 0xe0]
movss xmm1, dword [rdi + 0x34]
ucomiss xmm1, xmm8
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x38], xmm0
jp 0x180022641
jne 0x180022641
movss xmm1, dword [rdi + 0xec]
subss xmm1, dword [rdi + 0xe4]
cvttss2si eax, xmm1
movsd xmm1, qword [rsp + 0x38]
shufps xmm1, xmm1, 0xe1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss xmm1, xmm0
shufps xmm1, xmm1, 0xe1
movsd qword [rsp + 0x38], xmm1
movsd qword [rsp + 0x38], xmm1
movss xmm0, dword [rsp + 0x38]
movss xmm1, dword [rsp + 0x3c]
mov eax, dword [rdi + 0x9c]
movss dword [rdi + 0x28], xmm0
movss dword [rdi + 0x2c], xmm1
test eax, eax
jle 0x180022692
dec eax
mov dword [rdi + 0x9c], eax
mov eax, dword [rdi + 0xa0]
test eax, eax
jle 0x1800226a4
dec eax
mov dword [rdi + 0xa0], eax
test rbx, rbx
jne 0x1800226c0
test r13b, r13b
je 0x1800226b3
test r12b, r12b
jne 0x1800226c0
mov eax, 1
mov dword [rdi + 0xa0], eax
jmp 0x1800226c5
mov eax, 1
xor edx, edx
cmp byte [rsp + 0x31], dl
je 0x180022700
test r14d, 0x6000000
je 0x180022700
mov dword [rdi + 0xa0], eax
test r14b, 0x40
je 0x180022700
test r13b, r13b
jne 0x1800226ed
mov dword [rdi + 0x20], edx
mov dword [rdi + 0x18], edx
test r12b, r12b
jne 0x1800226f8
mov dword [rdi + 0x24], edx
mov dword [rdi + 0x1c], edx
mov qword [rdi + 0x28], 0
mov rax, qword [0x180059c00]
movss xmm0, dword [rax + 0x1914]
mov qword [rax + 0x1a18], rdi
mov rcx, qword [rdi + 0x358]
mulss xmm0, dword [rdi + 0x2a0]
test rcx, rcx
je 0x180022732
mulss xmm0, dword [rcx + 0x2a0]
movss dword [rax + 0x1928], xmm0
movss dword [rax + 0x1910], xmm0
bt r14d, 0x18
jae 0x180022753
movss xmm1, dword [rsi + 0x1584]
jmp 0x180022775
test r14d, 0x6000000
je 0x18002276d
bt r14d, 0x1b
jb 0x18002276d
movss xmm1, dword [rsi + 0x158c]
jmp 0x180022775
movss xmm1, dword [rsi + 0x1568]
movss dword [rdi + 0x44], xmm1
mov eax, r14d
movsd xmm0, qword [rsi + 0x155c]
and eax, 0x5010000
movsd qword [rdi + 0x38], xmm0
cmp eax, 0x1000000
jne 0x1800227bb
ucomiss xmm1, xmm8
jp 0x1800227bb
jne 0x1800227bb
bt r14d, 0xa
jae 0x1800227af
movss xmm0, dword [rsi + 0x1560]
jmp 0x1800227b3
movaps xmm0, xmm8
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 r14b, 0x21
jne 0x180022930
test byte [rdi + 0xc], 1
mov rcx, qword [0x180059c00]
je 0x180022801
movaps xmm2, xmm8
jmp 0x180022835
mov rax, qword [rdi + 0x358]
movss xmm0, dword [rcx + 0x1914]
mulss xmm0, dword [rdi + 0x2a0]
test rax, rax
je 0x180022825
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 0x1800228ea
cmp dword [rsi + 0x1a4c], 0
jne 0x1800228ea
cmp dword [rsi + 0x1a54], 0
jne 0x1800228ea
mov rax, qword [rcx + 0x1a18]
movss xmm1, dword [rcx + 0x15b0]
movss xmm0, dword [rcx + 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 [rcx + 0x130]
subss xmm5, xmm0
addss xmm2, xmm0
comiss xmm1, xmm4
jb 0x1800228ea
movss xmm0, dword [rcx + 0x134]
comiss xmm0, xmm5
jb 0x1800228ea
comiss xmm3, xmm1
jbe 0x1800228ea
comiss xmm2, xmm0
jbe 0x1800228ea
cmp byte [rsi + 0x425], 0
je 0x1800228ea
mov byte [rdi + 0x82], 1
cmp byte [rdi + 0x82], 0
je 0x180022937
cmp byte [rdi + 0x81], 0
mov rcx, qword [0x180059c00]
sete al
test dword [rdi + 0xc], 0x100
mov byte [rdi + 0x81], al
jne 0x180022926
comiss xmm8, dword [rcx + 0x2ef8]
jb 0x180022926
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x2ef8], eax
mov rcx, rdi
call fcn.1800243c0
jmp 0x180022937
mov byte [rdi + 0x81], 0
lea r8, [rdi + 0x28]
mov byte [rdi + 0x82], 0
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.18001ff60
movzx r12d, byte [rsp + 0x30]
test r14b, 0x40
je 0x180022997
cmp byte [rdi + 0x81], 0
jne 0x180022997
test r13b, r13b
jne 0x180022979
movss xmm0, dword [rsp + 0x38]
movss dword [rdi + 0x20], xmm0
mov byte [rsp + 0x30], 1
cmp byte [rsp + 0x32], 0
jne 0x180022a3e
movss xmm0, dword [rsp + 0x3c]
mov r12b, 1
movss dword [rdi + 0x24], xmm0
jmp 0x180022a3e
movzx eax, byte [rdi + 0x94]
test al, al
jg 0x1800229af
cmp byte [rdi + 0x95], 0
jle 0x180022a3e
test r13b, r13b
jne 0x1800229de
test al, al
jle 0x1800229de
cmp byte [rdi + 0x97], r13b
je 0x1800229ce
movss xmm0, dword [rdi + 0x20]
maxss xmm0, dword [rsp + 0x38]
jmp 0x1800229d4
movss xmm0, dword [rsp + 0x38]
movss dword [rdi + 0x20], xmm0
mov byte [rsp + 0x30], 1
cmp byte [rsp + 0x32], 0
jne 0x180022a12
cmp byte [rdi + 0x95], 0
jle 0x180022a12
cmp byte [rdi + 0x97], 0
je 0x180022a04
movss xmm0, dword [rdi + 0x24]
maxss xmm0, dword [rsp + 0x3c]
jmp 0x180022a0a
movss xmm0, dword [rsp + 0x3c]
movss dword [rdi + 0x24], xmm0
mov r12b, 1
cmp byte [rdi + 0x81], 0
jne 0x180022a3e
test dword [rdi + 0xc], 0x100
mov rcx, qword [0x180059c00]
jne 0x180022a3e
comiss xmm8, dword [rcx + 0x2ef8]
jb 0x180022a3e
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x2ef8], eax
mov r8, qword [rdi + 0x20]
lea rcx, [rsp + 0x70]
mov rdx, rdi
call fcn.18001fd40
cmp byte [rdi + 0x81], 0
mov r15, qword [0x180059c00]
movss xmm2, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x20], xmm2
movss dword [rdi + 0x24], xmm1
je 0x180022ad1
bt r14d, 0x18
jb 0x180022ad1
test byte [rdi + 0xc], 1
je 0x180022a85
movaps xmm1, xmm8
jmp 0x180022abb
mov rax, qword [rdi + 0x358]
movss xmm0, dword [r15 + 0x1914]
mulss xmm0, dword [rdi + 0x2a0]
test rax, rax
je 0x180022aaa
mulss xmm0, dword [rax + 0x2a0]
movss xmm1, dword [r15 + 0x1594]
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]
jmp 0x180022aea
movaps xmm0, xmm2
unpcklps xmm0, xmm1
movaps xmm1, xmm0
movsd qword [rsp + 0x68], xmm0
movss xmm2, dword [rsp + 0x68]
shufps xmm1, xmm1, 0x55
mov ecx, dword [rdi + 0xc]
movss dword [rdi + 0x18], xmm2
movss dword [rdi + 0x1c], xmm1
test cl, 1
je 0x180022b02
movaps xmm1, xmm8
jmp 0x180022b38
mov rax, qword [rdi + 0x358]
movss xmm0, dword [r15 + 0x1914]
mulss xmm0, dword [rdi + 0x2a0]
test rax, rax
je 0x180022b27
mulss xmm0, dword [rax + 0x2a0]
movss xmm1, dword [r15 + 0x1594]
addss xmm1, xmm1
addss xmm1, xmm0
bt ecx, 0xa
jae 0x180022b82
mov rax, qword [rdi + 0x358]
movss xmm13, dword [r15 + 0x1914]
mulss xmm13, dword [rdi + 0x2a0]
test rax, rax
je 0x180022b65
mulss xmm13, dword [rax + 0x2a0]
movss xmm0, dword [r15 + 0x1594]
addss xmm13, dword [rdi + 0x150]
addss xmm0, xmm0
addss xmm13, xmm0
jmp 0x180022b86
movaps xmm13, xmm8
cmp byte [rsp + 0x31], 0
addss xmm13, xmm1
movzx r13d, byte [rsp + 0x33]
je 0x180022bda
mov dword [rdi + 0x98], 0xffffffff
bt r14d, 0x1a
jae 0x180022bda
test r13b, r13b
jne 0x180022bda
movsxd rax, dword [rsi + 0x1b70]
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x1b78]
shl rcx, 4
movss xmm0, dword [rcx + rax - 0x10]
movss xmm1, dword [rcx + rax - 0xc]
movss dword [rdi + 0x10], xmm0
movss dword [rdi + 0x14], xmm1
bt r14d, 0x18
jae 0x180022c7a
mov rdx, qword [rsp + 0x58]
lea rbx, [rdx + 0x158]
movzx eax, word [rbx]
mov word [rdi + 0x8a], ax
mov r8d, dword [rbx]
mov ecx, dword [rbx + 4]
cmp r8d, ecx
jne 0x180022c3b
inc r8d
test ecx, ecx
je 0x180022c18
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180022c1d
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.18002b170
mov rdx, qword [rsp + 0x58]
mov r15, qword [0x180059c00]
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], rdi
inc dword [rbx]
mov eax, dword [rsp + 0x4c]
bt r14d, 0x1a
jb 0x180022c73
test r13b, r13b
jne 0x180022c73
mov rbx, qword [rsp + 0x40]
cmp eax, 0x3000000
je 0x180022c7e
movsd xmm0, qword [rdx + 0xd0]
movsd qword [rdi + 0x10], xmm0
jmp 0x180022c7e
mov rbx, qword [rsp + 0x40]
jmp 0x180022c7e
mov eax, dword [rsp + 0x4c]
movss xmm7, dword [rdi + 0xb0]
ucomiss xmm7, dword [0x180051c40]
jp 0x180022c95
je 0x180022d87
cmp dword [rdi + 0xa0], 0
jne 0x180022d87
movss xmm1, dword [rdi + 0x20]
movss xmm4, dword [rdi + 0x24]
movss xmm5, dword [rdi + 0xb4]
and dword [rdi + 0xa4], 0xfffffff1
movss xmm3, dword [rdi + 0x10]
movss xmm6, dword [rdi + 0x14]
mov dword [rdi + 0xb0], 0x7f7fffff
mov dword [rdi + 0xb4], 0x7f7fffff
mulss xmm1, dword [rdi + 0xb8]
mulss xmm4, dword [rdi + 0xbc]
subss xmm7, xmm1
subss xmm5, xmm4
cvttss2si eax, xmm7
movd xmm7, eax
cvtdq2ps xmm7, xmm7
cvttss2si eax, xmm5
movss dword [rdi + 0x10], xmm7
subss xmm7, xmm3
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm7
movss dword [rdi + 0x14], xmm2
subss xmm2, xmm6
addss xmm0, dword [rdi + 0xd0]
movaps xmm1, xmm2
addss xmm1, dword [rdi + 0xd4]
movss dword [rdi + 0xd0], xmm0
movaps xmm0, xmm7
addss xmm0, dword [rdi + 0xe8]
addss xmm7, dword [rdi + 0xe0]
movss dword [rdi + 0xd4], xmm1
movaps xmm1, xmm2
addss xmm1, dword [rdi + 0xec]
addss xmm2, dword [rdi + 0xe4]
movss dword [rdi + 0xe8], xmm0
movss dword [rdi + 0xe0], xmm7
movss dword [rdi + 0xec], xmm1
movss dword [rdi + 0xe4], xmm2
jmp 0x180022dd3
bt r14d, 0x1c
jb 0x180022db4
bt r14d, 0x1a
jae 0x180022da1
test r13b, r13b
jne 0x180022da1
cmp dword [rsp + 0x50], 0
jg 0x180022db4
bt r14d, 0x19
jae 0x180022dd3
test r13b, r13b
jne 0x180022dd3
cmp eax, 0x3000000
je 0x180022dd3
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.180026400
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax]
movss dword [rdi + 0x10], xmm0
movss dword [rdi + 0x14], xmm1
movss xmm7, dword [r15 + 0x14]
movss xmm15, dword [r15 + 0x10]
movss dword [rbp - 0x60], xmm15
movss dword [rsp + 0x48], xmm7
movss dword [rbp - 0x5c], xmm7
movss dword [rbp - 0x68], xmm8
movss dword [rbp - 0x64], xmm8
test r13b, r13b
jne 0x180022f22
bt r14d, 0x18
jb 0x180022f22
cmp byte [rdi + 0x94], r13b
jg 0x180022f22
cmp byte [rdi + 0x95], r13b
jg 0x180022f22
movss xmm0, dword [rsi + 0x10]
comiss xmm0, xmm8
jbe 0x180022f22
movss xmm0, dword [rsi + 0x14]
comiss xmm0, xmm8
jbe 0x180022f22
movss xmm6, dword [rsi + 0x15f0]
movss xmm5, dword [rsi + 0x15ec]
maxss xmm6, dword [rsi + 0x15f8]
maxss xmm5, dword [rsi + 0x15f4]
cmp byte [r15 + 0xcc], r13b
je 0x180022eb4
test byte [rdi + 0xc], 1
jne 0x180022eb4
mov rax, qword [rdi + 0x358]
movss xmm0, dword [r15 + 0x1914]
mulss xmm0, dword [rdi + 0x2a0]
test rax, rax
je 0x180022e9c
mulss xmm0, dword [rax + 0x2a0]
movss xmm4, dword [r15 + 0x1594]
movss xmm1, dword [rdi + 0x18]
addss xmm4, xmm4
addss xmm4, xmm0
jmp 0x180022ed7
movss xmm0, dword [rdi + 0x1c]
movss xmm1, dword [rdi + 0x18]
unpcklps xmm1, xmm0
movaps xmm2, xmm1
movsd qword [rsp + 0x40], xmm1
movss xmm1, dword [rsp + 0x40]
shufps xmm2, xmm2, 0x55
movaps xmm4, xmm2
movaps xmm0, xmm1
movaps xmm2, xmm15
addss xmm0, dword [rdi + 0x10]
subss xmm2, xmm5
addss xmm5, xmm8
maxss xmm0, xmm5
subss xmm0, xmm1
movaps xmm1, xmm7
subss xmm1, xmm6
addss xmm6, xmm8
minss xmm2, xmm0
movaps xmm0, xmm4
addss xmm0, dword [rdi + 0x14]
movss dword [rdi + 0x10], xmm2
maxss xmm0, xmm6
subss xmm0, xmm4
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 0x180022f55
movss xmm2, dword [rsi + 0x1580]
jmp 0x180022f76
mov eax, r14d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x180022f6e
movss xmm2, dword [rsi + 0x1588]
jmp 0x180022f76
movss xmm2, dword [rsi + 0x1564]
xor cl, cl
movss dword [rdi + 0x40], xmm2
mov dword [rsp + 0x68], ecx
cmp byte [rsp + 0x31], cl
je 0x180022fb2
bt r14d, 0xc
jb 0x180022fb2
bt r14d, 0x1a
jae 0x180022f9c
mov byte [rsp + 0x68], 1
jmp 0x180022fb2
test r14d, 0x3000000
movzx ecx, cl
mov eax, 1
cmove ecx, eax
mov dword [rsp + 0x68], ecx
addss xmm2, dword [0x180051b68]
xorps xmm0, xmm0
mov dword [rsp + 0x50], 0xffffffff
movups xmmword [rbp - 0x58], xmm0
xor r13d, r13d
movss xmm0, dword [rsi + 0x1910]
cmp byte [rsi + 0xcb], r13b
movaps xmm1, xmm0
mulss xmm0, dword [0x180051b24]
setne r13b
cmp byte [rdi + 0x81], 0
mulss xmm1, dword [0x180051b74]
addss xmm2, xmm0
maxss xmm1, xmm2
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x40], xmm0
jne 0x180023047
lea rax, [rbp - 0x58]
mov rcx, rdi
lea r9d, [r13 + 1]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x38]
call fcn.180020380
mov r15, qword [0x180059c00]
test al, al
je 0x180023047
mov r12b, 1
movzx ecx, r12b
jmp 0x18002304c
movzx ecx, byte [rsp + 0x30]
cmp byte [rdi + 0x81], 0
movzx eax, byte [rsp + 0x50]
mov byte [rdi + 0x87], al
jne 0x18002316d
movss xmm2, dword [rdi + 0x208]
movss xmm3, dword [rdi + 0x20c]
movss xmm4, dword [rdi + 0x24]
movss xmm5, dword [rdi + 0x20]
subss xmm4, xmm13
subss xmm2, dword [rdi + 0x200]
subss xmm3, dword [rdi + 0x204]
addss xmm2, dword [rdi + 0x74]
addss xmm3, dword [rdi + 0x78]
test rbx, rbx
jne 0x1800230ac
movaps xmm1, xmm8
movaps xmm0, xmm8
jmp 0x1800230c8
movss xmm1, dword [rdi + 0x38]
movss xmm0, dword [rdi + 0x3c]
addss xmm1, xmm1
addss xmm0, xmm0
addss xmm1, dword [rdi + 0x28]
addss xmm0, dword [rdi + 0x2c]
test cl, cl
jne 0x1800230cf
movaps xmm5, xmm2
test r12b, r12b
jne 0x1800230d7
movaps xmm4, xmm3
bt r14d, 0xe
jb 0x1800230ed
comiss xmm0, xmm4
jbe 0x1800230e9
test r14b, 8
je 0x1800230ed
xor cl, cl
jmp 0x1800230ef
mov cl, 1
mov byte [rdi + 0x7d], cl
bt r14d, 0xf
jb 0x18002312d
test cl, cl
je 0x180023107
movss xmm2, dword [rsi + 0x15c0]
jmp 0x18002310b
movaps xmm2, xmm8
subss xmm5, xmm2
comiss xmm1, xmm5
jbe 0x180023123
mov eax, r14d
and eax, 0x808
cmp eax, 0x800
je 0x18002312d
mov byte [rdi + 0x7c], 0
movaps xmm1, xmm8
jmp 0x180023151
mov byte [rdi + 0x7c], 1
test cl, cl
jne 0x180023149
comiss xmm0, xmm4
jbe 0x180023144
test r14b, 8
jne 0x180023144
mov cl, 1
jmp 0x180023146
xor cl, cl
mov byte [rdi + 0x7d], cl
movss xmm1, dword [rsi + 0x15c0]
test cl, cl
je 0x18002315f
movss xmm0, dword [rsi + 0x15c0]
jmp 0x180023163
movaps xmm0, xmm8
movss dword [rdi + 0x74], xmm0
movss dword [rdi + 0x78], xmm1
mov eax, r14d
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x180023193
cmp dword [rsp + 0x4c], 0x3000000
je 0x180023193
mov rax, qword [rsp + 0x58]
add rax, 0x230
jmp 0x180023197
lea rax, [rbp - 0x68]
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 0x1800231c0
movaps xmm0, xmm8
jmp 0x1800231f6
mov rax, qword [rdi + 0x358]
movss xmm1, dword [r15 + 0x1914]
mulss xmm1, dword [rdi + 0x2a0]
test rax, rax
je 0x1800231e5
mulss xmm1, dword [rax + 0x2a0]
movss xmm0, dword [r15 + 0x1594]
addss xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm5
movss dword [rsp + 0x70], xmm7
addss xmm1, xmm0
movaps xmm2, xmm7
movss xmm0, dword [rdi + 0x14]
mov eax, r14d
addss xmm2, dword [rdi + 0x20]
movss dword [rsp + 0x74], xmm0
and eax, 0x401
movss dword [rsp + 0x7c], xmm1
movss dword [rsp + 0x78], xmm2
movss dword [rdi + 0x1f0], xmm7
movss dword [rdi + 0x1f4], xmm5
movss dword [rdi + 0x1f8], xmm3
movaps xmm3, xmm6
movss dword [rdi + 0x1fc], xmm4
movaps xmm4, 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 xmm7, dword [rdi + 0x10]
movss xmm10, dword [rdi + 0x14]
movaps xmm11, xmm7
movss dword [rdi + 0x200], xmm7
movaps xmm12, xmm10
addss xmm12, xmm13
addss xmm11, dword [rdi + 0x18]
addss xmm10, dword [rdi + 0x1c]
movss dword [rdi + 0x204], xmm12
subss xmm11, dword [rdi + 0x74]
subss xmm10, dword [rdi + 0x78]
movss dword [rdi + 0x208], xmm11
movss dword [rdi + 0x20c], xmm10
cmp eax, 1
jne 0x180023307
movss xmm9, dword [rdi + 0x44]
jmp 0x180023310
movss xmm9, dword [rsi + 0x159c]
movss xmm14, dword [0x180051b3c]
xorps xmm1, xmm1
movss xmm0, dword [rdi + 0x38]
addss xmm7, xmm14
mulss xmm0, xmm14
addss xmm12, xmm14
addss xmm11, xmm14
addss xmm10, xmm14
cvttss2si eax, xmm0
xorps xmm0, xmm0
addss xmm12, xmm9
subss xmm10, dword [rdi + 0x44]
cvtsi2ss xmm1, eax
maxss xmm1, dword [rdi + 0x44]
addss xmm7, xmm1
subss xmm11, xmm1
cvttss2si eax, xmm7
xorps xmm7, xmm7
cvtsi2ss xmm7, eax
cvttss2si eax, xmm12
movss dword [rdi + 0x210], xmm7
cvtsi2ss xmm0, eax
cvttss2si eax, xmm11
movss dword [rdi + 0x214], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
cvttss2si eax, xmm10
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 0x1800233bc
movaps xmm1, xmm4
jmp 0x1800233c3
movaps xmm1, xmm5
minss xmm1, xmm0
comiss xmm6, xmm7
jbe 0x1800233cd
movaps xmm0, xmm6
jmp 0x1800233d4
movaps xmm0, xmm3
minss xmm0, xmm7
movss dword [rdi + 0x210], xmm0
movss dword [rdi + 0x214], xmm1
movss xmm0, dword [rdi + 0x21c]
comiss xmm4, xmm0
ja 0x1800233f8
minss xmm5, xmm0
movaps xmm4, xmm5
movss xmm0, dword [rdi + 0x218]
comiss xmm6, xmm0
jbe 0x18002340a
movaps xmm3, xmm6
jmp 0x18002340e
minss xmm3, xmm0
movss dword [rdi + 0x218], xmm3
movss dword [rdi + 0x21c], xmm4
movss xmm0, dword [rdi + 0x18]
comiss xmm0, xmm8
jbe 0x18002343c
test r14d, 0x2000040
jne 0x18002343c
mulss xmm0, dword [0x180051b44]
jmp 0x18002344c
movss xmm0, dword [rsi + 0x1910]
mulss xmm0, dword [0x180051bf4]
cvttss2si eax, xmm0
mov r8b, 1
lea rcx, [rbp - 0x80]
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]
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, xmm8
maxss xmm0, xmm1
movss dword [rdi + 0x5c], xmm0
movss xmm0, dword [rdi + 0x20c]
subss xmm0, dword [rdi + 0x204]
subss xmm2, xmm0
movaps xmm0, xmm8
maxss xmm0, xmm2
movss dword [rdi + 0x60], xmm0
call fcn.1800253d0
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.180032cb0
mov r15, qword [rdi + 0x2a8]
mov rax, qword [rsi + 0x1908]
mov r8d, dword [r15 + 0x74]
mov rcx, qword [rax + 0x48]
mov r12, qword [rcx + 8]
mov ecx, dword [r15 + 0x70]
cmp ecx, r8d
jne 0x180023545
inc ecx
test r8d, r8d
je 0x180023530
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x180023535
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [r15 + 0x70]
call fcn.18002b170
movsxd rdx, dword [r15 + 0x70]
mov rcx, r15
mov rax, qword [r15 + 0x78]
mov qword [rax + rdx*8], r12
inc dword [r15 + 0x70]
call fcn.1800330c0
mov rcx, qword [0x180059c00]
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.180033180
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 [0x180059c00]
bt r14d, 0x1b
jae 0x180023646
mov eax, dword [r9 + 0x1b60]
sub eax, 1
js 0x18002362d
movsxd rdx, eax
mov rax, qword [r9 + 0x1b68]
add rax, 8
lea r8, [rdx + rdx*2]
shl r8, 4
add r8, rax
mov rax, qword [r8]
test rax, rax
je 0x180023623
test dword [rax + 0xc], 0x8000000
jne 0x18002362f
sub r8, 0x30
sub rdx, 1
jns 0x180023612
xor eax, eax
cmp rdi, rax
jne 0x180023646
cmp dword [rdi + 0xa0], 0
jg 0x180023646
mov cl, 1
mov edx, 0x3a0
jmp 0x18002364d
xor cl, cl
mov edx, 0x390
mov rax, qword [rsi + 0x1bd0]
test rax, rax
je 0x180023666
cmp rdi, qword [rax + 0x360]
jne 0x180023666
mov bl, 1
jmp 0x180023668
xor bl, bl
test cl, cl
jne 0x180023674
test bl, bl
je 0x1800237b7
movups xmm1, xmmword [rdx + r9 + 0x1558]
lea rcx, [rbp - 0x80]
movss xmm0, dword [rsi + 0x1d38]
mulss xmm0, dword [r9 + 0x1558]
movups xmmword [rbp - 0x80], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x74], xmm1
call fcn.18001a680
mov rcx, qword [rdi + 0x2a8]
lea rdx, [rbp - 0x68]
mov r9d, eax
mov dword [rsp + 0x28], 0xf
lea r8, [rbp - 0x60]
movss dword [rsp + 0x20], xmm8
call fcn.1800353b0
test bl, bl
je 0x1800237b7
movss xmm12, dword [rsp + 0x48]
cmp rdi, qword [rsi + 0x1bd0]
jne 0x1800237be
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 xmm8, xmm1
addss xmm3, xmm0
movss dword [rbp - 0x68], xmm1
movss dword [rbp - 0x60], xmm2
movss dword [rbp - 0x64], xmm4
movss dword [rbp - 0x5c], xmm3
jb 0x180023748
comiss xmm8, xmm4
jb 0x180023748
comiss xmm2, xmm15
jb 0x180023748
comiss xmm3, xmm12
jae 0x1800237be
mov rax, qword [0x180059c00]
lea rcx, [rbp - 0x80]
movss xmm0, dword [rsi + 0x1be4]
mulss xmm0, dword [0x180051b28]
movups xmm1, xmmword [rax + 0x18d8]
mulss xmm0, dword [rax + 0x1558]
movups xmmword [rbp - 0x80], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x74], xmm1
call fcn.18001a680
movss xmm0, dword [rsi + 0x1564]
lea r8, [rbp - 0x60]
mov rcx, qword [rdi + 0x2a8]
lea rdx, [rbp - 0x68]
mov r9d, eax
mov dword [rsp + 0x28], 0xf
movss dword [rsp + 0x20], xmm0
call fcn.1800353b0
jmp 0x1800237be
movss xmm12, dword [rsp + 0x48]
mov eax, r14d
xor bl, bl
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x18002380d
cmp dword [rsp + 0x4c], 0x3000000
je 0x18002380d
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 0x18002380d
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x2a8]
cmp dword [rax + 0x20], 0
jle 0x18002380d
mov bl, 1
mov qword [rdi + 0x2a8], rax
mov rax, qword [rsi + 0x1bc8]
test rax, rax
jne 0x180023820
mov rax, qword [rsi + 0x1b80]
mov r12d, dword [rsp + 0x68]
test r12b, r12b
jne 0x180023844
test rax, rax
je 0x18002383f
mov rax, qword [rax + 0x368]
cmp qword [rdi + 0x368], rax
je 0x180023844
xor r8b, r8b
jmp 0x180023847
mov r8b, 1
movss xmm0, dword [rsp + 0x40]
lea rax, [rbp - 0x58]
movss dword [rsp + 0x28], xmm0
lea r9d, [r13 + 1]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov rcx, rdi
call fcn.1800211b0
test bl, bl
je 0x18002387f
lea rax, [rdi + 0x2b0]
mov qword [rdi + 0x2a8], rax
cmp qword [rsi + 0x1bd0], rdi
jne 0x180023a03
movss xmm1, dword [rsi + 0x1910]
movss xmm7, dword [rdi + 0x10]
movss xmm6, dword [rdi + 0x14]
movaps xmm10, xmm7
addss xmm7, dword [rdi + 0x18]
movss xmm2, dword [rdi + 0x40]
subss xmm10, xmm1
movaps xmm9, xmm6
movaps xmm11, xmm2
addss xmm6, dword [rdi + 0x1c]
maxss xmm11, dword [rsi + 0x1564]
subss xmm9, xmm1
comiss xmm8, xmm10
addss xmm7, xmm1
addss xmm6, xmm1
jb 0x18002391a
comiss xmm8, xmm9
jb 0x18002391a
comiss xmm7, xmm15
jb 0x18002391a
comiss xmm6, xmm12
jb 0x18002391a
xorps xmm1, xmmword [0x180052020]
movaps xmm11, xmm2
subss xmm1, dword [0x180051b68]
movaps xmm0, xmm1
subss xmm10, xmm1
subss xmm9, xmm1
addss xmm0, xmm7
addss xmm1, xmm6
movaps xmm7, xmm0
movaps xmm6, xmm1
mov rax, qword [0x180059c00]
lea rcx, [rbp - 0x58]
movss xmm0, dword [rsi + 0x1be4]
mov rbx, qword [rdi + 0x2a8]
movups xmm1, xmmword [rax + 0x18d8]
mulss xmm0, dword [rax + 0x1558]
movups xmmword [rbp - 0x58], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x4c], xmm1
call fcn.18001a680
mov r15d, eax
test eax, 0xff000000
je 0x180023a03
test byte [rbx + 0x30], 1
addss xmm10, xmm14
addss xmm9, xmm14
mov dword [rsp + 0x20], 0xffffffff
movaps xmm3, xmm11
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov rcx, rbx
movss dword [rsp + 0x40], xmm10
movss dword [rsp + 0x44], xmm9
je 0x1800239aa
subss xmm7, xmm14
subss xmm6, xmm14
jmp 0x1800239ba
subss xmm7, dword [0x180051b38]
subss xmm6, dword [0x180051b38]
movss dword [rsp + 0x38], xmm7
movss dword [rsp + 0x3c], xmm6
call fcn.180034d70
movss xmm0, dword [0x180051ba8]
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.180033580
xor r13d, r13d
mov dword [rbx + 0x80], r13d
jmp 0x180023a06
xor r13d, r13d
movss xmm6, dword [rdi + 0x30]
mov ecx, r14d
movaps xmm15, xmmword [rsp + 0xc0]
movaps xmm14, xmmword [rsp + 0xd0]
shr ecx, 3
not cl
and cl, 1
ucomiss xmm6, xmm8
jp 0x180023a6e
jne 0x180023a6e
movss xmm0, dword [rdi + 0x38]
mov eax, r14d
movss xmm1, dword [rdi + 0x18]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [rdi + 0x74]
cmp eax, 0x800
jne 0x180023a63
movss xmm10, dword [rdi + 0x28]
maxss xmm10, xmm1
jmp 0x180023a72
movaps xmm10, xmm8
maxss xmm10, xmm1
jmp 0x180023a72
movaps xmm10, xmm6
movss xmm4, dword [rdi + 0x34]
ucomiss xmm4, xmm8
jp 0x180023ab7
jne 0x180023ab7
movss xmm0, dword [rdi + 0x3c]
movss xmm1, dword [rdi + 0x1c]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, xmm13
subss xmm1, dword [rdi + 0x78]
test cl, cl
je 0x180023aac
movss xmm9, dword [rdi + 0x2c]
maxss xmm9, xmm1
jmp 0x180023abb
movaps xmm9, xmm8
maxss xmm9, xmm1
jmp 0x180023abb
movaps xmm9, xmm4
ucomiss xmm6, xmm8
movss xmm5, dword [rdi + 0x38]
movss xmm11, dword [rdi + 0x54]
movaps xmm0, xmm5
maxss xmm0, dword [rdi + 0x44]
movss xmm1, dword [rdi + 0x200]
movss xmm7, dword [rdi + 0x3c]
subss xmm1, 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 xmm10, xmm3
movss dword [rdi + 0x220], xmm3
movss xmm3, dword [rdi + 0x10]
cvttss2si eax, xmm1
movss xmm1, dword [rdi + 0x14]
subss xmm1, xmm12
movss dword [rdi + 0x228], xmm10
movaps xmm10, xmmword [rsp + 0x110]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
addss xmm1, xmm7
addss xmm9, xmm2
movss dword [rdi + 0x224], xmm2
movaps xmm2, xmm3
subss xmm2, xmm11
addss xmm1, xmm13
movss dword [rdi + 0x22c], xmm9
movaps xmm9, xmmword [rsp + 0x120]
addss xmm2, xmm5
movss dword [rdi + 0x244], xmm1
movss dword [rdi + 0x240], xmm2
jp 0x180023ba8
jne 0x180023ba8
movss xmm6, dword [rdi + 0x18]
movaps xmm0, xmm5
addss xmm0, xmm5
subss xmm6, xmm0
subss xmm6, dword [rdi + 0x74]
ucomiss xmm4, xmm8
addss xmm6, xmm2
movss dword [rdi + 0x248], xmm6
movaps xmm6, xmmword [rsp + 0x150]
jp 0x180023bde
jne 0x180023bde
movss xmm4, dword [rdi + 0x1c]
movaps xmm0, xmm7
addss xmm0, xmm7
subss xmm4, xmm0
subss xmm4, xmm13
subss xmm4, dword [rdi + 0x78]
addss xmm7, xmm13
movaps xmm13, xmmword [rsp + 0xe0]
addss xmm5, xmm8
addss xmm4, xmm1
subss xmm7, xmm12
movaps xmm12, xmmword [rsp + 0xf0]
subss xmm5, xmm11
movaps xmm11, xmmword [rsp + 0x100]
movss dword [rdi + 0x24c], xmm4
movss dword [rdi + 0x1dc], xmm5
addss xmm5, xmm8
mov qword [rdi + 0x1e0], 0
addss xmm7, dword [rdi + 0x14]
addss xmm5, xmm3
movss dword [rdi + 0xe0], xmm5
movss dword [rdi + 0xe4], xmm7
movss dword [rdi + 0xd0], xmm5
movss dword [rdi + 0xd4], xmm7
movss dword [rdi + 0xd8], xmm5
movss dword [rdi + 0xdc], xmm7
movsd xmm0, qword [rdi + 0xe0]
movaps xmm7, xmmword [rsp + 0x140]
movsd qword [rdi + 0xe8], xmm0
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, xmm8
seta al
mov byte [rdi + 0x149], al
mov eax, dword [rdi + 0x144]
mov dword [rdi + 0x140], eax
mov dword [rdi + 0x144], r13d
mov byte [rdi + 0x14a], 0
mov ecx, dword [rdi + 0x15c]
test ecx, ecx
jns 0x180023cfd
mov eax, ecx
cdq
sub eax, edx
mov edx, r13d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x158]
test eax, eax
cmovg edx, eax
call fcn.18002b170
mov r15, qword [rsp + 0x58]
mov eax, 1
mov dword [rdi + 0x158], r13d
mov dword [rdi + 0x170], eax
test r15, r15
je 0x180023d3a
mov eax, dword [r15 + 0x170]
mov dword [rdi + 0x174], eax
mov qword [rdi + 0x178], 0xffffffffffffffff
mov eax, dword [r15 + 0x180]
jmp 0x180023d4e
mov dword [rdi + 0x174], eax
mov eax, r13d
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.18002b3c0
lea rcx, [rdi + 0x1a0]
call fcn.18002b4a0
lea rcx, [rdi + 0x1b0]
call fcn.18002b4a0
mov qword [rdi + 0x1e8], r13
lea rax, [rdi + 0x280]
mov qword [rdi + 0x108], 0
lea rcx, [rdi + 0x1c0]
xor edx, edx
mov qword [rdi + 0x168], rax
call fcn.18002ab50
cmp byte [rsp + 0x31], 0
movss xmm0, dword [rsi + 0x15a0]
movss dword [rdi + 0x25c], xmm0
mov qword [rdi + 0x260], 0
je 0x180023def
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], r13d
movss xmm2, dword [rdi + 0x278]
comiss xmm2, xmm8
jbe 0x180023e47
movss xmm0, dword [rdi + 0x25c]
addss xmm0, dword [rdi + 0x260]
movss dword [rdi + 0x260], xmm0
movss xmm1, dword [rdi + 0x260]
cvttss2si eax, xmm1
addss xmm2, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x26c], xmm0
movss dword [rdi + 0x260], xmm2
mov dword [rdi + 0x278], r13d
movss xmm1, dword [rdi + 0x27c]
comiss xmm1, xmm8
jbe 0x180023e8b
addss xmm2, dword [rdi + 0x25c]
cvttss2si eax, xmm2
addss xmm2, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x270], xmm0
movss dword [rdi + 0x260], xmm2
mov dword [rdi + 0x27c], r13d
bt r14d, 0x18
jae 0x180023ee0
mov eax, dword [r15 + 0x180]
cmp dword [rdi + 0x180], eax
je 0x180023ee0
lea rdx, [rdi + 0x180]
mov dword [rdi + 0x180], eax
lea rcx, [rdi + 0x190]
call fcn.18002b2f0
movzx eax, byte [rdi + 0x94]
test al, al
jle 0x180023ef3
dec al
mov byte [rdi + 0x94], al
movzx eax, byte [rdi + 0x95]
test al, al
jle 0x180023f06
dec al
mov byte [rdi + 0x95], al
test r12b, r12b
je 0x180023f84
mov rcx, rdi
call fcn.1800243c0
mov eax, dword [rdi + 0xc]
mov rdx, qword [0x180059c00]
bt eax, 0x12
jb 0x180023f78
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x180023f38
cmp dword [rdi + 0x380], 0
jne 0x180023f78
movsxd rcx, dword [rdx + 0x1bec]
xorps xmm0, xmm0
mov rax, qword [rdx + 0x1b80]
mov dword [rdx + 0x1b88], r13d
mov dword [rax + rcx*4 + 0x380], r13d
mov word [rdx + 0x1bf9], 1
mov dword [rdx + 0x1bfc], r13d
movups xmmword [rdx + 0x1c00], xmm0
mov byte [rdx + 0x1bf8], 1
jmp 0x180023f84
mov eax, dword [rdi + 0x380]
mov dword [rdx + 0x1b88], eax
test r14b, 1
jne 0x180023f9b
mov r8, qword [rbp - 0x70]
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.1800218f0
mov rbx, qword [0x180059c00]
mov eax, dword [rdi + 0x4c]
movss xmm1, dword [rsp + 0x70]
movss xmm3, dword [rsp + 0x74]
mov dword [rdi + 0x110], eax
movss xmm2, dword [rbx + 0x15b0]
movss xmm0, dword [rbx + 0x15b4]
subss xmm1, xmm2
movaps xmm4, xmm2
subss xmm3, xmm0
movss xmm2, dword [rbx + 0x130]
movaps xmm5, xmm0
addss xmm4, dword [rsp + 0x78]
addss xmm5, dword [rsp + 0x7c]
comiss xmm2, xmm1
jb 0x18002400a
movss xmm0, dword [rbx + 0x134]
comiss xmm0, xmm3
jb 0x18002400a
comiss xmm4, xmm2
jbe 0x18002400a
comiss xmm5, xmm0
mov eax, 1
ja 0x18002400d
mov eax, r13d
movups xmm0, xmmword [rsp + 0x70]
mov dword [rdi + 0x114], eax
movups xmmword [rdi + 0x118], xmm0
jmp 0x18002406b
mov rbx, qword [0x180059c00]
movss xmm0, dword [rbx + 0x1914]
mov qword [rbx + 0x1a18], rdi
mov rax, qword [rdi + 0x358]
mulss xmm0, dword [rdi + 0x2a0]
test rax, rax
je 0x180024053
mulss xmm0, dword [rax + 0x2a0]
mov r15, qword [rsp + 0x58]
xor r13d, r13d
movss dword [rbx + 0x1928], xmm0
movss dword [rbx + 0x1910], xmm0
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.180033180
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 + 0x60]
movss dword [rbx + 0x234], xmm0
movss dword [rbx + 0x238], xmm1
movss dword [rbx + 0x23c], xmm2
mov r12, qword [rsp + 0x178]
mov rbx, qword [rsp + 0x1a8]
cmp eax, dword [rsp + 0x64]
je 0x180024104
mov byte [rdi + 0x80], 0
inc word [rdi + 0x88]
mov dword [rsi + 0x1ab8], r13d
mov r13, qword [rsp + 0x170]
bt r14d, 0x18
jae 0x1800241aa
test r14b, 0x40
jne 0x18002416c
cmp byte [rdi + 0x94], 0
jg 0x18002416c
cmp byte [rdi + 0x95], 0
jg 0x18002416c
movss xmm0, dword [rdi + 0x1f0]
comiss xmm0, dword [rdi + 0x1f8]
jae 0x18002415f
movss xmm0, dword [rdi + 0x1f4]
comiss xmm0, dword [rdi + 0x1fc]
jb 0x18002416c
mov eax, 1
mov dword [rdi + 0x9c], eax
jmp 0x180024171
mov eax, 1
test r15, r15
je 0x1800241aa
cmp byte [r15 + 0x81], 0
jne 0x18002418a
cmp dword [r15 + 0x9c], 0
jle 0x180024190
mov dword [rdi + 0x9c], eax
cmp byte [r15 + 0x81], 0
jne 0x1800241a4
cmp dword [r15 + 0xa0], 0
jle 0x1800241aa
mov dword [rdi + 0xa0], eax
comiss xmm8, dword [rsi + 0x1558]
mov edx, 1
mov rsi, qword [rsp + 0x180]
mov r15, qword [rsp + 0x160]
mov r14, qword [rsp + 0x168]
movaps xmm8, xmmword [rsp + 0x130]
jb 0x1800241e0
mov dword [rdi + 0x9c], edx
cmp dword [rdi + 0x9c], 0
jg 0x1800241f6
cmp dword [rdi + 0xa0], 0
jg 0x1800241f6
xor cl, cl
jmp 0x1800241f8
mov cl, 1
xor al, al
mov byte [rdi + 0x85], cl
cmp byte [rdi + 0x81], al
jne 0x180024211
cmp byte [rdi + 0x7e], al
je 0x180024211
test cl, cl
je 0x18002422e
cmp byte [rdi + 0x94], al
jg 0x18002422e
cmp byte [rdi + 0x95], al
jg 0x18002422e
cmp dword [rdi + 0xa0], 0
movzx eax, al
cmovle eax, edx
mov byte [rdi + 0x83], al
xor al, 1
mov rcx, qword [rbp - 0x48]
xor rcx, rsp
call fcn.180046c70
add rsp, 0x188
pop rdi
pop rbp
ret