Function at 0x180022e60
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r13
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x180075040]
xor rax, rsp
mov qword [rbp - 1], rax
mov rsi, qword [0x180075f20]
xor r15d, r15d
mov rdi, rcx
mov r13, rsi
mov eax, dword [rsi + 0x3f90]
and byte [rcx + 0xcc], 0xfb
mov dword [rcx + 0xac], eax
mov qword [rcx + 0xa0], r15
mov qword [rcx + 0x98], r15
cmp qword [rcx + 0x18], r15
jne 0x180023027
call fcn.180022ad0
xor eax, eax
xorps xmm0, xmm0
mov r8d, eax
mov qword [rbp - 0x21], rax
movups xmmword [rbp - 0x31], xmm0
cmp dword [rdi + 0x30], eax
jle 0x180022ee7
mov rcx, rdi
inc r8d
mov qword [rbp - 0x29], rcx
mov dword [rbp - 0x21], r8d
jmp 0x180022eeb
mov rcx, qword [rbp - 0x29]
mov rdx, qword [rbp - 0x31]
mov eax, dword [rdi + 0x10]
shr eax, 0xb
test al, 1
cmovne rdx, rdi
mov qword [rbp - 0x31], rdx
cmp r8d, 1
jle 0x180022f0a
test rdx, rdx
jne 0x180022f4c
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x180022f2b
lea rdx, [rbp - 0x31]
mov rcx, rax
call fcn.180022a50
mov rcx, qword [rbp - 0x29]
mov rdx, qword [rbp - 0x31]
mov r8d, dword [rbp - 0x21]
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x180022f4c
lea rdx, [rbp - 0x31]
mov rcx, rax
call fcn.180022a50
mov rcx, qword [rbp - 0x29]
mov rdx, qword [rbp - 0x31]
mov r8d, dword [rbp - 0x21]
cmp r8d, 1
mov qword [rdi + 0x98], rdx
mov rax, r15
mov dword [rdi + 0xa8], r8d
cmove rax, rcx
mov qword [rdi + 0xa0], rax
cmp dword [rdi + 0xb8], r15d
jne 0x180022f86
test rcx, rcx
je 0x180023000
mov eax, dword [rcx]
mov dword [rdi + 0xb8], eax
test rcx, rcx
je 0x180023000
mov rax, qword [rcx + 0x38]
mov r9d, 1
mov rax, qword [rax]
movups xmm0, xmmword [rax + 0x1c]
movups xmmword [rdi + 0x64], xmm0
movsd xmm1, qword [rax + 0x2c]
movsd qword [rdi + 0x74], xmm1
mov eax, dword [rax + 0x34]
mov dword [rdi + 0x7c], eax
movsxd rax, dword [rcx + 0x30]
cmp eax, r9d
jle 0x180023000
mov r11, qword [rcx + 0x38]
mov r10, rax
mov r8d, r9d
lea rcx, [r11 + 8]
mov rax, qword [rcx]
cmp byte [rax + 0x35], r15b
je 0x180022fe1
inc r9d
inc r8
add rcx, 8
cmp r8, r10
jl 0x180022fc7
jmp 0x180023000
movsxd rax, r9d
mov rax, qword [r11 + rax*8]
movups xmm0, xmmword [rax + 0x1c]
movups xmmword [rdi + 0x64], xmm0
movsd xmm1, qword [rax + 0x2c]
movsd qword [rdi + 0x74], xmm1
mov eax, dword [rax + 0x34]
mov dword [rdi + 0x7c], eax
test rdx, rdx
je 0x180023020
nop word [rax + rax]
or byte [rdx + 0xcc], 0x20
mov rdx, qword [rdx + 0x18]
test rdx, rdx
jne 0x180023010
mov rsi, qword [0x180075f20]
cmp qword [rdi + 0x40], r15
je 0x180023046
mov eax, dword [rdi + 0x10]
shr eax, 0xc
test al, 1
je 0x180023046
mov rcx, rdi
call fcn.1800251d0
mov rsi, qword [0x180075f20]
xor r8b, r8b
mov qword [rsp + 0xf8], rbx
cmp qword [rdi + 0x18], r15
jne 0x18002327d
test dword [rdi + 0x10], 0x400
jne 0x18002327d
mov edx, dword [rdi + 0x30]
cmp edx, 1
jg 0x180023090
cmp qword [rdi + 0x20], r15
jne 0x180023090
cmp byte [r13 + 0x5a], r8b
jne 0x180023090
test edx, edx
je 0x18002308d
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
cmp byte [rcx + 0x34], r8b
jne 0x180023090
mov r8b, 1
cmp dword [rdi + 0xa8], r15d
je 0x1800230a2
test r8b, r8b
je 0x18002327d
cmp edx, 1
jne 0x180023198
mov rax, qword [rdi + 0x38]
mov rbx, qword [rax]
mov eax, dword [rdi + 0xc8]
and eax, 0xfffffebf
bts eax, 7
movsd xmm0, qword [rbx + 0x50]
and eax, 0xffffffd7
or eax, 0x10
movsd qword [rdi + 0x48], xmm0
movsd xmm1, qword [rbx + 0x60]
and eax, 0xfffffffa
or eax, 2
movsd qword [rdi + 0x50], xmm1
mov dword [rdi + 0xc8], eax
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x18002310d
cmp qword [r13 + 0x4aa8], rax
jne 0x18002310d
xor edx, edx
mov rcx, rbx
call fcn.180013260
mov rsi, qword [0x180075f20]
mov r8, qword [rdi + 0x88]
test r8, r8
je 0x18002318f
test dword [r13 + 0x5f14], 0x100
je 0x18002314f
mov r8, qword [r8 + 0x38]
lea rcx, str._viewport__Node__08X_transfer_Viewport__08X___08X_to_Window__s_n
mov rax, qword [rbx + 8]
mov r9d, dword [rbx + 0x10]
mov edx, dword [rdi]
mov r8d, dword [r8]
mov qword [rsp + 0x20], rax
call fcn.180029f10
mov rsi, qword [0x180075f20]
mov rax, qword [rdi + 0x88]
mov rdx, qword [rax + 0x38]
mov qword [rbx + 0x38], rdx
mov rax, qword [rdi + 0x88]
mov ecx, dword [rax + 0x40]
mov dword [rbx + 0x40], ecx
mov rax, qword [rdi + 0x88]
cmp byte [rax + 0xea], r15b
je 0x18002318f
mov eax, dword [rbx + 0x10]
mov dword [rdx], eax
mov rax, qword [rbx + 0x38]
mov qword [rax + 0x60], rbx
mov byte [rbx + 0xea], 1
mov eax, dword [rbx + 0x40]
mov dword [rdi + 0xc4], eax
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x1800231bb
cmp qword [rax + 0x450], rdi
jne 0x1800231b4
mov qword [rax + 0x450], r15
mov qword [rdi + 0x88], r15
cmp dword [rdi + 0x30], 1
jne 0x1800231d9
mov rcx, qword [rdi + 0x38]
mov rax, qword [rcx]
mov qword [rdi + 0x90], rax
mov rax, qword [rcx]
and byte [rax + 0x42d], 0xfe
cmp qword [rdi + 0x40], r15
je 0x1800231ee
mov rcx, rdi
call fcn.1800251d0
mov rsi, qword [0x180075f20]
movzx eax, byte [rdi + 0xcc]
and al, 0xbf
mov dword [rdi + 0x14], 1
and al, 0xe7
mov dword [rdi + 0xc0], r15d
test byte [rdi + 0xcd], 1
mov byte [rdi + 0xcc], al
mov eax, dword [r13 + 0x3f90]
mov dword [rdi + 0xb0], eax
je 0x180023d8f
cmp dword [rdi + 0x30], 1
jne 0x180023d8f
mov rax, qword [rdi + 0x38]
mov rbx, qword [rax]
mov rcx, rbx
call fcn.1800094a0
movss xmm1, dword [rsi + 0x36fc]
movss xmm0, dword [rsi + 0x3700]
subss xmm1, dword [rdi + 0x48]
subss xmm0, dword [rdi + 0x4c]
mov qword [rsi + 0x4050], rbx
movss dword [rsi + 0x40ac], xmm1
movss dword [rsi + 0x40b0], xmm0
and byte [rdi + 0xcd], 0xfe
jmp 0x180023d8f
test byte [rdi + 0xcc], 1
je 0x18002330f
cmp qword [rdi + 0x88], r15
jne 0x18002330f
cmp qword [rdi + 0x18], r15
jne 0x18002330f
test dword [rdi + 0x10], 0x400
jne 0x18002330f
cmp qword [rdi + 0x20], r15
jne 0x18002330f
mov r9d, dword [rdi + 0xbc]
test r9d, r9d
je 0x1800232ea
mov r8d, dword [rdi + 0x30]
mov ecx, r15d
test r8d, r8d
jle 0x1800232ea
mov rdx, qword [rdi + 0x38]
mov rax, qword [rdx]
cmp dword [rax + 0x10], r9d
je 0x1800232da
inc ecx
add rdx, 8
cmp ecx, r8d
jl 0x1800232c4
jmp 0x1800232ea
mov rax, qword [rdi + 0x38]
movsxd rcx, ecx
mov rdx, qword [rax + rcx*8]
test rdx, rdx
jne 0x1800232f1
mov rax, qword [rdi + 0x38]
mov rdx, qword [rax]
cmp byte [rdx + 0x108], r15b
jg 0x180023303
cmp byte [rdx + 0x109], r15b
jle 0x18002330f
mov dword [rdi + 0x14], 2
jmp 0x180023d8f
mov r8d, dword [rdi + 0x30]
mov qword [rsp + 0x100], r12
mov r12d, dword [rdi + 0x10]
mov qword [rsp + 0x108], r14
movaps xmmword [rsp + 0x90], xmm9
mov dword [rbp - 0x45], r12d
test r8d, r8d
jle 0x180023358
bt r12d, 0xe
jb 0x180023358
movzx eax, byte [rdi + 0xcc]
mov r9d, r15d
and al, 0xef
or al, 0x10
and al, 0xf7
mov byte [rdi + 0xcc], al
jmp 0x180023374
movzx eax, byte [rdi + 0xcc]
mov r9d, r15d
and al, 0xef
mov ecx, r12d
and al, 0xf7
mov byte [rdi + 0xcc], al
test r8d, r8d
jle 0x1800233d4
mov r10, r15
nop word [rax + rax]
mov rax, qword [rdi + 0x38]
lea r10, [r10 + 8]
mov rdx, qword [r10 + rax - 8]
movzx eax, byte [rdi + 0xcc]
movzx ecx, byte [rdx + 0xf5]
shl cl, 3
or cl, al
and al, 0xf7
and cl, 8
xor cl, al
mov byte [rdi + 0xcc], cl
cmp r8d, 1
movzx eax, byte [rdx + 0x42d]
setg cl
and al, 0xfe
or cl, al
inc r9d
mov byte [rdx + 0x42d], cl
mov r8d, dword [rdi + 0x30]
cmp r9d, r8d
jl 0x180023380
mov ecx, dword [rdi + 0x10]
bt r12d, 0xf
jae 0x1800233e2
and byte [rdi + 0xcc], 0xf7
shr ecx, 0xa
mov r14, r15
mov byte [rbp - 0x59], r14b
test cl, 1
je 0x1800233fd
mov r14, qword [rdi + 0x88]
jmp 0x1800236d1
mov rax, qword [rdi + 0x18]
test rax, rax
jne 0x18002365d
test byte [rdi + 0xcc], 1
je 0x180023675
test r8d, r8d
jle 0x180023425
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
jmp 0x180023428
mov rcx, r15
mov eax, dword [rdi + 0xc8]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x18002344c
test rcx, rcx
je 0x18002347c
or dword [rsi + 0x4918], 1
movsd xmm0, qword [rcx + 0x50]
jmp 0x18002345c
cmp eax, 1
jne 0x18002347c
or dword [rsi + 0x4918], eax
movsd xmm0, qword [rdi + 0x48]
mov byte [rsi + 0x4954], 1
mov dword [rsi + 0x491c], 1
mov qword [rsi + 0x4934], r15
movsd qword [rsi + 0x492c], xmm0
mov eax, dword [rdi + 0xc8]
shl eax, 0x1a
sar eax, 0x1d
cmp eax, 2
jne 0x18002349f
test rcx, rcx
je 0x1800234c2
or dword [rsi + 0x4918], eax
movsd xmm0, qword [rcx + 0x60]
jmp 0x1800234b0
cmp eax, 1
jne 0x1800234c2
or dword [rsi + 0x4918], 2
movsd xmm0, qword [rdi + 0x50]
mov dword [rsi + 0x4920], 1
movsd qword [rsi + 0x493c], xmm0
mov eax, dword [rdi + 0xc8]
and al, 0x38
cmp al, 0x10
jne 0x1800234f1
test rcx, rcx
je 0x1800234f1
movzx eax, byte [rcx + 0xee]
or dword [rsi + 0x4918], 8
mov byte [rsi + 0x4955], al
mov dword [rsi + 0x4924], 1
mov eax, dword [rdi + 0xc8]
and eax, 0x1c0
cmp eax, 0x80
jne 0x180023527
test rcx, rcx
je 0x18002350d
mov eax, dword [rcx + 0x40]
jmp 0x180023517
mov eax, dword [rdi + 0xc4]
test eax, eax
je 0x180023527
or dword [rsi + 0x4918], 0x100
mov dword [rsi + 0x497c], eax
or dword [rsi + 0x4918], 0x400
lea r8, str.DockNode__02X
movups xmm0, xmmword [rdi + 0x64]
mov edx, socket
lea rcx, [rbp - 0x19]
movups xmmword [rsi + 0x4984], xmm0
movsd xmm1, qword [rdi + 0x74]
movsd qword [rsi + 0x4994], xmm1
mov eax, dword [rdi + 0x7c]
mov dword [rsi + 0x499c], eax
mov r9d, dword [rdi]
call fcn.1800045e0
mov rbx, qword [0x180075f20]
lea rdx, [rbp - 0x55]
mov dword [rbp - 0x55], 2
or dword [rbx + 0x4918], 0x40
lea rcx, [rbx + 0x49b8]
mov dword [rbx + 0x4978], r15d
movss xmm1, dword [rbx + 0x38e0]
movss xmm0, dword [rbx + 0x38e4]
movss dword [rbp - 0x51], xmm1
movss dword [rbp - 0x4d], xmm0
call fcn.18002ad40
xor edx, edx
mov qword [rbx + 0x38e0], r15
mov r8d, 0x20081139
lea rcx, [rbp - 0x19]
call fcn.180010220
mov ecx, 1
call fcn.1800053e0
mov rax, qword [rdi + 0x88]
mov r14, qword [r13 + 0x4038]
mov byte [rbp - 0x59], 1
test rax, rax
je 0x1800235fe
cmp rax, r14
je 0x1800235fe
cmp qword [rax + 0x450], rdi
jne 0x1800235fe
mov qword [rax + 0x450], r15
mov qword [r14 + 0x450], rdi
mov qword [rdi + 0x88], r14
movss xmm0, dword [r14 + 0x50]
movss xmm1, dword [r14 + 0x54]
movss dword [r14 + 0x138], xmm0
movss dword [r14 + 0x13c], xmm1
mov rcx, qword [rdi + 0x88]
movss dword [rdi + 0x48], xmm0
movss dword [rdi + 0x4c], xmm1
movsd xmm0, qword [r14 + 0x58]
movsd qword [rdi + 0x50], xmm0
cmp byte [rcx + 0xf1], r15b
je 0x180023654
call fcn.1800131b0
mov rsi, qword [0x180075f20]
jmp 0x18002366b
mov r14, qword [rax + 0x88]
mov qword [rdi + 0x88], r14
and dword [rdi + 0xc8], 0xfffffe00
test byte [rdi + 0xcd], 1
je 0x1800236d1
mov rbx, qword [rdi + 0x88]
test rbx, rbx
je 0x1800236d1
mov rcx, rbx
call fcn.1800094a0
movss xmm1, dword [rsi + 0x36fc]
movss xmm0, dword [rsi + 0x3700]
subss xmm1, dword [rdi + 0x48]
subss xmm0, dword [rdi + 0x4c]
mov qword [rsi + 0x4050], rbx
movss dword [rsi + 0x40ac], xmm1
movss dword [rsi + 0x40b0], xmm0
and byte [rdi + 0xcd], 0xfe
mov rsi, qword [0x180075f20]
mov dword [rdi + 0xc4], r15d
cmp qword [rdi + 0x18], r15
jne 0x18002375a
mov rdx, qword [r13 + 0x4aa8]
test rdx, rdx
je 0x18002375a
mov rdx, qword [rdx + 0x3b8]
test rdx, rdx
je 0x18002375a
nop word [rax + rax]
mov rcx, qword [rdx + 0x448]
test rcx, rcx
je 0x18002375a
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x18002372c
nop word [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x180023720
cmp rcx, rdi
je 0x18002374b
mov rdx, qword [rcx + 0x88]
test rdx, rdx
je 0x18002375a
mov rdx, qword [rdx + 0x3b8]
test rdx, rdx
jne 0x180023700
jmp 0x18002375a
mov rax, qword [rdx + 0x448]
mov ecx, dword [rax]
mov dword [rdi + 0xb8], ecx
cmp qword [rdi + 0x18], 0
xorps xmm9, xmm9
mov r15, qword [rdi + 0x98]
jne 0x180023937
test r14, r14
je 0x180023937
test r12b, 8
je 0x180023937
test r15, r15
je 0x180023937
cmp qword [r15 + 0x20], 0
jne 0x180023937
cmp dword [r15 + 0x30], 0
jne 0x180023937
cmp byte [rsi + 0x4c68], 0
mov r12b, 1
je 0x1800237f3
cmp dword [rsi + 0x4c8c], 0xffffffff
je 0x1800237f3
lea rbx, [rsi + 0x4c78]
test rbx, rbx
je 0x1800237f3
cmp dword [rbx + 0x14], 0xffffffff
je 0x1800237f3
lea rdx, [rbx + 0x18]
lea rcx, str._IMWINDOW
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x1800237f3
mov rdx, qword [rbx]
mov rcx, r14
mov rdx, qword [rdx]
call fcn.180025330
test al, al
jne 0x180023950
mov rax, qword [r15 + 0x18]
mov rcx, r15
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm7
test rax, rax
je 0x18002381c
nop
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x180023810
movss xmm0, dword [rcx + 0x48]
movss xmm4, dword [r15 + 0x48]
movaps xmm6, xmm0
comiss xmm4, xmm0
movss xmm3, dword [r15 + 0x4c]
movaps xmm2, xmm4
movss xmm7, dword [rcx + 0x4c]
movaps xmm1, xmm3
addss xmm6, dword [rcx + 0x50]
addss xmm2, dword [r15 + 0x50]
addss xmm1, dword [r15 + 0x54]
addss xmm7, dword [rcx + 0x54]
movss xmm5, dword [0x18006ab90]
jbe 0x180023862
addss xmm4, xmm5
comiss xmm6, xmm2
movaps xmm6, xmmword [rsp + 0xb0]
jbe 0x180023873
subss xmm2, xmm5
comiss xmm3, dword [rcx + 0x4c]
jbe 0x18002387d
addss xmm3, xmm5
comiss xmm7, xmm1
movaps xmm7, xmmword [rsp + 0xa0]
jbe 0x18002388e
subss xmm1, xmm5
comiss xmm4, xmm2
ja 0x180023950
comiss xmm3, xmm1
ja 0x180023950
mov rcx, qword [r14 + 0x3a8]
subss xmm1, xmm3
subss xmm2, xmm4
movaps xmm0, xmm4
cvttss2si r8d, xmm1
movaps xmm1, xmm3
mov word [rbp - 0x53], r8w
cvttss2si edx, xmm2
mov word [rbp - 0x55], dx
mov eax, dword [rbp - 0x55]
mov dword [r14 + 0x290], eax
subss xmm0, dword [r14 + 0x50]
subss xmm1, dword [r14 + 0x54]
cvttss2si eax, xmm0
mov word [rbp - 0x55], ax
cvttss2si eax, xmm1
mov word [rbp - 0x53], ax
mov eax, dword [rbp - 0x55]
mov dword [r14 + 0x294], eax
test rcx, rcx
je 0x18002393a
mov word [rbp - 0x55], dx
mov word [rbp - 0x53], r8w
mov eax, dword [rbp - 0x55]
mov dword [rcx + 0x290], eax
subss xmm4, dword [rcx + 0x50]
subss xmm3, dword [rcx + 0x54]
cvttss2si eax, xmm4
mov word [rbp - 0x55], ax
cvttss2si eax, xmm3
mov word [rbp - 0x53], ax
mov eax, dword [rbp - 0x55]
mov dword [rcx + 0x294], eax
mov rax, qword [rdi + 0x18]
jmp 0x180023947
xor r12b, r12b
mov rax, qword [rdi + 0x18]
test r14, r14
je 0x180023b43
test rax, rax
jne 0x180023a69
mov r8, qword [r14 + 0x58]
xor r9d, r9d
mov rdx, qword [r14 + 0x50]
mov rcx, rdi
call fcn.180027030
movups xmm0, xmmword [rsi + 0x3b88]
lea rcx, [rsi + 0x49a8]
mov dword [rbp - 0x31], 0x1d
lea rdx, [rbp - 0x31]
movups xmmword [rbp - 0x2d], xmm0
call fcn.18002ae30
movups xmm0, xmmword [r13 + 0x3a08]
mov rbx, qword [0x180075f20]
lea rdx, [rbp - 0x31]
mov dword [rbp - 0x31], 0x1f
movups xmmword [rsi + 0x3b88], xmm0
movups xmm0, xmmword [rbx + 0x3ba8]
lea rcx, [rbx + 0x49a8]
movups xmmword [rbp - 0x2d], xmm0
call fcn.18002ae30
movups xmm0, xmmword [r13 + 0x3bd8]
lea rdx, [rbp - 0x31]
mov dword [rbp - 0x31], 0x1e
movups xmmword [rbx + 0x3ba8], xmm0
mov rbx, qword [0x180075f20]
movups xmm0, xmmword [rbx + 0x3b98]
lea rcx, [rbx + 0x49a8]
movups xmmword [rbp - 0x2d], xmm0
call fcn.18002ae30
movups xmm0, xmmword [r13 + 0x3bc8]
mov rcx, rdi
movups xmmword [rbx + 0x3b98], xmm0
call fcn.1800274e0
mov r8, qword [0x180075f20]
mov r9d, 3
mov eax, dword [r8 + 0x49a8]
cmp eax, r9d
jge 0x180023a30
mov r9d, eax
test eax, eax
jle 0x180023a69
nop dword [rax]
mov rcx, qword [r8 + 0x49b0]
dec r9d
cdqe
lea rdx, [rax + rax*4]
movsxd rax, dword [rcx + rdx*4 - 0x14]
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
add rax, rax
movups xmmword [r8 + rax*8 + 0x39b8], xmm0
dec dword [r8 + 0x49a8]
mov eax, dword [r8 + 0x49a8]
test r9d, r9d
jg 0x180023a30
cmp qword [rdi + 0x20], 0
jne 0x180023b43
cmp dword [rdi + 0x30], 0
jne 0x180023b43
test byte [rdi + 0xcc], 1
je 0x180023b43
mov rdx, qword [r14 + 0x2d8]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.1800378b0
mov esi, dword [rbp - 0x45]
test sil, 8
je 0x180023ac0
or byte [rdi + 0xcc], 4
mov dword [rdi + 0x80], 0
jmp 0x180023b46
mov rax, qword [0x180075f20]
lea rcx, [rbp - 0x41]
movups xmm0, xmmword [rax + 0x3c48]
movups xmmword [rbp - 0x41], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38d8]
movss dword [rbp - 0x35], xmm0
call fcn.180004d10
mov dword [rdi + 0x80], eax
test eax, eax
je 0x180023b3a
movss xmm0, dword [rdi + 0x48]
lea rdx, [rdi + 0x48]
movss xmm1, dword [rdi + 0x54]
lea r8, [rbp - 0x55]
addss xmm0, dword [rdi + 0x50]
addss xmm1, dword [rdx + 4]
mov rcx, qword [r14 + 0x2d8]
mov r9d, eax
mov dword [rsp + 0x28], 0
movss dword [rsp + 0x20], xmm9
movss dword [rbp - 0x55], xmm0
movss dword [rbp - 0x51], xmm1
call fcn.180036f40
or byte [rdi + 0xcc], 4
jmp 0x180023b46
mov esi, dword [rbp - 0x45]
test r14, r14
je 0x180023ca1
cmp qword [rdi + 0x18], 0
jne 0x180023c75
test sil, 8
je 0x180023c75
test byte [rdi + 0xcc], 1
je 0x180023c75
mov rdx, qword [r14 + 0x2d8]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.1800378b0
mov rax, qword [0x180075f20]
lea rcx, [rbp - 0x31]
movups xmm0, xmmword [rax + 0x39d8]
movups xmmword [rbp - 0x31], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38d8]
movss dword [rbp - 0x25], xmm0
test r12b, r12b
je 0x180023c2c
movss xmm0, dword [r15 + 0x48]
movss xmm1, dword [r15 + 0x4c]
movss dword [rbp - 0x55], xmm0
addss xmm0, dword [r15 + 0x50]
movss dword [rbp - 0x51], xmm1
addss xmm1, dword [r15 + 0x54]
movss dword [rbp - 0x4d], xmm0
movss xmm0, dword [rdi + 0x48]
movss dword [rbp - 0x49], xmm1
movss xmm1, dword [rdi + 0x4c]
movss dword [rbp - 0x41], xmm0
addss xmm0, dword [rdi + 0x50]
movss dword [rbp - 0x3d], xmm1
addss xmm1, dword [rdi + 0x54]
movss dword [rbp - 0x39], xmm0
movss dword [rbp - 0x35], xmm1
call fcn.180004d10
mov rcx, qword [r14 + 0x2d8]
lea rdx, [rbp - 0x41]
mov r9d, eax
movss dword [rsp + 0x20], xmm9
lea r8, [rbp - 0x55]
call fcn.18003bcb0
jmp 0x180023c75
movss xmm0, dword [rdi + 0x48]
movss xmm1, dword [rdi + 0x4c]
addss xmm0, dword [rdi + 0x50]
addss xmm1, dword [rdi + 0x54]
movss dword [rbp - 0x55], xmm0
movss dword [rbp - 0x51], xmm1
call fcn.180004d10
mov rcx, qword [r14 + 0x2d8]
lea rdx, [rdi + 0x48]
mov r9d, eax
mov dword [rsp + 0x28], 0
lea r8, [rbp - 0x55]
movss dword [rsp + 0x20], xmm9
call fcn.180036f40
mov rdx, qword [r14 + 0x2d8]
mov r8d, 1
lea rcx, [rdx + 0xa8]
call fcn.1800378b0
cmp dword [rdi + 0x30], 0
jle 0x180023ca1
mov rdx, r14
mov rcx, rdi
call fcn.180023f40
jmp 0x180023cbc
movzx eax, byte [rdi + 0xcc]
and al, 0xbf
mov dword [rdi + 0xc0], 0
and al, 0xfd
mov byte [rdi + 0xcc], al
mov rax, qword [rdi + 0x40]
movaps xmm9, xmmword [rsp + 0x90]
mov r12, qword [rsp + 0x100]
test rax, rax
je 0x180023ce5
mov ecx, dword [rax + 0x18]
test ecx, ecx
je 0x180023ce5
mov dword [rdi + 0xbc], ecx
jmp 0x180023cfe
cmp dword [rdi + 0x30], 0
jle 0x180023cfe
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
mov eax, dword [rcx + 0xb0]
mov dword [rdi + 0xbc], eax
test r14, r14
je 0x180023d3f
test byte [rdi + 0xcc], 1
je 0x180023d3f
cmp qword [rdi + 0x18], 0
jne 0x180023d3f
mov rax, qword [r13 + 0x4050]
test rax, rax
je 0x180023d28
cmp qword [rax + 0x3c8], r14
je 0x180023d3f
mov rcx, r14
call fcn.180028a70
mov eax, dword [r13 + 0x3f90]
mov dword [rdi + 0xb0], eax
jmp 0x180023d51
mov eax, dword [r13 + 0x3f90]
mov dword [rdi + 0xb0], eax
test r14, r14
je 0x180023d7c
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x180023d5f
call fcn.180022e60
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x180023d6d
call fcn.180022e60
cmp qword [rdi + 0x18], 0
jne 0x180023d7c
mov rcx, r14
call fcn.18000ed30
cmp byte [rbp - 0x59], 0
mov r14, qword [rsp + 0x108]
je 0x180023d8f
call fcn.180012ea0
mov rbx, qword [rsp + 0xf8]
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.18005fc20
add rsp, 0xc0
pop r15
pop r13
pop rdi
pop rsi
pop rbp
ret