Function at 0x140212ba0
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 [0x140294040]
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 [0x140282e68]
mov qword [rsp + 0x30], rax
movdqa xmm10, xmmword [0x140284370]
mov r12d, dword [0x140294090]
cmp byte [0x140282e6f], bl
je 0x140212e4a
mov ecx, ebx
cmp r12d, 2
jl 0x140212df4
movdqa xmm5, xmmword [0x1402843c0]
movdqa xmm6, xmmword [0x1402843a0]
movdqa xmm4, xmmword [0x140284260]
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
psubd xmm2, xmm4
psrad xmm2, 6
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1402843d0]
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.ffffiiii]
psubd xmm4, xmm0
andps xmm4, xmm10
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm1, xmm4
paddb xmm1, xmmword [0x140284390]
movd xmm0, dword [rsp + 0x30]
xorps xmm1, xmm0
movd dword [rsp + 0x30], xmm1
movdqa xmm4, xmmword [0x140284280]
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
psubd xmm2, xmm4
psrad xmm2, 6
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1402843d0]
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.ffffiiii]
psubd xmm4, xmm0
andps xmm4, xmm10
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm1, xmm4
paddb xmm1, xmmword [0x140284390]
movd xmm0, dword [rsp + 0x34]
xorps xmm1, xmm0
movd dword [rsp + 0x34], xmm1
jmp 0x140212e4a
lea r9, [rsp + 0x30]
nop dword [rax]
mov eax, 0x1f7047dd
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 6
movsx eax, al
imul r8d, eax, 0x39
mov eax, 0x5f5f5f5f
imul ecx
sub edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
sub dl, r8b
add dl, 0x23
add dl, cl
add dl, dl
xor byte [r9], dl
inc ecx
lea r9, [r9 + 1]
cmp ecx, 8
jl 0x140212e00
mov qword [rbp - 0x70], rbx
lea rcx, [rbp - 0x68]
call fcn.14024ae20
nop
lea rcx, [rsp + 0x30]
mov r14, 0xffffffffffffffff
mov rax, r14
inc rax
cmp byte [rcx + rax], 0
jne 0x140212e67
lea r8, [rsp + 0x30]
add r8, rax
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x70]
call fcn.14024ece0
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 0x140212f14
mov rdx, qword [rsi]
mov qword [rsp + 0x30], rdx
mov rbx, rdx
mov r13, rdx
add rbx, qword [rsi + 0x10]
jmp 0x140212f23
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 0x140213290
xor r12b, r12b
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp + 0x50]
call fcn.140272764
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.140258f90
nop
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x50]
call fcn.140259ea0
test al, al
jne 0x1402130bf
cmp r13, rbx
je 0x1402130e3
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.140259b20
mov rax, qword [rax]
cmp rax, rbx
je 0x1402130a4
mov r15, rax
nop dword [rax + rax]
mov qword [rbp + 0xf8], rax
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x50]
call fcn.140259ea0
test al, al
jne 0x1402130bf
lea r8, [r15 + 1]
mov qword [rsp + 0x20], 0
mov r9, rbx
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x50]
call fcn.140259b20
mov rax, qword [rax]
mov r15, rax
cmp rax, rbx
jne 0x140213060
mov qword [rbp + 0xf8], rbx
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x50]
call fcn.140259ea0
test al, al
je 0x1402130e3
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 0x140213141
mov rdx, qword [rbp + 0xe0]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140213125
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140213125
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140271660
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xd0], xmm0
xor r15d, r15d
mov qword [rbp + 0xe0], r15
jmp 0x140213144
xor r15d, r15d
lea rcx, [rbp + 0x90]
call fcn.140258180
lea rcx, [rbp + 0x50]
call fcn.140258180
test r12b, r12b
je 0x140213289
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 0x1402131aa
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
jmp 0x1402131b3
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 0x1402131e1
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
jmp 0x1402131ed
sub r8, rdx
mov rcx, rdi
call fcn.14021c020
nop
lea rcx, [rbp + 0x170]
call fcn.140247710
nop
mov rax, qword [rbp - 0x70]
test rax, rax
je 0x14021323c
lock xadd dword [rax + 0x2c], r14d
cmp r14d, 1
jne 0x14021323c
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x14021323c
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 0x140213220
mov qword [rbp - 0x70], r15
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x140213266
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140213266
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 0x140213b84
mov r12d, dword [0x140294090]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rax
mov rax, qword [0x1402834b0]
mov qword [rsp + 0x30], rax
cmp byte [0x1402834b7], 0
je 0x1402134b1
xor r9d, r9d
cmp r12d, 2
jl 0x140213451
movdqa xmm6, xmmword [0x1402843c0]
movdqa xmm7, xmmword [0x1402843a0]
movdqa xmm4, xmmword [0x140284260]
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
psubd xmm2, xmm4
psrad xmm2, 6
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1402843d0]
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.ffffiiii]
psubd xmm4, xmm0
andps xmm4, xmm10
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm2, xmm4
mov eax, dword [0x140284390]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x30]
xorps xmm2, xmm1
movd dword [rsp + 0x30], xmm2
movdqa xmm4, xmmword [0x140284280]
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
psubd xmm2, xmm4
psrad xmm2, 6
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1402843d0]
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.ffffiiii]
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 0x1402134b1
lea r10, [rsp + 0x30]
nop word [rax + rax]
mov eax, 0x1f7047dd
mul r9d
mov eax, r9d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 6
movsx eax, al
imul r8d, eax, 0x39
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, 0x23
add cl, r9b
add cl, cl
xor byte [r10], cl
inc r9d
lea r10, [r10 + 1]
cmp r9d, 8
jl 0x140213460
xor r12d, r12d
mov qword [rbp - 0x48], r12
lea rcx, [rbp - 0x40]
call fcn.14024ae20
nop
lea rcx, [rsp + 0x30]
mov rax, r14
nop word [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1402134d0
lea r8, [rsp + 0x30]
add r8, rax
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x48]
call fcn.14024ece0
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 0x14021354b
mov r13, qword [rsi]
mov rbx, r13
mov r15, r13
add rbx, qword [rsi + 0x10]
jmp 0x140213558
mov rbx, qword [rsi + 0x10]
add rbx, rsi
mov r15, rsi
mov r13, rsi
mov rsi, qword [rbp - 0x48]
test rsi, rsi
je 0x140213a48
xor r12b, r12b
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp + 0x50]
call fcn.140272764
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.140258f90
nop
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x50]
call fcn.140259ea0
test al, al
jne 0x1402136e9
cmp r15, rbx
je 0x1402136fc
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.140259b20
mov rax, qword [rax]
cmp rax, rbx
je 0x1402136d1
mov rsi, rax
nop word [rax + rax]
mov qword [rbp + 0xf8], rax
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x50]
call fcn.140259ea0
test al, al
jne 0x1402136e9
lea r8, [rsi + 1]
mov qword [rsp + 0x20], 0
mov r9, rbx
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x50]
call fcn.140259b20
mov rax, qword [rax]
mov rsi, rax
cmp rax, rbx
jne 0x140213690
mov qword [rbp + 0xf8], rbx
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x50]
call fcn.140259ea0
test al, al
je 0x1402136fc
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 0x14021375a
mov rdx, qword [rbp + 0xe0]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14021373e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14021373e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140271660
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xd0], xmm0
xor r13d, r13d
mov qword [rbp + 0xe0], r13
jmp 0x14021375d
xor r13d, r13d
lea rcx, [rbp + 0x90]
call fcn.140258180
lea rcx, [rbp + 0x50]
call fcn.140258180
test r12b, r12b
je 0x140213a45
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 0x1402137bc
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
jmp 0x1402137c5
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 0x1402137f8
movdqa xmm0, xmmword [0x140284250]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
jmp 0x140213809
sub r8, rdx
lea rcx, [rsp + 0x70]
call fcn.14021c020
mov r9, qword [rbp - 0x10]
mov ebx, 0x1c2
mov dword [rsp + 0x48], ebx
cmp qword [rbp - 0x80], 0
je 0x1402138c2
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 0x140213850
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
jmp 0x140213859
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 0x14021388a
mov ecx, 0xf
mov qword [rsp + 0x68], rcx
mov byte [rsp + 0x50], 0
jmp 0x1402138a0
sub r8, rdx
lea rcx, [rsp + 0x50]
call fcn.14021c020
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 0x1402138c2
mov r15b, 1
jmp 0x1402138c5
xor r15b, r15b
test bl, 4
je 0x1402138df
and ebx, 0xfffffffb
mov dword [rsp + 0x48], ebx
lea rcx, [rsp + 0x50]
call fcn.14024c260
mov r9, qword [rbp - 0x10]
test bl, 2
je 0x1402138f2
lea rcx, [rsp + 0x70]
call fcn.14024c260
mov r9, qword [rbp - 0x10]
test r15b, r15b
je 0x140213a45
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 0x14021392e
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
jmp 0x140213937
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 0x140213965
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
jmp 0x140213971
sub r8, rdx
mov rcx, rdi
call fcn.14021c020
nop
lea rcx, [rbp - 0x10]
call fcn.140247710
nop
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1402139bc
mov eax, r14d
lock xadd dword [rcx + 0x2c], eax
cmp eax, 1
jne 0x1402139bc
mov rbx, qword [rbp - 0x48]
test rbx, rbx
je 0x1402139bc
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 0x1402139a0
mov qword [rbp - 0x48], r13
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x1402139e6
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x1402139e6
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
nop
lea rcx, [rbp + 0x170]
call fcn.140247710
nop
mov rax, qword [rbp - 0x70]
test rax, rax
je 0x140213a3c
lock xadd dword [rax + 0x2c], r14d
cmp r14d, 1
jne 0x140213a3c
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x140213a3c
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 0x140213a20
mov qword [rbp - 0x70], r13
jmp 0x140213b40
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, [0x14027f106]
mov rcx, rdi
call fcn.14021c020
nop
lea rcx, [rbp - 0x10]
call fcn.140247710
nop
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x140213abc
mov eax, r14d
lock xadd dword [rcx + 0x2c], eax
cmp eax, 1
jne 0x140213abc
mov rbx, qword [rbp - 0x48]
test rbx, rbx
je 0x140213abc
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 0x140213aa0
mov qword [rbp - 0x48], r12
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140213ae6
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140213ae6
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
nop
lea rcx, [rbp + 0x170]
call fcn.140247710
nop
mov rax, qword [rbp - 0x70]
test rax, rax
je 0x140213b3c
lock xadd dword [rax + 0x2c], r14d
cmp r14d, 1
jne 0x140213b3c
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x140213b3c
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 0x140213b20
mov qword [rbp - 0x70], r12
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x140213b66
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140213b66
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.140271640
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