Function at 0x14017e160
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rdi
push r13
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x140353240]
xor rax, rsp
mov qword [rbp - 1], rax
mov rbx, qword [0x14037cc68]
xor r14d, r14d
mov rdi, rcx
mov r13, rbx
mov eax, dword [rbx + 0x3f70]
and byte [rcx + 0xcc], 0xfb
mov dword [rcx + 0xac], eax
mov qword [rcx + 0xa0], r14
mov qword [rcx + 0x98], r14
cmp qword [rcx + 0x18], r14
jne 0x14017e327
call fcn.14017dcf0
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 0x14017e1e7
mov rdx, rdi
inc r8d
mov qword [rbp - 0x29], rdx
mov dword [rbp - 0x21], r8d
jmp 0x14017e1eb
mov rdx, qword [rbp - 0x29]
mov rcx, qword [rbp - 0x31]
mov eax, dword [rdi + 0x10]
shr eax, 0xb
test al, 1
cmovne rcx, rdi
mov qword [rbp - 0x31], rcx
cmp r8d, 1
jle 0x14017e20a
test rcx, rcx
jne 0x14017e24c
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x14017e22b
lea rdx, [rbp - 0x31]
mov rcx, rax
call fcn.14017dc70
mov rdx, qword [rbp - 0x29]
mov rcx, qword [rbp - 0x31]
mov r8d, dword [rbp - 0x21]
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x14017e24c
lea rdx, [rbp - 0x31]
mov rcx, rax
call fcn.14017dc70
mov rdx, qword [rbp - 0x29]
mov rcx, qword [rbp - 0x31]
mov r8d, dword [rbp - 0x21]
cmp r8d, 1
mov qword [rdi + 0x98], rcx
mov rax, r14
mov dword [rdi + 0xa8], r8d
cmove rax, rdx
mov qword [rdi + 0xa0], rax
cmp dword [rdi + 0xb8], r14d
jne 0x14017e286
test rdx, rdx
je 0x14017e300
mov eax, dword [rdx]
mov dword [rdi + 0xb8], eax
test rdx, rdx
je 0x14017e300
mov rax, qword [rdx + 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 [rdx + 0x30]
cmp eax, r9d
jle 0x14017e300
mov r11, qword [rdx + 0x38]
mov r10, rax
mov r8d, r9d
lea rdx, [r11 + 8]
mov rax, qword [rdx]
cmp byte [rax + 0x35], r14b
je 0x14017e2e1
inc r9d
inc r8
add rdx, 8
cmp r8, r10
jl 0x14017e2c7
jmp 0x14017e300
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 rcx, rcx
je 0x14017e320
nop word [rax + rax]
or byte [rcx + 0xcc], 0x20
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x14017e310
mov rbx, qword [0x14037cc68]
cmp qword [rdi + 0x40], r14
je 0x14017e346
mov eax, dword [rdi + 0x10]
shr eax, 0xc
test al, 1
je 0x14017e346
mov rcx, rdi
call fcn.1401801a0
mov rbx, qword [0x14037cc68]
xor r8b, r8b
cmp qword [rdi + 0x18], r14
jne 0x14017e528
test dword [rdi + 0x10], 0x400
jne 0x14017e528
mov edx, dword [rdi + 0x30]
cmp edx, 1
jg 0x14017e388
cmp qword [rdi + 0x20], r14
jne 0x14017e388
cmp byte [r13 + 0x5a], r8b
jne 0x14017e388
test edx, edx
je 0x14017e385
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
cmp byte [rcx + 0x34], r8b
jne 0x14017e388
mov r8b, 1
cmp dword [rdi + 0xa8], r14d
je 0x14017e39a
test r8b, r8b
je 0x14017e528
cmp edx, 1
jne 0x14017e482
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 0x14017e3fe
cmp qword [r13 + 0x4a98], rax
jne 0x14017e3fe
xor edx, edx
mov rcx, rbx
call fcn.14016e0a0
mov r8, qword [rdi + 0x88]
test r8, r8
je 0x14017e479
test dword [r13 + 0x5f0c], 0x100
je 0x14017e439
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.140185390
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], r14b
je 0x14017e479
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 0x14017e4a5
cmp qword [rax + 0x480], rdi
jne 0x14017e49e
mov qword [rax + 0x480], r14
mov qword [rdi + 0x88], r14
cmp dword [rdi + 0x30], 1
jne 0x14017e4c3
mov rcx, qword [rdi + 0x38]
mov rax, qword [rcx]
mov qword [rdi + 0x90], rax
mov rax, qword [rcx]
and byte [rax + 0x45d], 0xfe
cmp qword [rdi + 0x40], r14
je 0x14017e4d1
mov rcx, rdi
call fcn.1401801a0
movzx eax, byte [rdi + 0xcc]
and al, 0xbf
mov dword [rdi + 0x14], 1
and al, 0xe7
mov dword [rdi + 0xc0], r14d
test byte [rdi + 0xcd], 1
mov byte [rdi + 0xcc], al
mov eax, dword [r13 + 0x3f70]
mov dword [rdi + 0xb0], eax
je 0x14017f018
cmp dword [rdi + 0x30], 1
jne 0x14017f018
mov rdx, qword [rdi + 0x38]
mov rcx, rdi
mov rdx, qword [rdx]
call fcn.14017e0f0
jmp 0x14017f018
test byte [rdi + 0xcc], 1
je 0x14017e5be
cmp qword [rdi + 0x88], r14
jne 0x14017e5be
cmp qword [rdi + 0x18], r14
jne 0x14017e5be
test dword [rdi + 0x10], 0x400
jne 0x14017e5be
cmp qword [rdi + 0x20], r14
jne 0x14017e5be
mov r9d, dword [rdi + 0xbc]
test r9d, r9d
je 0x14017e599
mov r8d, dword [rdi + 0x30]
mov ecx, r14d
test r8d, r8d
jle 0x14017e599
mov rdx, qword [rdi + 0x38]
mov rax, qword [rdx]
cmp dword [rax + 0x10], r9d
je 0x14017e589
inc ecx
add rdx, 8
cmp ecx, r8d
jl 0x14017e573
jmp 0x14017e599
mov rax, qword [rdi + 0x38]
movsxd rcx, ecx
mov rdx, qword [rax + rcx*8]
test rdx, rdx
jne 0x14017e5a0
mov rax, qword [rdi + 0x38]
mov rdx, qword [rax]
cmp byte [rdx + 0x108], r14b
jg 0x14017e5b2
cmp byte [rdx + 0x109], r14b
jle 0x14017e5be
mov dword [rdi + 0x14], 2
jmp 0x14017f018
mov r8d, dword [rdi + 0x30]
mov qword [rsp + 0xf8], rsi
mov qword [rsp + 0x108], r15
mov r15d, dword [rdi + 0x10]
mov dword [rbp - 0x45], r15d
movaps xmmword [rsp + 0x90], xmm9
test r8d, r8d
jle 0x14017e607
bt r15d, 0xe
jb 0x14017e607
movzx eax, byte [rdi + 0xcc]
mov r9d, r14d
and al, 0xef
or al, 0x10
and al, 0xf7
mov byte [rdi + 0xcc], al
jmp 0x14017e623
movzx eax, byte [rdi + 0xcc]
mov r9d, r14d
and al, 0xef
mov ecx, r15d
and al, 0xf7
mov byte [rdi + 0xcc], al
test r8d, r8d
jle 0x14017e684
mov r10, r14
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 + 0x45d]
setg cl
and al, 0xfe
or cl, al
inc r9d
mov byte [rdx + 0x45d], cl
mov r8d, dword [rdi + 0x30]
cmp r9d, r8d
jl 0x14017e630
mov ecx, dword [rdi + 0x10]
bt r15d, 0xf
jae 0x14017e692
and byte [rdi + 0xcc], 0xf7
shr ecx, 0xa
mov rsi, r14
mov byte [rbp - 0x59], sil
test cl, 1
je 0x14017e6ad
mov rsi, qword [rdi + 0x88]
jmp 0x14017e944
mov rax, qword [rdi + 0x18]
test rax, rax
jne 0x14017e908
test byte [rdi + 0xcc], 1
je 0x14017e920
test r8d, r8d
jle 0x14017e6d5
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
jmp 0x14017e6d8
mov rcx, r14
mov eax, dword [rdi + 0xc8]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x14017e6fc
test rcx, rcx
je 0x14017e72c
or dword [rbx + 0x48f8], 1
movsd xmm0, qword [rcx + 0x50]
jmp 0x14017e70c
cmp eax, 1
jne 0x14017e72c
or dword [rbx + 0x48f8], eax
movsd xmm0, qword [rdi + 0x48]
mov byte [rbx + 0x4934], 1
mov dword [rbx + 0x48fc], 1
mov qword [rbx + 0x4914], r14
movsd qword [rbx + 0x490c], xmm0
mov eax, dword [rdi + 0xc8]
shl eax, 0x1a
sar eax, 0x1d
cmp eax, 2
jne 0x14017e74f
test rcx, rcx
je 0x14017e772
or dword [rbx + 0x48f8], eax
movsd xmm0, qword [rcx + 0x60]
jmp 0x14017e760
cmp eax, 1
jne 0x14017e772
or dword [rbx + 0x48f8], 2
movsd xmm0, qword [rdi + 0x50]
mov dword [rbx + 0x4900], 1
movsd qword [rbx + 0x491c], xmm0
mov eax, dword [rdi + 0xc8]
and al, 0x38
cmp al, 0x10
jne 0x14017e7a1
test rcx, rcx
je 0x14017e7a1
movzx eax, byte [rcx + 0xee]
or dword [rbx + 0x48f8], 8
mov byte [rbx + 0x4935], al
mov dword [rbx + 0x4904], 1
mov eax, dword [rdi + 0xc8]
and eax, 0x1c0
cmp eax, 0x80
jne 0x14017e7d7
test rcx, rcx
je 0x14017e7bd
mov eax, dword [rcx + 0x40]
jmp 0x14017e7c7
mov eax, dword [rdi + 0xc4]
test eax, eax
je 0x14017e7d7
or dword [rbx + 0x48f8], 0x100
mov dword [rbx + 0x495c], eax
or dword [rbx + 0x48f8], 0x400
lea r8, str.DockNode__02X
movups xmm0, xmmword [rdi + 0x64]
mov edx, 0x14
lea rcx, [rbp - 0x19]
movups xmmword [rbx + 0x4964], xmm0
movsd xmm1, qword [rdi + 0x74]
movsd qword [rbx + 0x4974], xmm1
mov eax, dword [rdi + 0x7c]
mov dword [rbx + 0x497c], eax
mov r9d, dword [rdi]
call fcn.14015fce0
mov rbx, qword [0x14037cc68]
lea rdx, [rbp - 0x55]
mov dword [rbp - 0x55], 2
or dword [rbx + 0x48f8], 0x40
lea rcx, [rbx + 0x4998]
mov dword [rbx + 0x4958], r14d
movss xmm1, dword [rbx + 0x38e0]
movss xmm0, dword [rbx + 0x38e4]
movss dword [rbp - 0x51], xmm1
movss dword [rbp - 0x4d], xmm0
call fcn.140186260
xor edx, edx
mov qword [rbx + 0x38e0], r14
mov r8d, 0x20081139
lea rcx, [rbp - 0x19]
call fcn.14016b160
mov ecx, 1
call fcn.140160b10
mov rax, qword [rdi + 0x88]
mov rsi, qword [r13 + 0x4018]
mov byte [rbp - 0x59], 1
test rax, rax
je 0x14017e8ae
cmp rax, rsi
je 0x14017e8ae
cmp qword [rax + 0x480], rdi
jne 0x14017e8ae
mov qword [rax + 0x480], r14
mov qword [rsi + 0x480], rdi
mov qword [rdi + 0x88], rsi
movss xmm0, dword [rsi + 0x50]
movss xmm1, dword [rsi + 0x54]
movss dword [rsi + 0x138], xmm0
movss dword [rsi + 0x13c], xmm1
mov rcx, qword [rdi + 0x88]
movss dword [rdi + 0x48], xmm0
movss dword [rdi + 0x4c], xmm1
movsd xmm0, qword [rsi + 0x58]
movsd qword [rdi + 0x50], xmm0
cmp byte [rcx + 0xf1], r14b
je 0x14017e8ff
call fcn.14016dff0
mov rbx, qword [0x14037cc68]
jmp 0x14017e916
mov rsi, qword [rax + 0x88]
mov qword [rdi + 0x88], rsi
and dword [rdi + 0xc8], 0xfffffe00
test byte [rdi + 0xcd], 1
je 0x14017e944
mov rdx, qword [rdi + 0x88]
test rdx, rdx
je 0x14017e944
mov rcx, rdi
call fcn.14017e0f0
mov rbx, qword [0x14037cc68]
mov dword [rdi + 0xc4], r14d
cmp qword [rdi + 0x18], r14
jne 0x14017e9ca
mov rdx, qword [r13 + 0x4a98]
test rdx, rdx
je 0x14017e9ca
mov rdx, qword [rdx + 0x3e8]
test rdx, rdx
je 0x14017e9ca
nop dword [rax]
mov rcx, qword [rdx + 0x478]
test rcx, rcx
je 0x14017e9ca
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x14017e99c
nop word [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x14017e990
cmp rcx, rdi
je 0x14017e9bb
mov rdx, qword [rcx + 0x88]
test rdx, rdx
je 0x14017e9ca
mov rdx, qword [rdx + 0x3e8]
test rdx, rdx
jne 0x14017e970
jmp 0x14017e9ca
mov rax, qword [rdx + 0x478]
mov ecx, dword [rax]
mov dword [rdi + 0xb8], ecx
cmp qword [rdi + 0x18], 0
xorps xmm9, xmm9
mov r14, qword [rdi + 0x98]
mov qword [rsp + 0x100], r12
jne 0x14017ebb3
test rsi, rsi
je 0x14017ebb3
test r15b, 8
je 0x14017ebb3
test r14, r14
je 0x14017ebb3
cmp qword [r14 + 0x20], 0
jne 0x14017ebb3
cmp dword [r14 + 0x30], 0
jne 0x14017ebb3
cmp byte [rbx + 0x4c58], 0
mov r12b, 1
je 0x14017ea6c
cmp dword [rbx + 0x4c7c], 0xffffffff
je 0x14017ea6c
lea r15, [rbx + 0x4c68]
test r15, r15
je 0x14017ea6c
cmp dword [r15 + 0x14], 0xffffffff
je 0x14017ea6c
lea rdx, [r15 + 0x18]
lea rcx, str._IMWINDOW
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14017ea6c
mov rdx, qword [r15]
mov rcx, rsi
mov rdx, qword [rdx]
call fcn.140180300
test al, al
jne 0x14017ebcc
mov rax, qword [r14 + 0x18]
mov rcx, r14
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm7
test rax, rax
je 0x14017ea9c
nop dword [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x14017ea90
movss xmm0, dword [rcx + 0x48]
movss xmm4, dword [r14 + 0x48]
movaps xmm6, xmm0
comiss xmm4, xmm0
movss xmm3, dword [r14 + 0x4c]
movaps xmm2, xmm4
movss xmm7, dword [rcx + 0x4c]
movaps xmm1, xmm3
addss xmm6, dword [rcx + 0x50]
addss xmm2, dword [r14 + 0x50]
addss xmm1, dword [r14 + 0x54]
addss xmm7, dword [rcx + 0x54]
movss xmm5, dword [0x140310f00]
jbe 0x14017eae2
addss xmm4, xmm5
comiss xmm6, xmm2
movaps xmm6, xmmword [rsp + 0xb0]
jbe 0x14017eaf3
subss xmm2, xmm5
comiss xmm3, dword [rcx + 0x4c]
jbe 0x14017eafd
addss xmm3, xmm5
comiss xmm7, xmm1
movaps xmm7, xmmword [rsp + 0xa0]
jbe 0x14017eb0e
subss xmm1, xmm5
comiss xmm4, xmm2
ja 0x14017ebcc
comiss xmm3, xmm1
ja 0x14017ebcc
mov rcx, qword [rsi + 0x3d8]
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 [rsi + 0x2c0], eax
subss xmm0, dword [rsi + 0x50]
subss xmm1, dword [rsi + 0x54]
cvttss2si eax, xmm0
mov word [rbp - 0x55], ax
cvttss2si eax, xmm1
mov word [rbp - 0x53], ax
mov eax, dword [rbp - 0x55]
mov dword [rsi + 0x2c4], eax
test rcx, rcx
je 0x14017ebb6
mov word [rbp - 0x55], dx
mov word [rbp - 0x53], r8w
mov eax, dword [rbp - 0x55]
mov dword [rcx + 0x2c0], 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 + 0x2c4], eax
mov rax, qword [rdi + 0x18]
jmp 0x14017ebc3
xor r12b, r12b
mov rax, qword [rdi + 0x18]
test rsi, rsi
je 0x14017edc3
test rax, rax
jne 0x14017ece9
mov r8, qword [rsi + 0x58]
xor r9d, r9d
mov rdx, qword [rsi + 0x50]
mov rcx, rdi
call fcn.140182110
movups xmm0, xmmword [rbx + 0x3b6c]
lea rcx, [rbx + 0x4988]
mov dword [rbp - 0x31], 0x1b
lea rdx, [rbp - 0x31]
movups xmmword [rbp - 0x2d], xmm0
call fcn.140186350
movups xmm0, xmmword [r13 + 0x3a0c]
lea rdx, [rbp - 0x31]
mov dword [rbp - 0x31], 0x1d
movups xmmword [rbx + 0x3b6c], xmm0
mov rbx, qword [0x14037cc68]
movups xmm0, xmmword [rbx + 0x3b8c]
lea rcx, [rbx + 0x4988]
movups xmmword [rbp - 0x2d], xmm0
call fcn.140186350
movups xmm0, xmmword [r13 + 0x3bbc]
lea rdx, [rbp - 0x31]
mov dword [rbp - 0x31], 0x1c
movups xmmword [rbx + 0x3b8c], xmm0
mov rbx, qword [0x14037cc68]
movups xmm0, xmmword [rbx + 0x3b7c]
lea rcx, [rbx + 0x4988]
movups xmmword [rbp - 0x2d], xmm0
call fcn.140186350
movups xmm0, xmmword [r13 + 0x3bac]
mov rcx, rdi
movups xmmword [rbx + 0x3b7c], xmm0
call fcn.140182530
mov r8, qword [0x14037cc68]
mov r9d, 3
mov eax, dword [r8 + 0x4988]
cmp eax, r9d
jge 0x14017ecb0
mov r9d, eax
test eax, eax
jle 0x14017ece9
nop dword [rax + rax]
mov rcx, qword [r8 + 0x4990]
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 + 0x39bc], xmm0
dec dword [r8 + 0x4988]
mov eax, dword [r8 + 0x4988]
test r9d, r9d
jg 0x14017ecb0
cmp qword [rdi + 0x20], 0
jne 0x14017edc3
cmp dword [rdi + 0x30], 0
jne 0x14017edc3
test byte [rdi + 0xcc], 1
je 0x14017edc3
mov rdx, qword [rsi + 0x308]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.14019a6b0
mov r15d, dword [rbp - 0x45]
test r15b, 8
je 0x14017ed41
or byte [rdi + 0xcc], 4
mov dword [rdi + 0x80], 0
jmp 0x14017edc7
mov rax, qword [0x14037cc68]
lea rcx, [rbp - 0x41]
movups xmm0, xmmword [rax + 0x3c2c]
movups xmmword [rbp - 0x41], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38d8]
movss dword [rbp - 0x35], xmm0
call fcn.140160410
mov dword [rdi + 0x80], eax
test eax, eax
je 0x14017edba
movss xmm0, dword [rdi + 0x50]
lea rdx, [rdi + 0x48]
movss xmm1, dword [rdi + 0x54]
lea r8, [rbp - 0x55]
addss xmm0, dword [rdx]
addss xmm1, dword [rdx + 4]
mov rcx, qword [rsi + 0x308]
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.140199bf0
or byte [rdi + 0xcc], 4
jmp 0x14017edc7
mov r15d, dword [rbp - 0x45]
test rsi, rsi
je 0x14017ef22
cmp qword [rdi + 0x18], 0
jne 0x14017eef6
test r15b, 8
je 0x14017eef6
test byte [rdi + 0xcc], 1
je 0x14017eef6
mov rdx, qword [rsi + 0x308]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.14019a6b0
mov rax, qword [0x14037cc68]
lea rcx, [rbp - 0x31]
movups xmm0, xmmword [rax + 0x39dc]
movups xmmword [rbp - 0x31], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38d8]
movss dword [rbp - 0x25], xmm0
test r12b, r12b
je 0x14017eead
movss xmm0, dword [r14 + 0x48]
movss xmm1, dword [r14 + 0x4c]
movss dword [rbp - 0x55], xmm0
addss xmm0, dword [r14 + 0x50]
movss dword [rbp - 0x51], xmm1
addss xmm1, dword [r14 + 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.140160410
mov rcx, qword [rsi + 0x308]
lea rdx, [rbp - 0x41]
mov r9d, eax
movss dword [rsp + 0x20], xmm9
lea r8, [rbp - 0x55]
call fcn.14019e870
jmp 0x14017eef6
movss xmm0, dword [rdi + 0x48]
movss xmm1, dword [rdi + 0x54]
addss xmm0, dword [rdi + 0x50]
addss xmm1, dword [rdi + 0x4c]
movss dword [rbp - 0x55], xmm0
movss dword [rbp - 0x51], xmm1
call fcn.140160410
mov rcx, qword [rsi + 0x308]
lea rdx, [rdi + 0x48]
mov r9d, eax
mov dword [rsp + 0x28], 0
lea r8, [rbp - 0x55]
movss dword [rsp + 0x20], xmm9
call fcn.140199bf0
mov rdx, qword [rsi + 0x308]
mov r8d, 1
lea rcx, [rdx + 0xa8]
call fcn.14019a6b0
cmp dword [rdi + 0x30], 0
jle 0x14017ef22
mov rdx, rsi
mov rcx, rdi
call fcn.14017f1c0
jmp 0x14017ef3d
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 r15, qword [rsp + 0x108]
mov r12, qword [rsp + 0x100]
test rax, rax
je 0x14017ef6e
mov ecx, dword [rax + 0x18]
test ecx, ecx
je 0x14017ef6e
mov dword [rdi + 0xbc], ecx
jmp 0x14017ef87
cmp dword [rdi + 0x30], 0
jle 0x14017ef87
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
mov eax, dword [rcx + 0xb0]
mov dword [rdi + 0xbc], eax
test rsi, rsi
je 0x14017efc8
test byte [rdi + 0xcc], 1
je 0x14017efc8
cmp qword [rdi + 0x18], 0
jne 0x14017efc8
mov rax, qword [r13 + 0x4030]
test rax, rax
je 0x14017efb1
cmp qword [rax + 0x3f8], rsi
je 0x14017efc8
mov rcx, rsi
call fcn.140184000
mov eax, dword [r13 + 0x3f70]
mov dword [rdi + 0xb0], eax
jmp 0x14017efda
mov eax, dword [r13 + 0x3f70]
mov dword [rdi + 0xb0], eax
test rsi, rsi
je 0x14017f005
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x14017efe8
call fcn.14017e160
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x14017eff6
call fcn.14017e160
cmp qword [rdi + 0x18], 0
jne 0x14017f005
mov rcx, rsi
call fcn.140169ce0
cmp byte [rbp - 0x59], 0
mov rsi, qword [rsp + 0xf8]
je 0x14017f018
call fcn.14016dce0
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.1402863b0
add rsp, 0xc0
pop r14
pop r13
pop rdi
pop rbx
pop rbp
ret