Function at 0x1401ff470
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x238]
sub rsp, 0x310
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm10
mov rax, qword [0x140280040]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x38], rcx
xor ebx, ebx
mov dword [rsp + 0x48], ebx
xorps xmm0, xmm0
movups xmmword [rbp + 0x140], xmm0
lea rcx, [rbp + 0x238]
movabs rdx, 0xff00ff00ff00ff00
mov qword [rbp + 0x148], rdx
mov qword [rbp + 0x150], rcx
mov rax, qword [rcx]
xor rax, rdx
mov qword [rbp + 0x140], rax
mov qword [rcx], rbx
xor eax, eax
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rax
mov rax, qword [str.gYDpu8cIQP__e]
mov qword [rsp + 0x30], rax
movdqa xmm10, xmmword [0x1402702b0]
mov r12d, dword [0x140280090]
cmp byte [0x14026cacf], bl
je 0x1401ff70a
mov r9d, ebx
cmp r12d, 2
jl 0x1401ff6bd
movdqa xmm5, xmmword [0x1402702f0]
movdqa xmm6, xmmword [0x140270300]
movdqa xmm4, xmmword [0x1402701a0]
movdqa xmm2, xmm4
punpckldq xmm2, xmm4
movdqa xmm1, xmm4
punpckhdq xmm1, xmm4
movdqa xmm3, xmm2
pmuldq xmm3, xmm5
movdqa xmm0, xmm1
pmuldq xmm0, xmm5
shufps xmm3, xmm0, 0xdd
paddd xmm3, xmm4
psrad xmm3, 6
pmuldq xmm2, xmm6
pmuldq xmm1, xmm6
shufps xmm2, xmm1, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x140270310]
movdqa xmm1, xmm4
psubd xmm1, xmm0
andps xmm1, xmm10
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmmword [str.ffffkkkk]
psubd xmm4, xmm0
andps xmm4, xmm10
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm1, xmm4
paddb xmm1, xmmword [0x1402702d0]
movd xmm0, dword [rsp + 0x30]
xorps xmm1, xmm0
movd dword [rsp + 0x30], xmm1
movdqa xmm4, xmmword [0x1402701c0]
movdqa xmm2, xmm4
punpckldq xmm2, xmm4
movdqa xmm1, xmm4
punpckhdq xmm1, xmm4
movdqa xmm3, xmm2
pmuldq xmm3, xmm5
movdqa xmm0, xmm1
pmuldq xmm0, xmm5
shufps xmm3, xmm0, 0xdd
paddd xmm3, xmm4
psrad xmm3, 6
pmuldq xmm2, xmm6
pmuldq xmm1, xmm6
shufps xmm2, xmm1, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x140270310]
movdqa xmm1, xmm4
psubd xmm1, xmm0
andps xmm1, xmm10
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmmword [str.ffffkkkk]
psubd xmm4, xmm0
andps xmm4, xmm10
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm1, xmm4
paddb xmm1, xmmword [0x1402702d0]
movd xmm0, dword [rsp + 0x34]
xorps xmm1, xmm0
movd dword [rsp + 0x34], xmm1
jmp 0x1401ff70a
lea r10, [rsp + 0x30]
mov eax, 0x22b63cbf
mul r9d
shr edx, 4
movsx eax, dl
imul r8d, eax, 0x3b
mov eax, 0x5f5f5f5f
imul r9d
sub edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
sub cl, r8b
add cl, r9b
add cl, cl
add cl, 0x3b
xor byte [r10], cl
inc r9d
lea r10, [r10 + 1]
cmp r9d, 8
jl 0x1401ff6c2
mov qword [rbp - 0x70], rbx
lea rcx, [rbp - 0x68]
call fcn.1402372c0
nop
lea rcx, [rsp + 0x30]
mov r14, 0xffffffffffffffff
mov rax, r14
inc rax
cmp byte [rcx + rax], 0
jne 0x1401ff727
lea r8, [rsp + 0x30]
add r8, rax
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x70]
call fcn.14023b1f0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x160], xmm0
movups xmmword [rbp + 0x190], xmm0
movups xmmword [rbp + 0x1b0], xmm0
movups xmmword [rbp + 0x1c0], xmm0
mov qword [rbp + 0x160], rbx
mov byte [rbp + 0x168], 0
movdqu xmmword [rbp + 0x170], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x180], xmm1
mov qword [rbp + 0x190], rbx
mov byte [rbp + 0x198], 0
movdqu xmmword [rbp + 0x1a0], xmm0
mov byte [rbp + 0x1b0], 0
mov qword [rbp + 0x1b8], rbx
mov qword [rbp + 0x1c0], rbx
mov byte [rbp + 0x1c8], 0
cmp qword [rsi + 0x18], 0xf
jbe 0x1401ff7d4
mov rdx, qword [rsi]
mov qword [rsp + 0x30], rdx
mov rbx, rdx
mov r13, rdx
add rbx, qword [rsi + 0x10]
jmp 0x1401ff7e3
mov r13, rsi
mov rbx, qword [rsi + 0x10]
add rbx, rsi
mov qword [rsp + 0x30], rsi
mov r15, qword [rbp - 0x70]
test r15, r15
je 0x1401ffb50
xor r12b, r12b
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp + 0x50]
call fcn.14025e8e4
mov eax, dword [r15 + 0x20]
mov ecx, dword [r15 + 0x28]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x60], xmm1
movdqu xmmword [rbp + 0x70], xmm0
movdqu xmmword [rbp + 0x80], xmm1
movdqu xmmword [rbp + 0x90], xmm0
movdqu xmmword [rbp + 0xa0], xmm1
movdqu xmmword [rbp + 0xb0], xmm0
movdqu xmmword [rbp + 0xc0], xmm1
movdqu xmmword [rbp + 0xd0], xmm0
xor edx, edx
mov qword [rbp + 0xe0], rdx
mov qword [rbp + 0xe8], rdx
mov qword [rbp + 0xf0], rbx
mov qword [rbp + 0xf8], r13
mov qword [rbp + 0x100], r15
mov dword [rbp + 0x108], eax
mov dword [rbp + 0x10c], edx
mov byte [rbp + 0x110], dl
mov dword [rbp + 0x114], ecx
movzx eax, byte [r15 + 0xc]
shr al, 3
and al, 1
mov byte [rbp + 0x118], al
lea rax, [rbp - 0x68]
mov qword [rbp + 0x120], rax
mov edx, dword [r15 + 0x24]
lea rcx, [rbp + 0xd0]
call fcn.1402454a0
nop
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x50]
call fcn.1402463b0
test al, al
jne 0x1401ff97f
cmp r13, rbx
je 0x1401ff9a3
mov eax, dword [rbp + 0x10c]
btr eax, 0xd
bts eax, 8
mov dword [rbp + 0x10c], eax
lea r8, [r13 + 1]
mov qword [rsp + 0x20], 0
mov r9, rbx
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x50]
call fcn.140246030
mov rax, qword [rax]
cmp rax, rbx
je 0x1401ff964
mov r15, rax
nop dword [rax + rax]
mov qword [rbp + 0xf8], rax
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x50]
call fcn.1402463b0
test al, al
jne 0x1401ff97f
lea r8, [r15 + 1]
mov qword [rsp + 0x20], 0
mov r9, rbx
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x50]
call fcn.140246030
mov rax, qword [rax]
mov r15, rax
cmp rax, rbx
jne 0x1401ff920
mov qword [rbp + 0xf8], rbx
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x50]
call fcn.1402463b0
test al, al
je 0x1401ff9a3
mov r12b, 1
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x160], rax
mov qword [rbp + 0x188], r13
cmp r13, qword [rbp + 0x190]
setne byte [rbp + 0x198]
mov rcx, qword [rbp + 0xd0]
test rcx, rcx
je 0x1401ffa01
mov rdx, qword [rbp + 0xe0]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401ff9e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401ff9e5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14025d7e0
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xd0], xmm0
xor r15d, r15d
mov qword [rbp + 0xe0], r15
jmp 0x1401ffa04
xor r15d, r15d
lea rcx, [rbp + 0x90]
call fcn.140244690
lea rcx, [rbp + 0x50]
call fcn.140244690
test r12b, r12b
je 0x1401ffb49
mov rcx, qword [rbp + 0x178]
sub rcx, qword [rbp + 0x170]
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rax, [rbp + 0x1b8]
cmovne rax, qword [rbp + 0x170]
cmp byte [rax + 0x10], 0
je 0x1401ffa6a
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
jmp 0x1401ffa73
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
cmp rdx, r8
jne 0x1401ffaa1
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
jmp 0x1401ffaad
sub r8, rdx
mov rcx, rdi
call fcn.140208720
nop
lea rcx, [rbp + 0x170]
call fcn.140233bb0
nop
mov rax, qword [rbp - 0x70]
test rax, rax
je 0x1401ffafc
lock xadd dword [rax + 0x2c], r14d
cmp r14d, 1
jne 0x1401ffafc
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x1401ffafc
nop dword [rax + rax]
mov rcx, rbx
lea rax, [rbx + 0x10]
mov rbx, qword [rax]
mov qword [rax], r15
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
test rbx, rbx
jne 0x1401ffae0
mov qword [rbp - 0x70], r15
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1401ffb26
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x1401ffb26
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
nop
mov rcx, qword [rbp + 0x140]
movabs rdx, 0xff00ff00ff00ff00
xor rcx, rdx
lea rdx, [rbp + 0x238]
mov qword [rdx], rcx
jmp 0x140200424
mov r12d, dword [0x140280090]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rax
mov rax, qword [str.gYDpv8cIXHM_ch_iiM]
mov qword [rsp + 0x30], rax
cmp byte [0x14026ca8f], 0
je 0x1401ffd58
xor r9d, r9d
cmp r12d, 2
jl 0x1401ffd09
movdqa xmm6, xmmword [0x1402702f0]
movdqa xmm7, xmmword [0x140270300]
movdqa xmm4, xmmword [0x1402701a0]
movdqa xmm2, xmm4
punpckldq xmm2, xmm4
movdqa xmm1, xmm4
punpckhdq xmm1, xmm4
movdqa xmm3, xmm2
pmuldq xmm3, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm3, xmm0, 0xdd
paddd xmm3, xmm4
psrad xmm3, 6
pmuldq xmm2, xmm7
pmuldq xmm1, xmm7
shufps xmm2, xmm1, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x140270310]
movdqa xmm2, xmm4
psubd xmm2, xmm0
andps xmm2, xmm10
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmmword [str.ffffkkkk]
psubd xmm4, xmm0
andps xmm4, xmm10
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm2, xmm4
mov eax, dword [0x1402702d0]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x30]
xorps xmm2, xmm1
movd dword [rsp + 0x30], xmm2
movdqa xmm4, xmmword [0x1402701c0]
movdqa xmm2, xmm4
punpckldq xmm2, xmm4
movdqa xmm1, xmm4
punpckhdq xmm1, xmm4
movdqa xmm3, xmm2
pmuldq xmm3, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm3, xmm0, 0xdd
paddd xmm3, xmm4
psrad xmm3, 6
pmuldq xmm2, xmm7
pmuldq xmm1, xmm7
shufps xmm2, xmm1, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x140270310]
movdqa xmm2, xmm4
psubd xmm2, xmm0
andps xmm2, xmm10
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmmword [str.ffffkkkk]
psubd xmm4, xmm0
andps xmm4, xmm10
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm2, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x34]
xorps xmm2, xmm1
movd dword [rsp + 0x34], xmm2
jmp 0x1401ffd58
lea r10, [rsp + 0x30]
nop
mov eax, 0x22b63cbf
mul r9d
shr edx, 4
movsx eax, dl
imul r8d, eax, 0x3b
mov eax, 0x5f5f5f5f
imul r9d
sub edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
sub cl, r8b
add cl, r9b
add cl, cl
add cl, 0x3b
xor byte [r10], cl
inc r9d
lea r10, [r10 + 1]
cmp r9d, 8
jl 0x1401ffd10
xor r12d, r12d
mov qword [rbp - 0x48], r12
lea rcx, [rbp - 0x40]
call fcn.1402372c0
nop
lea rcx, [rsp + 0x30]
mov rax, r14
inc rax
cmp byte [rcx + rax], 0
jne 0x1401ffd71
lea r8, [rsp + 0x30]
add r8, rax
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x48]
call fcn.14023b1f0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp - 0x20], r12
mov byte [rbp - 0x18], 0
movdqu xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
mov qword [rbp + 0x10], r12
mov byte [rbp + 0x18], 0
movdqu xmmword [rbp + 0x20], xmm0
mov byte [rbp + 0x30], 0
mov qword [rbp + 0x38], r12
mov qword [rbp + 0x40], r12
mov byte [rbp + 0x48], 0
cmp qword [rsi + 0x18], 0xf
jbe 0x1401ffdec
mov r13, qword [rsi]
mov rbx, r13
mov r15, r13
add rbx, qword [rsi + 0x10]
jmp 0x1401ffdf9
mov rbx, qword [rsi + 0x10]
add rbx, rsi
mov r15, rsi
mov r13, rsi
mov rsi, qword [rbp - 0x48]
test rsi, rsi
je 0x1402002e8
xor r12b, r12b
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp + 0x50]
call fcn.14025e8e4
mov eax, dword [rsi + 0x20]
mov ecx, dword [rsi + 0x28]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x60], xmm1
movdqu xmmword [rbp + 0x70], xmm0
movdqu xmmword [rbp + 0x80], xmm1
movdqu xmmword [rbp + 0x90], xmm0
movdqu xmmword [rbp + 0xa0], xmm1
movdqu xmmword [rbp + 0xb0], xmm0
movdqu xmmword [rbp + 0xc0], xmm1
movdqu xmmword [rbp + 0xd0], xmm0
xor edx, edx
mov qword [rbp + 0xe0], rdx
mov qword [rbp + 0xe8], rdx
mov qword [rbp + 0xf0], rbx
mov qword [rbp + 0xf8], r15
mov qword [rbp + 0x100], rsi
mov dword [rbp + 0x108], eax
mov dword [rbp + 0x10c], edx
mov byte [rbp + 0x110], dl
mov dword [rbp + 0x114], ecx
movzx eax, byte [rsi + 0xc]
shr al, 3
and al, 1
mov byte [rbp + 0x118], al
lea rax, [rbp - 0x40]
mov qword [rbp + 0x120], rax
mov edx, dword [rsi + 0x24]
lea rcx, [rbp + 0xd0]
call fcn.1402454a0
nop
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x50]
call fcn.1402463b0
test al, al
jne 0x1401fff89
cmp r15, rbx
je 0x1401fff9c
mov eax, dword [rbp + 0x10c]
btr eax, 0xd
bts eax, 8
mov dword [rbp + 0x10c], eax
lea r8, [r15 + 1]
mov qword [rsp + 0x20], 0
mov r9, rbx
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x50]
call fcn.140246030
mov rax, qword [rax]
cmp rax, rbx
je 0x1401fff71
mov rsi, rax
nop word [rax + rax]
mov qword [rbp + 0xf8], rax
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x50]
call fcn.1402463b0
test al, al
jne 0x1401fff89
lea r8, [rsi + 1]
mov qword [rsp + 0x20], 0
mov r9, rbx
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x50]
call fcn.140246030
mov rax, qword [rax]
mov rsi, rax
cmp rax, rbx
jne 0x1401fff30
mov qword [rbp + 0xf8], rbx
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x50]
call fcn.1402463b0
test al, al
je 0x1401fff9c
mov r12b, 1
mov qword [rbp - 0x20], r13
mov qword [rbp + 8], r15
cmp r15, qword [rbp + 0x10]
setne byte [rbp + 0x18]
mov rcx, qword [rbp + 0xd0]
test rcx, rcx
je 0x1401ffffa
mov rdx, qword [rbp + 0xe0]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401fffde
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401fffde
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14025d7e0
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xd0], xmm0
xor r13d, r13d
mov qword [rbp + 0xe0], r13
jmp 0x1401ffffd
xor r13d, r13d
lea rcx, [rbp + 0x90]
call fcn.140244690
lea rcx, [rbp + 0x50]
call fcn.140244690
test r12b, r12b
je 0x1402002e5
mov rcx, qword [rbp - 8]
mov r9, qword [rbp - 0x10]
sub rcx, r9
movabs rsi, 0x2aaaaaaaaaaaaaab
mov rax, rsi
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rax, [rbp + 0x38]
cmovne rax, r9
cmp byte [rax + 0x10], 0
je 0x14020005c
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
jmp 0x140200065
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
cmp rdx, r8
jne 0x140200098
movdqa xmm0, xmmword [0x140270190]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
jmp 0x1402000a9
sub r8, rdx
lea rcx, [rsp + 0x70]
call fcn.140208720
mov r9, qword [rbp - 0x10]
mov ebx, 0x1c2
mov dword [rsp + 0x48], ebx
cmp qword [rbp - 0x80], 0
je 0x140200162
mov rcx, qword [rbp - 8]
sub rcx, r9
mov rax, rsi
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rax, [rbp + 0x38]
cmovne rax, r9
cmp byte [rax + 0x10], 0
je 0x1402000f0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
jmp 0x1402000f9
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
cmp rdx, r8
jne 0x14020012a
mov ecx, 0xf
mov qword [rsp + 0x68], rcx
mov byte [rsp + 0x50], 0
jmp 0x140200140
sub r8, rdx
lea rcx, [rsp + 0x50]
call fcn.140208720
mov r9, qword [rbp - 0x10]
mov rcx, qword [rsp + 0x68]
mov ebx, 0xfc6
mov dword [rsp + 0x48], ebx
lea rax, [rsp + 0x50]
cmp rcx, 0xf
cmova rax, qword [rsp + 0x50]
cmp byte [rax], 0x33
jne 0x140200162
mov r15b, 1
jmp 0x140200165
xor r15b, r15b
test bl, 4
je 0x14020017f
and ebx, 0xfffffffb
mov dword [rsp + 0x48], ebx
lea rcx, [rsp + 0x50]
call fcn.140238700
mov r9, qword [rbp - 0x10]
test bl, 2
je 0x140200192
lea rcx, [rsp + 0x70]
call fcn.140238700
mov r9, qword [rbp - 0x10]
test r15b, r15b
je 0x1402002e5
mov rcx, qword [rbp - 8]
sub rcx, r9
mov rax, rsi
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rax, [rbp + 0x38]
cmovne rax, r9
cmp byte [rax + 0x10], 0
je 0x1402001ce
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
jmp 0x1402001d7
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], r13
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
cmp rdx, r8
jne 0x140200205
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
jmp 0x140200211
sub r8, rdx
mov rcx, rdi
call fcn.140208720
nop
lea rcx, [rbp - 0x10]
call fcn.140233bb0
nop
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14020025c
mov eax, r14d
lock xadd dword [rcx + 0x2c], eax
cmp eax, 1
jne 0x14020025c
mov rbx, qword [rbp - 0x48]
test rbx, rbx
je 0x14020025c
nop word [rax + rax]
mov rcx, rbx
lea rax, [rbx + 0x10]
mov rbx, qword [rax]
mov qword [rax], r13
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
test rbx, rbx
jne 0x140200240
mov qword [rbp - 0x48], r13
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140200286
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140200286
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
nop
lea rcx, [rbp + 0x170]
call fcn.140233bb0
nop
mov rax, qword [rbp - 0x70]
test rax, rax
je 0x1402002dc
lock xadd dword [rax + 0x2c], r14d
cmp r14d, 1
jne 0x1402002dc
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x1402002dc
nop dword [rax]
nop word [rax + rax]
mov rcx, rbx
lea rax, [rbx + 0x10]
mov rbx, qword [rax]
mov qword [rax], r13
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
test rbx, rbx
jne 0x1402002c0
mov qword [rbp - 0x70], r13
jmp 0x1402003e0
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
xor r8d, r8d
lea rdx, [0x14026b146]
mov rcx, rdi
call fcn.140208720
nop
lea rcx, [rbp - 0x10]
call fcn.140233bb0
nop
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14020035c
mov eax, r14d
lock xadd dword [rcx + 0x2c], eax
cmp eax, 1
jne 0x14020035c
mov rbx, qword [rbp - 0x48]
test rbx, rbx
je 0x14020035c
nop dword [rax]
nop word [rax + rax]
mov rcx, rbx
lea rax, [rbx + 0x10]
mov rbx, qword [rax]
mov qword [rax], r12
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
test rbx, rbx
jne 0x140200340
mov qword [rbp - 0x48], r12
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140200386
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140200386
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
nop
lea rcx, [rbp + 0x170]
call fcn.140233bb0
nop
mov rax, qword [rbp - 0x70]
test rax, rax
je 0x1402003dc
lock xadd dword [rax + 0x2c], r14d
cmp r14d, 1
jne 0x1402003dc
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x1402003dc
nop dword [rax]
nop word [rax + rax]
mov rcx, rbx
lea rax, [rbx + 0x10]
mov rbx, qword [rax]
mov qword [rax], r12
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
test rbx, rbx
jne 0x1402003c0
mov qword [rbp - 0x70], r12
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x140200406
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140200406
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
nop
mov rax, qword [rbp + 0x140]
movabs rdx, 0xff00ff00ff00ff00
xor rax, rdx
lea rdx, [rbp + 0x238]
mov qword [rdx], rax
mov rax, rdi
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.14025d7c0
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm10, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret