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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xc8]
sub rsp, 0x190
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
movaps xmmword [rax - 0xa8], xmm12
movaps xmmword [rax - 0xb8], xmm13
movaps xmmword [rax - 0xc8], xmm14
movaps xmmword [rax - 0xd8], xmm15
mov rax, qword [0x180053040]
xor rax, rsp
mov qword [rbp - 0x20], rax
mov rsi, qword [0x1800540b0]
mov r14d, r8d
mov r15, rcx
mov qword [rbp - 0x68], rcx
call fcn.1800201a8
xor edi, edi
mov qword [rsp + 0x78], rax
test rax, rax
mov rbx, rax
xorps xmm8, xmm8
sete cl
mov byte [rsp + 0x41], cl
test rax, rax
jne 0x18002239d
mov ecx, dword [rsi + 0x1ab8]
and ecx, 2
je 0x180022366
movsd xmm0, qword [rsi + 0x1ad8]
movsd qword [rsp + 0x50], xmm0
jmp 0x18002236e
and dword [rsp + 0x60], edi
and dword [rsp + 0x64], edi
test ecx, ecx
lea rdx, [rsp + 0x50]
lea rax, [rsp + 0x60]
mov r8d, r14d
cmovne rax, rdx
mov rcx, r15
movss xmm0, dword [rax + 4]
movss xmm1, dword [rax]
unpcklps xmm1, xmm0
movq rdx, xmm1
call fcn.1800201f4
mov rbx, rax
mov eax, 0xc0200
mov ecx, r14d
and ecx, eax
cmp ecx, eax
jne 0x1800223af
or r14d, 6
mov r8d, dword [rsi + 0x19b0]
mov r9d, dword [rbx + 0x250]
mov r13d, dword [rbx + 0xa0]
mov dword [rsp + 0x70], r8d
lea eax, [r8 - 1]
mov dword [rsp + 0x74], r9d
cmp r9d, eax
mov dword [rsp + 0x6c], r13d
setl dl
mov byte [rsp + 0x42], dl
bt r14d, 0x1a
jae 0x180022418
movsxd rax, dword [rsi + 0x1b70]
lea rax, [rax + rax*2]
shl rax, 4
add rax, qword [rsi + 0x1b68]
cmp rbx, qword [rax + 8]
mov eax, dword [rax]
setne cl
cmp dword [rbx + 0x90], eax
setne al
or cl, al
or dl, cl
mov byte [rsp + 0x42], dl
mov ecx, 1
test dl, dl
jne 0x180022429
mov al, dil
test r13d, r13d
jle 0x18002242b
mov al, cl
mov byte [rbx + 0x84], al
mov r12d, 8
test al, al
je 0x180022450
or dword [rbx + 0xa4], r12d
or dword [rbx + 0xa8], r12d
or dword [rbx + 0xac], r12d
cmp r9d, r8d
je 0x180022491
mov dword [rbx + 0xc], r14d
mov dword [rbx + 0x250], r8d
movsd xmm0, qword [rsi + 0x19a8]
mov word [rbx + 0x8a], di
cvtpd2ps xmm0, xmm0
movss dword [rbx + 0x254], xmm0
movzx eax, word [rsi + 0x1a10]
add dword [rsi + 0x1a10], ecx
mov word [rbx + 0x8c], ax
jmp 0x180022495
mov r14d, dword [rbx + 0xc]
lea r15, [rsi + 0x19f0]
cmp dword [r15], edi
jne 0x1800224a6
mov rcx, rdi
jmp 0x1800224b5
movsxd rcx, dword [r15]
mov rax, qword [rsi + 0x19f8]
mov rcx, qword [rax + rcx*8 - 8]
cmp r9d, r8d
je 0x1800224cc
mov eax, r14d
and eax, 0x5000000
neg eax
sbb rax, rax
and rax, rcx
jmp 0x1800224d3
mov rax, qword [rbx + 0x358]
lea rcx, [rbx + 0xc0]
mov qword [rsp + 0x50], rax
cmp dword [rcx], edi
jne 0x1800224ec
lea rdx, [rbx + 8]
call fcn.1800298f0
mov r8d, dword [r15]
mov ecx, dword [r15 + 4]
cmp r8d, ecx
jne 0x18002251f
inc r8d
test ecx, ecx
je 0x18002250a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18002250d
mov eax, r12d
cmp eax, r8d
mov rcx, r15
cmovg r8d, eax
mov edx, r8d
call fcn.1800296d8
movsxd rcx, dword [r15]
mov r11d, 1
mov rax, qword [r15 + 8]
mov dl, r11b
mov qword [rax + rcx*8], rbx
mov rcx, rbx
add dword [r15], r11d
mov qword [rsi + 0x1a18], rdi
call fcn.180025038
bt r14d, 0x1a
jae 0x1800225ea
lea r12, [rsi + 0x1b70]
movsxd rax, dword [r12]
lea r15, [rax + rax*2]
shl r15, 4
add r15, qword [rsi + 0x1b68]
mov qword [r15 + 8], rbx
mov r8d, dword [r12]
mov ecx, dword [r12 + 4]
cmp r8d, ecx
jne 0x1800225ab
inc r8d
test ecx, ecx
je 0x18002258e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180022593
mov eax, 8
cmp eax, r8d
mov rcx, r12
cmovg r8d, eax
mov edx, r8d
call fcn.180029c84
mov r11d, 1
movsxd rax, dword [r12]
movups xmm0, xmmword [r15]
lea rcx, [rax + rax*2]
mov rax, qword [r12 + 8]
add rcx, rcx
movups xmmword [rax + rcx*8], xmm0
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movups xmm0, xmmword [r15 + 0x20]
movups xmmword [rax + rcx*8 + 0x20], xmm0
add dword [r12], r11d
mov r12d, 8
mov eax, dword [r15]
mov dword [rbx + 0x90], eax
test r13d, r13d
jle 0x1800225fc
bt r14d, 0x18
jb 0x1800225fc
mov dword [rbx + 0x380], edi
mov r13b, dil
mov byte [rsp + 0x43], dil
mov byte [rsp + 0x40], dil
test byte [rsi + 0x1ab8], r11b
je 0x18002268d
mov r8d, dword [rsi + 0x1abc]
mov ecx, dword [rbx + 0xa4]
test r8d, ecx
setne dl
mov byte [rsp + 0x43], dl
test r8d, ecx
je 0x18002267e
movss xmm0, dword [rsi + 0x1ad4]
movss xmm1, dword [rsi + 0x1ad0]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x18004e050]
jbe 0x18002267e
movsd xmm0, qword [rsi + 0x1ac8]
and ecx, 0xfffffff1
movsd qword [rbx + 0xb0], xmm0
movsd xmm1, qword [rsi + 0x1ad0]
movsd qword [rbx + 0xb8], xmm1
mov dword [rbx + 0xa4], ecx
jmp 0x18002268d
lea rdx, [rsi + 0x1ac8]
mov rcx, rbx
call fcn.180024a08
test byte [rsi + 0x1ab8], 2
je 0x1800226e6
mov r8d, dword [rsi + 0x1ac0]
mov eax, r8d
and eax, dword [rbx + 0xa8]
je 0x1800226bb
movss xmm0, dword [rsi + 0x1ad8]
comiss xmm0, xmm8
jbe 0x1800226bb
mov r13b, r11b
jmp 0x1800226bf
test eax, eax
je 0x1800226d2
movss xmm0, dword [rsi + 0x1adc]
comiss xmm0, xmm8
mov byte [rsp + 0x40], r11b
ja 0x1800226d7
mov byte [rsp + 0x40], dil
lea rdx, [rsi + 0x1ad8]
mov rcx, rbx
call fcn.180024ad4
test byte [rsi + 0x1ab8], 4
mov r15d, dword [rsp + 0x70]
je 0x180022703
movsd xmm0, qword [rsi + 0x1ae0]
movsd qword [rbx + 0x30], xmm0
jmp 0x18002270e
cmp dword [rsp + 0x74], r15d
je 0x18002270e
mov qword [rbx + 0x30], rdi
test byte [rsi + 0x1ab8], r12b
je 0x18002273c
mov eax, dword [rsi + 0x1ac4]
mov cl, byte [rsi + 0x1ae8]
test eax, eax
je 0x18002272f
test dword [rbx + 0xac], eax
je 0x18002273c
and dword [rbx + 0xac], 0xfffffff1
mov byte [rbx + 0x81], cl
test byte [rsi + 0x1ab8], 0x20
je 0x180022753
mov rcx, rbx
call fcn.1800242b0
mov r11d, 1
cmp byte [rbx + 0x84], dil
je 0x180022771
and dword [rbx + 0xa4], 0xfffffff7
and dword [rbx + 0xa8], 0xfffffff7
and dword [rbx + 0xac], 0xfffffff7
cmp dword [rsp + 0x74], r15d
je 0x18002407d
mov rax, qword [rsp + 0x50]
mov ecx, r14d
and ecx, 0x3000000
mov qword [rbx + 0x358], rax
mov dword [rsp + 0x58], ecx
mov qword [rbx + 0x370], rbx
mov qword [rbx + 0x368], rbx
mov qword [rbx + 0x360], rbx
test rax, rax
je 0x1800227e8
cmp ecx, 0x1000000
jne 0x1800227ca
mov rax, qword [rax + 0x360]
mov qword [rbx + 0x360], rax
mov rax, qword [rsp + 0x50]
bt r14d, 0x1b
jb 0x1800227e8
test r14d, 0x5000000
je 0x1800227e8
mov rax, qword [rax + 0x368]
mov qword [rbx + 0x368], rax
mov edx, 0x800000
test dword [rbx + 0xc], edx
je 0x18002280b
mov rcx, rbx
mov rax, qword [rcx + 0x358]
mov qword [rbx + 0x370], rax
mov rcx, rax
test dword [rax + 0xc], edx
jne 0x1800227f5
mov byte [rbx + 0x7e], r11b
mov eax, 0xff7fffff
mov byte [rbx + 0x86], dil
mov dword [rbx + 0x230], eax
mov dword [rbx + 0x234], eax
mov eax, 0x7f7fffff
mov dword [rbx + 0x238], eax
mov dword [rbx + 0x23c], eax
mov ecx, dword [rbx + 0xc4]
cmp ecx, r11d
jge 0x1800228e2
test ecx, ecx
je 0x180022865
mov eax, ecx
mov r15d, r11d
cdq
sub eax, edx
sar eax, 1
add eax, ecx
cmp eax, r11d
cmovg r15d, eax
cmp r15d, ecx
jle 0x1800228e2
jmp 0x180022868
mov r15d, r12d
mov rax, qword [0x1800540b0]
test rax, rax
je 0x18002287b
add dword [rax + 0x3bc], r11d
movsxd rcx, r15d
shl rcx, 2
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, qword [rbx + 0xc8]
mov r12, rax
test rdx, rdx
je 0x1800228ce
movsxd r8, dword [rbx + 0xc0]
mov rcx, rax
shl r8, 2
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0xc8]
test rcx, rcx
je 0x1800228c8
mov rax, qword [0x1800540b0]
test rax, rax
je 0x1800228c8
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0xc8], r12
mov r11d, 1
mov dword [rbx + 0xc4], r15d
mov dword [rbx + 0xc0], r11d
cmp byte [rbx + 0x3a8], dil
je 0x180022932
mov rcx, qword [rbx + 0x2a8]
mov edx, dword [rbx + 0x3ac]
add rcx, 0x10
mov byte [rbx + 0x3a8], dil
call fcn.180029bf8
mov rcx, qword [rbx + 0x2a8]
mov edx, dword [rbx + 0x3b0]
add rcx, 0x20
call fcn.1800299c0
mov r11d, 1
mov qword [rbx + 0x3ac], rdi
mov r8, qword [rsp + 0x78]
cmp qword [rsi + 0x1bd8], rdi
je 0x1800229fd
test dword [rbx + 0xc], 0x80000
jne 0x1800229fd
test r8, r8
je 0x1800229fd
mov r10, qword [rbp - 0x68]
mov rcx, qword [rbx]
mov rax, r10
mov r9, rcx
sub r9, r10
movzx r8d, byte [rax]
movzx edx, byte [rax + r9]
sub r8d, edx
jne 0x18002297f
add rax, r11
test edx, edx
jne 0x18002296a
test r8d, r8d
je 0x1800229f8
movsxd r12, dword [rbx + 0x48]
or r15, 0xffffffffffffffff
inc r15
cmp byte [r10 + r15], dil
jne 0x18002298c
add r15, r11
cmp r12, r15
jae 0x1800229e6
test rcx, rcx
je 0x1800229b4
mov rax, qword [0x1800540b0]
test rax, rax
je 0x1800229b4
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x1800540b0]
test rax, rax
je 0x1800229d3
mov r8d, 1
add dword [rax + 0x3bc], r8d
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r10, qword [rbp - 0x68]
mov r12, r15
mov rcx, rax
mov r8, r15
mov rdx, r10
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbx], rax
mov dword [rbx + 0x48], r12d
mov r8, qword [rsp + 0x78]
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.180020764
movss xmm3, dword [rax]
movss xmm4, dword [rax + 4]
mov eax, dword [rbx + 0x9c]
movss dword [rbx + 0x28], xmm3
movss dword [rbx + 0x2c], xmm4
test eax, eax
jle 0x180022a2f
dec eax
mov dword [rbx + 0x9c], eax
mov eax, dword [rbx + 0xa0]
test eax, eax
jle 0x180022a41
dec eax
mov dword [rbx + 0xa0], eax
test r8, r8
jne 0x180022a61
test r13b, r13b
je 0x180022a52
cmp byte [rsp + 0x40], dil
jne 0x180022a61
mov r12d, 1
mov dword [rbx + 0xa0], r12d
jmp 0x180022a67
mov r12d, 1
mov r8d, 0x6000000
cmp byte [rsp + 0x42], dil
je 0x180022aa7
test r8d, r14d
je 0x180022aa7
mov dword [rbx + 0xa0], r12d
test r14b, 0x40
je 0x180022aa7
test r13b, r13b
jne 0x180022a91
mov dword [rbx + 0x20], edi
mov dword [rbx + 0x18], edi
mov r15b, byte [rsp + 0x40]
test r15b, r15b
jne 0x180022aa1
mov dword [rbx + 0x24], edi
mov dword [rbx + 0x1c], edi
mov qword [rbx + 0x28], rdi
jmp 0x180022aac
mov r15b, byte [rsp + 0x40]
mov rcx, rbx
call fcn.18001cfa4
mov ecx, 0x1000000
test ecx, r14d
je 0x180022ac8
movss xmm1, dword [rsi + 0x1584]
jmp 0x180022ae6
test r8d, r14d
je 0x180022ade
bt r14d, 0x1b
jb 0x180022ade
movss xmm1, dword [rsi + 0x158c]
jmp 0x180022ae6
movss xmm1, dword [rsi + 0x1568]
movss dword [rbx + 0x44], xmm1
mov rax, rbx
movsd xmm0, qword [rsi + 0x155c]
mov eax, r14d
and eax, 0x5010000
movsd qword [rbx + 0x38], xmm0
cmp eax, ecx
jne 0x180022b2c
ucomiss xmm1, xmm8
jp 0x180022b2c
jne 0x180022b2c
bt r14d, 0xa
jae 0x180022b20
movss xmm0, dword [rsi + 0x1560]
jmp 0x180022b24
movaps xmm0, xmm8
movss dword [rbx + 0x3c], xmm0
mov dword [rbx + 0x38], edi
movss xmm0, dword [rbx + 0x38]
maxss xmm0, dword [rsi + 0x15a0]
maxss xmm0, dword [rsi + 0x1b14]
movss dword [rbx + 0x14c], xmm0
mov eax, dword [rsi + 0x1b18]
mov dword [rbx + 0x150], eax
test r14b, 0x21
jne 0x180022c54
mov rcx, qword [0x1800540b0]
test byte [rbx + 0xc], r12b
je 0x180022b72
movaps xmm2, xmm8
jmp 0x180022ba6
mov rax, qword [rbx + 0x358]
movss xmm0, dword [rcx + 0x1914]
mulss xmm0, dword [rbx + 0x2a0]
test rax, rax
je 0x180022b96
mulss xmm0, dword [rax + 0x2a0]
movss xmm2, dword [rcx + 0x1594]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm0, dword [rbx + 0x10]
movaps xmm1, xmm0
movss dword [rbp - 0x40], xmm0
addss xmm1, dword [rbx + 0x20]
addss xmm2, dword [rbx + 0x14]
movss xmm0, dword [rbx + 0x14]
movss dword [rbp - 0x3c], xmm0
movss dword [rbp - 0x38], xmm1
movss dword [rbp - 0x34], xmm2
cmp qword [rsi + 0x1a20], rbx
jne 0x180022c0e
cmp dword [rsi + 0x1a4c], edi
jne 0x180022c0e
cmp dword [rsi + 0x1a54], edi
jne 0x180022c0e
mov r8b, r12b
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x40]
call fcn.18001faf4
test al, al
je 0x180022c0e
cmp byte [rsi + 0x425], dil
je 0x180022c0e
mov byte [rbx + 0x82], r12b
cmp byte [rbx + 0x82], dil
je 0x180022c5b
cmp byte [rbx + 0x81], dil
mov rcx, qword [0x1800540b0]
sete al
test dword [rbx + 0xc], 0x100
mov byte [rbx + 0x81], al
jne 0x180022c4a
comiss xmm8, dword [rcx + 0x2ef8]
jb 0x180022c4a
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x2ef8], eax
mov rcx, rbx
call fcn.1800242b0
jmp 0x180022c5b
mov byte [rbx + 0x81], dil
lea r8, [rbx + 0x28]
mov byte [rbx + 0x82], dil
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.18002080c
mov al, byte [rsp + 0x41]
mov byte [rsp + 0x40], al
test r14b, 0x40
je 0x180022cbd
cmp byte [rbx + 0x81], dil
jne 0x180022cbd
test r13b, r13b
jne 0x180022c9f
movss xmm0, dword [rsp + 0x60]
movss dword [rbx + 0x20], xmm0
mov byte [rsp + 0x41], r12b
test r15b, r15b
jne 0x180022d63
movss xmm0, dword [rsp + 0x64]
movss dword [rbx + 0x24], xmm0
mov byte [rsp + 0x40], r12b
jmp 0x180022d63
mov al, byte [rbx + 0x94]
test al, al
jg 0x180022cd4
cmp byte [rbx + 0x95], dil
jle 0x180022d63
test r13b, r13b
jne 0x180022d03
test al, al
jle 0x180022d03
cmp byte [rbx + 0x97], dil
je 0x180022cf3
movss xmm0, dword [rbx + 0x20]
maxss xmm0, dword [rsp + 0x60]
jmp 0x180022cf9
movss xmm0, dword [rsp + 0x60]
movss dword [rbx + 0x20], xmm0
mov byte [rsp + 0x41], r12b
test r15b, r15b
jne 0x180022d37
cmp byte [rbx + 0x95], dil
jle 0x180022d37
cmp byte [rbx + 0x97], dil
je 0x180022d27
movss xmm0, dword [rbx + 0x24]
maxss xmm0, dword [rsp + 0x64]
jmp 0x180022d2d
movss xmm0, dword [rsp + 0x64]
movss dword [rbx + 0x24], xmm0
mov byte [rsp + 0x40], r12b
cmp byte [rbx + 0x81], dil
jne 0x180022d63
test dword [rbx + 0xc], 0x100
mov rcx, qword [0x1800540b0]
jne 0x180022d63
comiss xmm8, dword [rcx + 0x2ef8]
jb 0x180022d63
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x2ef8], eax
mov r8, qword [rbx + 0x20]
lea rcx, [rbp - 0x78]
mov rdx, rbx
call fcn.1800204f4
mov r12, qword [0x1800540b0]
movss xmm2, dword [rax]
movss xmm0, dword [rax + 4]
movss dword [rbx + 0x20], xmm2
movss dword [rbx + 0x24], xmm0
cmp byte [rbx + 0x81], dil
je 0x180022e0d
bt r14d, 0x18
jb 0x180022e0d
mov r9d, 1
test byte [rbx + 0xc], r9b
je 0x180022daf
movaps xmm1, xmm8
jmp 0x180022de7
mov rax, qword [rbx + 0x358]
movss xmm0, dword [r12 + 0x1914]
mulss xmm0, dword [rbx + 0x2a0]
test rax, rax
je 0x180022dd5
mulss xmm0, dword [rax + 0x2a0]
movss xmm1, dword [r12 + 0x1594]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [rbx + 0x10]
addss xmm1, dword [rbx + 0x14]
addss xmm0, xmm2
subss xmm1, dword [rbx + 0x14]
subss xmm0, dword [rbx + 0x10]
movss dword [rsp + 0x48], xmm1
movss dword [rsp + 0x44], xmm0
jmp 0x180022e1e
movsd xmm0, qword [rbx + 0x20]
mov r9d, 1
movsd qword [rsp + 0x44], xmm0
lea rax, [rsp + 0x44]
movsd xmm0, qword [rax]
movsd qword [rbx + 0x18], xmm0
test byte [rbx + 0xc], r9b
je 0x180022e38
movaps xmm1, xmm8
jmp 0x180022e70
mov rax, qword [rbx + 0x358]
movss xmm0, dword [r12 + 0x1914]
mulss xmm0, dword [rbx + 0x2a0]
test rax, rax
je 0x180022e5e
mulss xmm0, dword [rax + 0x2a0]
movss xmm1, dword [r12 + 0x1594]
addss xmm1, xmm1
addss xmm1, xmm0
test dword [rbx + 0xc], 0x400
je 0x180022ebf
mov rax, qword [rbx + 0x358]
movss xmm13, dword [r12 + 0x1914]
mulss xmm13, dword [rbx + 0x2a0]
test rax, rax
je 0x180022ea1
mulss xmm13, dword [rax + 0x2a0]
movss xmm0, dword [r12 + 0x1594]
addss xmm13, dword [rbx + 0x150]
addss xmm0, xmm0
addss xmm13, xmm0
jmp 0x180022ec3
movaps xmm13, xmm8
addss xmm13, xmm1
mov r13b, byte [rsp + 0x43]
cmp byte [rsp + 0x42], dil
je 0x180022f13
or dword [rbx + 0x98], 0xffffffff
bt r14d, 0x1a
jae 0x180022f13
test r13b, r13b
jne 0x180022f13
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 [rbx + 0x10], xmm0
movss dword [rbx + 0x14], xmm1
bt r14d, 0x18
jae 0x180022fb3
mov rdx, qword [rsp + 0x50]
lea r15, [rdx + 0x158]
movzx eax, word [r15]
mov word [rbx + 0x8a], ax
mov r8d, dword [r15]
mov ecx, dword [r15 + 4]
cmp r8d, ecx
jne 0x180022f7c
inc r8d
test ecx, ecx
je 0x180022f53
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180022f58
mov eax, 8
cmp eax, r8d
mov rcx, r15
cmovg r8d, eax
mov edx, r8d
call fcn.1800296d8
mov rdx, qword [rsp + 0x50]
mov r9d, 1
mov r12, qword [0x1800540b0]
movsxd rcx, dword [r15]
mov rax, qword [r15 + 8]
mov qword [rax + rcx*8], rbx
add dword [r15], r9d
mov r15d, dword [rsp + 0x58]
bt r14d, 0x1a
jb 0x180022fb8
test r13b, r13b
jne 0x180022fb8
cmp r15d, 0x3000000
je 0x180022fb8
movsd xmm0, qword [rdx + 0xd0]
movsd qword [rbx + 0x10], xmm0
jmp 0x180022fb8
mov r15d, dword [rsp + 0x58]
movss xmm1, dword [rbx + 0xb0]
ucomiss xmm1, dword [0x18004e250]
jp 0x180022fcb
je 0x18002301b
cmp dword [rbx + 0xa0], edi
jne 0x18002301b
movss xmm0, dword [rbx + 0xb8]
lea rdx, [rsp + 0x44]
mulss xmm0, dword [rbx + 0x20]
xor r8d, r8d
mov rcx, rbx
subss xmm1, xmm0
movss xmm0, dword [rbx + 0xb4]
movss dword [rsp + 0x44], xmm1
movss xmm1, dword [rbx + 0xbc]
mulss xmm1, dword [rbx + 0x24]
subss xmm0, xmm1
movss dword [rsp + 0x48], xmm0
call fcn.180024a08
jmp 0x18002306e
bt r14d, 0x1c
jb 0x180023049
bt r14d, 0x1a
jae 0x180023034
test r13b, r13b
jne 0x180023034
cmp dword [rsp + 0x6c], edi
jg 0x180023049
bt r14d, 0x19
jae 0x18002306e
test r13b, r13b
jne 0x18002306e
cmp r15d, 0x3000000
je 0x18002306e
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.180025bb8
mov r9d, 1
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax]
movss dword [rbx + 0x10], xmm0
movss dword [rbx + 0x14], xmm1
movss xmm14, dword [r12 + 0x10]
movss xmm15, dword [r12 + 0x14]
movss dword [rbp - 0x38], xmm14
movss dword [rbp - 0x34], xmm15
movss dword [rbp - 0x40], xmm8
movss dword [rbp - 0x3c], xmm8
test r13b, r13b
jne 0x1800231bb
bt r14d, 0x18
jb 0x1800231bb
cmp byte [rbx + 0x94], dil
jg 0x1800231bb
cmp byte [rbx + 0x95], dil
jg 0x1800231bb
movss xmm0, dword [rsi + 0x10]
comiss xmm0, xmm8
jbe 0x1800231bb
movss xmm0, dword [rsi + 0x14]
comiss xmm0, xmm8
jbe 0x1800231bb
movss xmm4, dword [rsi + 0x15f0]
movss xmm3, dword [rsi + 0x15ec]
maxss xmm4, dword [rsi + 0x15f8]
maxss xmm3, dword [rsi + 0x15f4]
cmp byte [r12 + 0xcc], dil
je 0x18002315b
test byte [rbx + 0xc], r9b
jne 0x18002315b
mov rax, qword [rbx + 0x358]
movss xmm0, dword [r12 + 0x1914]
mulss xmm0, dword [rbx + 0x2a0]
test rax, rax
je 0x180023136
mulss xmm0, dword [rax + 0x2a0]
movss xmm1, dword [r12 + 0x1594]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [rbx + 0x18]
movss dword [rsp + 0x44], xmm0
movss dword [rsp + 0x48], xmm1
jmp 0x180023166
movsd xmm0, qword [rbx + 0x18]
movsd qword [rsp + 0x44], xmm0
lea rax, [rsp + 0x44]
movaps xmm2, xmm14
movss xmm0, dword [rax]
subss xmm2, xmm3
addss xmm0, dword [rbx + 0x10]
addss xmm3, xmm8
movaps xmm1, xmm15
subss xmm1, xmm4
addss xmm4, xmm8
maxss xmm0, xmm3
subss xmm0, dword [rax]
minss xmm2, xmm0
movss xmm0, dword [rax + 4]
addss xmm0, dword [rbx + 0x14]
movss dword [rbx + 0x10], xmm2
maxss xmm0, xmm4
subss xmm0, dword [rax + 4]
minss xmm1, xmm0
movss dword [rbx + 0x14], xmm1
cvttss2si eax, dword [rbx + 0x10]
movd xmm1, eax
cvttss2si eax, dword [rbx + 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x10], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x14], xmm0
bt r14d, 0x18
jae 0x1800231ee
movss xmm2, dword [rsi + 0x1580]
jmp 0x18002320f
mov eax, r14d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x180023207
movss xmm2, dword [rsi + 0x1588]
jmp 0x18002320f
movss xmm2, dword [rsi + 0x1564]
mov cl, dil
movss dword [rbx + 0x40], xmm2
mov dword [rsp + 0x68], ecx
cmp byte [rsp + 0x42], dil
je 0x180023249
bt r14d, 0xc
jb 0x180023249
bt r14d, 0x1a
jae 0x180023237
mov byte [rsp + 0x68], r9b
jmp 0x180023249
test r14d, 0x3000000
movzx ecx, cl
cmove ecx, r9d
mov dword [rsp + 0x68], ecx
or dword [rsp + 0x6c], 0xffffffff
xorps xmm0, xmm0
mov al, byte [rsi + 0xcb]
addss xmm2, dword [0x18004e0d0]
movups xmmword [rbp - 0x30], xmm0
neg al
movss xmm0, dword [rsi + 0x1910]
movaps xmm1, xmm0
sbb r13d, r13d
mulss xmm0, dword [0x18004e088]
neg r13d
add r13d, r9d
mulss xmm1, dword [0x18004e0dc]
addss xmm0, xmm2
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x44], xmm0
cmp byte [rbx + 0x81], dil
jne 0x1800232e2
lea rax, [rbp - 0x30]
mov r9d, r13d
lea r8, [rsp + 0x6c]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.180020cec
mov r12, qword [0x1800540b0]
mov r9d, 1
test al, al
je 0x1800232e2
mov cl, r9b
mov dl, r9b
jmp 0x1800232ea
mov dl, byte [rsp + 0x41]
mov cl, byte [rsp + 0x40]
mov al, byte [rsp + 0x6c]
mov byte [rbx + 0x87], al
cmp byte [rbx + 0x81], dil
jne 0x18002342d
movss xmm2, dword [rbx + 0x208]
movss xmm3, dword [rbx + 0x20c]
subss xmm2, dword [rbx + 0x200]
subss xmm3, dword [rbx + 0x204]
movss xmm4, dword [rbx + 0x24]
subss xmm4, xmm13
movss xmm5, dword [rbx + 0x20]
addss xmm2, dword [rbx + 0x74]
addss xmm3, dword [rbx + 0x78]
cmp qword [rsp + 0x78], rdi
jne 0x18002334d
and dword [rbp - 0x60], edi
lea rax, [rbp - 0x60]
and dword [rbp - 0x5c], edi
jmp 0x180023377
movss xmm0, dword [rbx + 0x38]
lea rax, [rbp - 0x58]
movss xmm1, dword [rbx + 0x3c]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [rbx + 0x28]
addss xmm1, dword [rbx + 0x2c]
movss dword [rbp - 0x58], xmm0
movss dword [rbp - 0x54], xmm1
movss xmm6, dword [rax]
movss xmm1, dword [rax + 4]
test dl, dl
jne 0x180023387
movaps xmm5, xmm2
test cl, cl
jne 0x18002338e
movaps xmm4, xmm3
bt r14d, 0xe
jb 0x1800233a5
comiss xmm1, xmm4
jbe 0x1800233a0
test r14b, 8
je 0x1800233a5
mov cl, dil
jmp 0x1800233a8
mov cl, r9b
mov byte [rbx + 0x7d], cl
bt r14d, 0xf
jb 0x1800233e1
test cl, cl
je 0x1800233c0
movss xmm0, dword [rsi + 0x15c0]
jmp 0x1800233c4
movaps xmm0, xmm8
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x1800233dc
mov eax, r14d
and eax, 0x808
cmp eax, 0x800
je 0x1800233e1
mov al, dil
jmp 0x1800233e4
mov al, r9b
mov byte [rbx + 0x7c], al
test al, al
je 0x18002340d
test cl, cl
jne 0x180023403
comiss xmm1, xmm4
jbe 0x1800233fd
mov cl, r9b
test r14b, 8
je 0x180023400
mov cl, dil
mov byte [rbx + 0x7d], cl
movss xmm1, dword [rsi + 0x15c0]
jmp 0x180023411
movaps xmm1, xmm8
test cl, cl
je 0x18002341f
movss xmm0, dword [rsi + 0x15c0]
jmp 0x180023423
movaps xmm0, xmm8
movss dword [rbx + 0x74], xmm0
movss dword [rbx + 0x78], xmm1
mov eax, r14d
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x180023452
cmp r15d, 0x3000000
je 0x180023452
mov rax, qword [rsp + 0x50]
add rax, 0x230
jmp 0x180023456
lea rax, [rbp - 0x40]
movdqu xmm3, xmmword [rax]
movss xmm7, dword [rbx + 0x10]
movaps xmm4, xmm7
movss xmm6, dword [rbx + 0x14]
movaps xmm5, xmm6
addss xmm4, dword [rbx + 0x18]
addss xmm5, dword [rbx + 0x1c]
movups xmmword [rsp + 0x78], xmm3
test byte [rbx + 0xc], r9b
je 0x180023485
movaps xmm0, xmm8
jmp 0x1800234bd
mov rax, qword [rbx + 0x358]
movss xmm1, dword [r12 + 0x1914]
mulss xmm1, dword [rbx + 0x2a0]
test rax, rax
je 0x1800234ab
mulss xmm1, dword [rax + 0x2a0]
movss xmm0, dword [r12 + 0x1594]
addss xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm6
movss dword [rbp - 0x78], xmm7
addss xmm1, xmm0
movaps xmm2, xmm7
movss xmm0, dword [rbx + 0x14]
mov eax, r14d
addss xmm2, dword [rbx + 0x20]
movss dword [rbp - 0x74], xmm0
and eax, 0x401
movss dword [rbp - 0x6c], xmm1
movss dword [rbp - 0x70], xmm2
movss dword [rbx + 0x1f0], xmm7
movss dword [rbx + 0x1f4], xmm6
movss dword [rbx + 0x1f8], xmm4
movaps xmm4, xmm3
movss dword [rbx + 0x1fc], xmm5
movaps xmm5, xmm3
movss xmm0, dword [rbx + 0x1f0]
shufps xmm4, xmm3, 0x55
maxss xmm0, xmm3
shufps xmm5, xmm3, 0xff
maxss xmm6, xmm4
movss dword [rbx + 0x1f0], xmm0
movss dword [rbx + 0x1f4], xmm6
movaps xmm6, xmm3
movss xmm1, dword [rbx + 0x1f8]
movss xmm0, dword [rbx + 0x1fc]
shufps xmm6, xmm3, 0xaa
minss xmm0, xmm5
minss xmm1, xmm6
movss dword [rbx + 0x1fc], xmm0
movss dword [rbx + 0x1f8], xmm1
movss xmm7, dword [rbx + 0x10]
movss xmm10, dword [rbx + 0x14]
movaps xmm11, xmm7
movss dword [rbx + 0x200], xmm7
movaps xmm12, xmm10
addss xmm12, xmm13
addss xmm11, dword [rbx + 0x18]
addss xmm10, dword [rbx + 0x1c]
movss dword [rbx + 0x204], xmm12
subss xmm11, dword [rbx + 0x74]
subss xmm10, dword [rbx + 0x78]
movss dword [rbx + 0x208], xmm11
movss dword [rbx + 0x20c], xmm10
cmp eax, r9d
jne 0x1800235ca
movss xmm9, dword [rbx + 0x44]
jmp 0x1800235d3
movss xmm9, dword [rsi + 0x159c]
movss xmm2, dword [0x18004e0a0]
xorps xmm1, xmm1
movss xmm0, dword [rbx + 0x38]
addss xmm7, xmm2
mulss xmm0, xmm2
addss xmm12, xmm2
addss xmm11, xmm2
addss xmm10, xmm2
cvttss2si eax, xmm0
xorps xmm0, xmm0
addss xmm12, xmm9
subss xmm10, dword [rbx + 0x44]
cvtsi2ss xmm1, eax
maxss xmm1, dword [rbx + 0x44]
addss xmm7, xmm1
subss xmm11, xmm1
cvttss2si eax, xmm7
xorps xmm7, xmm7
cvtsi2ss xmm7, eax
cvttss2si eax, xmm12
movss dword [rbx + 0x210], xmm7
cvtsi2ss xmm0, eax
cvttss2si eax, xmm11
movss dword [rbx + 0x214], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
cvttss2si eax, xmm10
movss dword [rbx + 0x218], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movss dword [rbx + 0x21c], xmm0
movss xmm0, dword [rbx + 0x214]
comiss xmm4, xmm0
jbe 0x18002367c
movaps xmm1, xmm4
jmp 0x180023683
movaps xmm1, xmm5
minss xmm1, xmm0
comiss xmm3, xmm7
jbe 0x18002368d
movaps xmm0, xmm3
jmp 0x180023694
movaps xmm0, xmm6
minss xmm0, xmm7
movss dword [rbx + 0x210], xmm0
movss dword [rbx + 0x214], xmm1
movss xmm0, dword [rbx + 0x21c]
comiss xmm4, xmm0
ja 0x1800236b8
minss xmm5, xmm0
movaps xmm4, xmm5
movss xmm0, dword [rbx + 0x218]
comiss xmm3, xmm0
ja 0x1800236cc
minss xmm6, xmm0
movaps xmm3, xmm6
movss dword [rbx + 0x218], xmm3
movss dword [rbx + 0x21c], xmm4
movss xmm0, dword [rbx + 0x18]
comiss xmm0, xmm8
jbe 0x1800236fa
test r14d, 0x2000040
jne 0x1800236fa
mulss xmm0, dword [0x18004e0a8]
jmp 0x18002370a
movss xmm0, dword [rsi + 0x1910]
mulss xmm0, dword [0x18004e170]
cvttss2si eax, xmm0
mov rcx, rbx
mov r8b, r9b
mov rdx, rbx
lea rcx, [rbp - 0x50]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x258], xmm0
movss xmm0, dword [rbx + 0x208]
subss xmm0, dword [rbx + 0x200]
movss xmm1, dword [rbx + 0x38]
movss xmm2, dword [rbx + 0x3c]
addss xmm1, xmm1
addss xmm2, xmm2
addss xmm1, dword [rbx + 0x28]
addss xmm2, dword [rbx + 0x2c]
subss xmm1, xmm0
movaps xmm0, xmm8
maxss xmm0, xmm1
movss dword [rbx + 0x5c], xmm0
movss xmm0, dword [rbx + 0x20c]
subss xmm0, dword [rbx + 0x204]
subss xmm2, xmm0
movaps xmm0, xmm8
maxss xmm0, xmm2
movss dword [rbx + 0x60], xmm0
call fcn.18002509c
mov rcx, qword [rbx + 0x2a8]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
mov eax, 0x7f7fffff
mov dword [rbx + 0x64], eax
mov dword [rbx + 0x68], eax
movss dword [rbx + 0x54], xmm0
movss dword [rbx + 0x58], xmm1
call fcn.18002fb34
mov rax, qword [rsi + 0x1908]
mov rcx, qword [rbx + 0x2a8]
mov rdx, qword [rax + 0x48]
mov rdx, qword [rdx + 8]
call fcn.1800301bc
xor r8d, r8d
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x78]
call fcn.18001f370
bt r14d, 0x1b
jae 0x18002380c
call fcn.1800256a4
cmp rbx, rax
jne 0x18002380c
cmp dword [rbx + 0xa0], edi
jg 0x18002380c
mov r8d, 1
mov edx, 0x3a0
mov cl, r8b
jmp 0x18002381a
mov cl, dil
mov edx, 0x390
mov r8d, 1
mov rax, qword [rsi + 0x1bd0]
test rax, rax
je 0x180023832
mov r15b, r8b
cmp rbx, qword [rax + 0x360]
je 0x180023835
mov r15b, dil
test cl, cl
jne 0x180023842
test r15b, r15b
je 0x180023984
mov rax, qword [0x1800540b0]
lea rcx, [rbp - 0x50]
movss xmm0, dword [rsi + 0x1d38]
movdqu xmm1, xmmword [rdx + rax + 0x1558]
mulss xmm0, dword [rax + 0x1558]
movups xmmword [rbp - 0x50], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x44], xmm1
call fcn.18001bc24
mov rcx, qword [rbx + 0x2a8]
lea r8, [rbp - 0x38]
mov r12d, 0xf
lea rdx, [rbp - 0x40]
mov dword [rsp + 0x28], r12d
mov r9d, eax
movss dword [rsp + 0x20], xmm8
call fcn.180031e74
test r15b, r15b
je 0x180023984
cmp rbx, qword [rsi + 0x1bd0]
jne 0x180023984
movss xmm0, dword [rsi + 0x1910]
movss xmm2, dword [rbx + 0x10]
movss xmm3, dword [rbx + 0x14]
movaps xmm1, xmm2
addss xmm2, dword [rbx + 0x18]
movaps xmm4, xmm3
subss xmm1, xmm0
addss xmm3, dword [rbx + 0x1c]
subss xmm4, xmm0
addss xmm2, xmm0
comiss xmm8, xmm1
addss xmm3, xmm0
movss dword [rbp - 0x40], xmm1
movss dword [rbp - 0x38], xmm2
movss dword [rbp - 0x3c], xmm4
movss dword [rbp - 0x34], xmm3
jb 0x180023919
comiss xmm8, xmm4
jb 0x180023919
comiss xmm2, xmm14
jb 0x180023919
comiss xmm3, xmm15
jae 0x180023984
mov rax, qword [0x1800540b0]
lea rcx, [rbp - 0x50]
movss xmm0, dword [rsi + 0x1be4]
mulss xmm0, dword [0x18004e08c]
movdqu 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.18001bc24
movss xmm5, dword [rsi + 0x1564]
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 0x2a8]
lea r8, [rbp - 0x38]
mov r9d, eax
mov dword [rsp + 0x28], r12d
movss dword [rsp + 0x20], xmm5
call fcn.180031e74
mov r12, qword [rsp + 0x50]
mov eax, r14d
and eax, 0x5000000
mov r15b, dil
cmp eax, 0x1000000
jne 0x1800239db
cmp dword [rsp + 0x58], 0x3000000
je 0x1800239db
mov rdx, qword [rbx + 0x2a8]
movsxd rax, dword [rdx]
imul rcx, rax, 0x38
mov rax, qword [rdx + 8]
cmp dword [rcx + rax - 0x38], edi
mov ecx, 1
jne 0x1800239e0
mov rax, qword [r12 + 0x2a8]
cmp dword [rax + 0x20], edi
jle 0x1800239e0
mov r15b, cl
mov qword [rbx + 0x2a8], rax
jmp 0x1800239e0
mov ecx, 1
mov rax, qword [rsi + 0x1bc8]
test rax, rax
jne 0x1800239f3
mov rax, qword [rsi + 0x1b80]
cmp byte [rsp + 0x68], dil
jne 0x180023a14
test rax, rax
je 0x180023a0f
mov rax, qword [rax + 0x368]
cmp qword [rbx + 0x368], rax
je 0x180023a14
mov r8b, dil
jmp 0x180023a17
mov r8b, cl
movss xmm0, dword [rsp + 0x44]
lea rax, [rbp - 0x30]
movss dword [rsp + 0x28], xmm0
lea rdx, [rbp - 0x78]
mov r9d, r13d
mov qword [rsp + 0x20], rax
mov rcx, rbx
call fcn.180021878
test r15b, r15b
je 0x180023a4e
lea rax, [rbx + 0x2b0]
mov qword [rbx + 0x2a8], rax
cmp qword [rsi + 0x1bd0], rbx
jne 0x180023b6a
movss xmm1, dword [rsi + 0x1910]
movss xmm3, dword [rbx + 0x10]
movss xmm2, dword [rbx + 0x14]
movaps xmm4, xmm3
addss xmm3, dword [rbx + 0x18]
movss xmm6, dword [rbx + 0x40]
subss xmm4, xmm1
maxss xmm6, dword [rsi + 0x1564]
movaps xmm0, xmm2
addss xmm2, dword [rbx + 0x1c]
addss xmm3, xmm1
comiss xmm8, xmm4
subss xmm0, xmm1
movss dword [rbp - 0x50], xmm4
addss xmm2, xmm1
movss dword [rbp - 0x48], xmm3
movss dword [rbp - 0x4c], xmm0
movss dword [rbp - 0x44], xmm2
jb 0x180023b01
comiss xmm8, xmm0
jb 0x180023b01
comiss xmm3, xmm14
jb 0x180023b01
comiss xmm2, xmm15
jb 0x180023b01
xorps xmm1, xmmword [0x18004e4f0]
subss xmm1, dword [0x18004e0d0]
movss xmm6, dword [rbx + 0x40]
subss xmm0, xmm1
subss xmm4, xmm1
movss dword [rbp - 0x4c], xmm0
movaps xmm0, xmm1
addss xmm0, xmm3
movss dword [rbp - 0x50], xmm4
addss xmm1, xmm2
movss dword [rbp - 0x48], xmm0
movss dword [rbp - 0x44], xmm1
mov rax, qword [0x1800540b0]
lea rcx, [rbp - 0x30]
movss xmm0, dword [rsi + 0x1be4]
movdqu xmm1, xmmword [rax + 0x18d8]
mulss xmm0, dword [rax + 0x1558]
movups xmmword [rbp - 0x30], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x24], xmm1
call fcn.18001bc24
movss xmm5, dword [0x18004e124]
lea r8, [rbp - 0x48]
mov rcx, qword [rbx + 0x2a8]
lea rdx, [rbp - 0x50]
movss dword [rsp + 0x30], xmm5
mov r9d, eax
or dword [rsp + 0x28], 0xffffffff
movss dword [rsp + 0x20], xmm6
call fcn.180031d70
movss xmm7, dword [rbx + 0x30]
mov ecx, r14d
shr ecx, 3
mov r13d, 1
not cl
and cl, r13b
ucomiss xmm7, xmm8
jp 0x180023bc1
jne 0x180023bc1
movss xmm0, dword [rbx + 0x38]
mov eax, r14d
movss xmm1, dword [rbx + 0x18]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [rbx + 0x74]
cmp eax, 0x800
jne 0x180023bb6
movss xmm10, dword [rbx + 0x28]
jmp 0x180023bba
movaps xmm10, xmm8
maxss xmm10, xmm1
jmp 0x180023bc5
movaps xmm10, xmm7
movss xmm5, dword [rbx + 0x34]
ucomiss xmm5, xmm8
jp 0x180023c05
jne 0x180023c05
movss xmm0, dword [rbx + 0x3c]
movss xmm1, dword [rbx + 0x1c]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, xmm13
subss xmm1, dword [rbx + 0x78]
test cl, cl
je 0x180023bfa
movss xmm9, dword [rbx + 0x2c]
jmp 0x180023bfe
movaps xmm9, xmm8
maxss xmm9, xmm1
jmp 0x180023c09
movaps xmm9, xmm5
ucomiss xmm7, xmm8
movss xmm4, dword [rbx + 0x38]
movss xmm0, dword [rbx + 0x200]
movaps xmm1, xmm4
maxss xmm1, dword [rbx + 0x44]
subss xmm0, dword [rbx + 0x54]
movss xmm6, dword [rbx + 0x3c]
addss xmm1, xmm0
movss xmm0, dword [rbx + 0x204]
subss xmm0, dword [rbx + 0x58]
cvttss2si eax, xmm1
movaps xmm1, xmm6
maxss xmm1, dword [rbx + 0x44]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
addss xmm1, xmm0
movss dword [rbx + 0x220], xmm3
addss xmm3, xmm10
cvttss2si eax, xmm1
movss xmm1, dword [rbx + 0x10]
subss xmm1, dword [rbx + 0x54]
movss dword [rbx + 0x228], xmm3
movd xmm2, eax
cvtdq2ps xmm2, xmm2
addss xmm1, xmm4
movss dword [rbx + 0x224], xmm2
addss xmm2, xmm9
movss dword [rbx + 0x240], xmm1
movss dword [rbx + 0x22c], xmm2
movss xmm2, dword [rbx + 0x14]
subss xmm2, dword [rbx + 0x58]
addss xmm2, xmm6
addss xmm2, xmm13
movss dword [rbx + 0x244], xmm2
jp 0x180023cd3
jne 0x180023cd3
movss xmm7, dword [rbx + 0x18]
movaps xmm0, xmm4
addss xmm0, xmm4
subss xmm7, xmm0
subss xmm7, dword [rbx + 0x74]
ucomiss xmm5, xmm8
addss xmm1, xmm7
movss dword [rbx + 0x248], xmm1
jp 0x180023d01
jne 0x180023d01
movss xmm5, dword [rbx + 0x1c]
movaps xmm0, xmm6
addss xmm0, xmm6
subss xmm5, xmm0
subss xmm5, xmm13
subss xmm5, dword [rbx + 0x78]
mov qword [rbx + 0x1e0], rdi
addss xmm4, xmm8
addss xmm6, xmm13
addss xmm2, xmm5
lea r15, [rbx + 0x158]
subss xmm4, dword [rbx + 0x54]
subss xmm6, dword [rbx + 0x58]
movss dword [rbx + 0x24c], xmm2
movss dword [rbx + 0x1dc], xmm4
addss xmm4, xmm8
addss xmm6, dword [rbx + 0x14]
addss xmm4, dword [rbx + 0x10]
movss dword [rbx + 0xe4], xmm6
movss dword [rbx + 0xd4], xmm6
movss dword [rbx + 0xdc], xmm6
movss dword [rbx + 0xec], xmm6
movss dword [rbx + 0xe0], xmm4
movss dword [rbx + 0xd0], xmm4
movss dword [rbx + 0xd8], xmm4
movss dword [rbx + 0xe8], xmm4
mov qword [rbx + 0xf8], rdi
mov qword [rbx + 0xf0], rdi
mov qword [rbx + 0x100], rdi
mov byte [rbx + 0x148], dil
movss xmm0, dword [rbx + 0x60]
comiss xmm0, xmm8
seta al
mov byte [rbx + 0x149], al
mov eax, dword [rbx + 0x144]
mov dword [rbx + 0x140], eax
mov dword [rbx + 0x144], edi
mov byte [rbx + 0x14a], dil
cmp dword [r15 + 4], edi
jge 0x180023def
mov eax, dword [r15 + 4]
mov rcx, r15
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, dword [r15 + 4]
test eax, eax
cmovg edx, eax
call fcn.1800296d8
mov dword [r15], edi
mov dword [rbx + 0x170], r13d
test r12, r12
je 0x180023e08
mov eax, dword [r12 + 0x170]
jmp 0x180023e0b
mov eax, r13d
mov dword [rbx + 0x174], eax
or dword [rbx + 0x17c], 0xffffffff
or dword [rbx + 0x178], 0xffffffff
test r12, r12
je 0x180023e2e
mov eax, dword [r12 + 0x180]
jmp 0x180023e30
mov eax, edi
mov dword [rbx + 0x180], eax
lea r15, [rbx + 0x190]
mov eax, dword [rbx + 0x258]
mov dword [rbx + 0x184], eax
mov dword [rbx + 0x188], 0xbf800000
cmp dword [r15 + 4], edi
jge 0x180023e75
mov eax, dword [r15 + 4]
mov rcx, r15
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, dword [r15 + 4]
test eax, eax
cmovg edx, eax
call fcn.180029d18
mov dword [r15], edi
lea r15, [rbx + 0x1a0]
cmp dword [r15 + 4], edi
jge 0x180023ea1
mov eax, dword [r15 + 4]
mov rcx, r15
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, dword [r15 + 4]
test eax, eax
cmovg edx, eax
call fcn.180029d18
mov dword [r15], edi
lea r15, [rbx + 0x1b0]
cmp dword [r15 + 4], edi
jge 0x180023ecd
mov eax, dword [r15 + 4]
mov rcx, r15
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, dword [r15 + 4]
test eax, eax
cmovg edx, eax
call fcn.180029d18
mov dword [r15], edi
lea rax, [rbx + 0x280]
mov qword [rbx + 0x1e8], rdi
lea rcx, [rbx + 0x1c0]
mov qword [rbx + 0x108], rdi
xor edx, edx
mov qword [rbx + 0x168], rax
call fcn.180029454
lea rcx, [rbx + 0x274]
movss xmm0, dword [rsi + 0x15a0]
movss dword [rbx + 0x25c], xmm0
mov qword [rbx + 0x260], rdi
cmp byte [rsp + 0x42], dil
je 0x180023f27
xor eax, eax
mov qword [rcx], rax
mov dword [rcx + 8], eax
mov rdx, rdi
test rdx, rdx
je 0x180023f51
movss xmm0, dword [rcx]
comiss xmm0, xmm8
jbe 0x180023f51
movss xmm0, dword [rbx + 0x260]
addss xmm0, dword [rbx + 0x25c]
movss dword [rbx + 0x260], xmm0
cvttss2si eax, dword [rbx + 0x260]
add rdx, r13
movss xmm1, dword [rcx]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx - 0xc], xmm0
addss xmm1, dword [rbx + 0x260]
movss dword [rbx + 0x260], xmm1
mov dword [rcx], edi
add rcx, 4
cmp rdx, 3
jl 0x180023f2a
bt r14d, 0x18
jae 0x180023ff4
mov eax, dword [r12 + 0x180]
cmp dword [rbx + 0x180], eax
je 0x180023ff4
lea r15, [rbx + 0x190]
mov dword [rbx + 0x180], eax
mov r8d, dword [r15]
mov ecx, dword [r15 + 4]
cmp r8d, ecx
jne 0x180023fe1
inc r8d
test ecx, ecx
je 0x180023fca
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180023fcf
mov eax, 8
cmp eax, r8d
mov rcx, r15
cmovg r8d, eax
mov edx, r8d
call fcn.180029d18
movsxd rdx, dword [r15]
mov eax, dword [rbx + 0x180]
mov rcx, qword [r15 + 8]
mov dword [rcx + rdx*4], eax
add dword [r15], r13d
mov al, byte [rbx + 0x94]
test al, al
jle 0x180024007
sub al, r13b
mov byte [rbx + 0x94], al
mov al, byte [rbx + 0x95]
test al, al
jle 0x18002401a
sub al, r13b
mov byte [rbx + 0x95], al
cmp byte [rsp + 0x68], dil
je 0x180024033
mov rcx, rbx
call fcn.1800242b0
xor edx, edx
mov rcx, rbx
call fcn.180026680
test r13b, r14b
jne 0x180024048
mov r8, qword [rbp - 0x68]
lea rdx, [rbp - 0x78]
mov rcx, rbx
call fcn.180021edc
mov eax, dword [rbx + 0x4c]
lea rdx, [rbp - 0x70]
xor r8d, r8d
mov dword [rbx + 0x110], eax
lea rcx, [rbp - 0x78]
call fcn.18001faf4
movups xmm0, xmmword [rbp - 0x78]
mov r15d, dword [rsp + 0x70]
movzx ecx, al
mov dword [rbx + 0x114], ecx
movdqu xmmword [rbx + 0x118], xmm0
jmp 0x180024090
mov rcx, rbx
call fcn.18001cfa4
mov r12, qword [rsp + 0x50]
mov r13d, 1
lea rdx, [rbx + 0x218]
mov r8b, r13b
lea rcx, [rbx + 0x210]
call fcn.18001f370
cmp dword [rsp + 0x74], r15d
je 0x1800240b4
mov byte [rbx + 0x80], dil
add word [rbx + 0x88], r13w
mov dword [rsi + 0x1ab8], edi
bt r14d, 0x18
jae 0x180024145
test r14b, 0x40
jne 0x18002410a
cmp byte [rbx + 0x94], dil
jg 0x18002410a
cmp byte [rbx + 0x95], dil
jg 0x18002410a
movss xmm0, dword [rbx + 0x1f0]
comiss xmm0, dword [rbx + 0x1f8]
jae 0x180024103
movss xmm0, dword [rbx + 0x1f4]
comiss xmm0, dword [rbx + 0x1fc]
jb 0x18002410a
mov dword [rbx + 0x9c], r13d
test r12, r12
je 0x180024145
cmp byte [r12 + 0x81], dil
jne 0x180024123
cmp dword [r12 + 0x9c], edi
jle 0x18002412a
mov dword [rbx + 0x9c], r13d
cmp byte [r12 + 0x81], dil
jne 0x18002413e
cmp dword [r12 + 0xa0], edi
jle 0x180024145
mov dword [rbx + 0xa0], r13d
comiss xmm8, dword [rsi + 0x1558]
jb 0x180024156
mov dword [rbx + 0x9c], r13d
cmp dword [rbx + 0x9c], edi
jg 0x180024169
mov al, dil
cmp dword [rbx + 0xa0], edi
jle 0x18002416c
mov al, r13b
mov byte [rbx + 0x85], al
cmp byte [rbx + 0x81], dil
jne 0x180024185
cmp byte [rbx + 0x7e], dil
je 0x180024185
test al, al
je 0x1800241a8
cmp byte [rbx + 0x94], dil
jg 0x1800241a8
cmp byte [rbx + 0x95], dil
jg 0x1800241a8
cmp dword [rbx + 0xa0], edi
movzx eax, dil
cmovle eax, r13d
mov dil, al
mov byte [rbx + 0x83], dil
xor dil, r13b
mov al, dil
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.180046160
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret