Function at 0x140001490
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x108]
sub rsp, 0x1d0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
mov rax, qword [0x140353c70]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rbx, r8
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x78], rbx
xor r15d, r15d
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_105]
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
lea rcx, [rbp + 0x10]
call fcn.14002dd40
nop
mov rax, qword [0x1402f90f8]
mov qword [rsp + 0x20], rax
lea r12d, [r15 + 4]
lea r13d, [r15 + 0x1f]
mov esi, dword [0x140353c80]
cmp byte [0x1402f90ff], r15b
je 0x140001690
cmp esi, 2
jl 0x14000164a
movdqa xmm4, xmmword [0x140304280]
movd xmm6, r12d
movd xmm5, r13d
movdqa xmm2, xmmword [0x140304160]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1403041b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140304200]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140304220]
movd xmm0, dword [rsp + 0x20]
pxor xmm2, xmm0
movd dword [rsp + 0x20], xmm2
movdqa xmm3, xmmword [0x140304170]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1403041b0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140304200]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140304220]
movd xmm0, dword [rsp + 0x24]
pxor xmm2, xmm0
movd dword [rsp + 0x24], xmm2
jmp 0x140001690
lea r9, [rsp + 0x20]
mov r8d, r15d
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x140001660
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x10]
call fcn.14002de20
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
lea rcx, [rbp - 0x80]
call fcn.14002d550
nop
mov eax, dword [0x1402f90a0]
mov dword [rsp + 0x20], eax
cmp byte [0x1402f90a3], 0
je 0x1400017b0
cmp esi, 2
jl 0x140001777
movdqa xmm3, xmmword [0x140304160]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140304280]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140304280]
shufps xmm2, xmm0, 0xdd
movd xmm0, r12d
psrad xmm2, xmm0
movd xmm0, r13d
movdqa xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x1403041b0]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140304200]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140304220]
movd xmm0, eax
pxor xmm2, xmm0
movd dword [rsp + 0x20], xmm2
jmp 0x1400017b0
lea r9, [rsp + 0x20]
mov r8d, r15d
nop
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x140001780
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.14002dbc0
mov eax, dword [str.SSQ3QTA3]
mov dword [rsp + 0x20], eax
cmp byte [0x1402f909f], 0
je 0x1400018a0
cmp esi, 2
jl 0x140001866
movdqa xmm3, xmmword [0x140304160]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140304280]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140304280]
shufps xmm2, xmm0, 0xdd
movd xmm0, r12d
psrad xmm2, xmm0
movd xmm0, r13d
movdqa xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x1403041b0]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140304200]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140304220]
movd xmm0, eax
pxor xmm2, xmm0
movd dword [rsp + 0x20], xmm2
jmp 0x1400018a0
lea r9, [rsp + 0x20]
mov r8d, r15d
nop
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x140001870
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.14002db10
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.14002dd30
mov eax, dword [str.RPAV]
mov dword [rsp + 0x20], eax
movzx eax, word [0x1402f9098]
mov word [rsp + 0x24], ax
movzx eax, byte [0x1402f909a]
mov byte [rsp + 0x20], 0x62
xor byte [rsp + 0x21], 0x31
xor byte [rsp + 0x22], 0x32
xor byte [rsp + 0x23], 0x33
xor byte [rsp + 0x24], 0x34
xor byte [rsp + 0x25], 0x35
xor al, 0x36
mov byte [rsp + 0x26], al
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.14002dc70
movups xmm0, xmmword [str.AD_GQQeGJPTO__RZ_]
movups xmmword [rsp + 0x30], xmm0
movzx eax, byte [0x1402f90b8]
mov byte [rsp + 0x40], al
mov r8d, r15d
cmp esi, 2
jl 0x140001a77
movdqa xmm5, xmmword [0x140304160]
movdqa xmm4, xmmword [0x140304280]
movd xmm6, r12d
movdqa xmm7, xmmword [0x1403041b0]
movd xmm8, r13d
movdqa xmm0, xmmword [0x140304220]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x34]
mov edx, dword [rsp + 0x20]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140304200]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140304200]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x140001970
cmp r8d, 0x11
jge 0x140001ac0
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x11
jl 0x140001a90
lea r8, [rsp + 0x30]
lea rcx, [rbp - 0x80]
cmp qword [rbx + 0x18], 0x10
jb 0x140001ad5
mov rdx, qword [rbx]
jmp 0x140001ad8
mov rdx, rbx
call fcn.14002d6d0
movzx eax, byte [0x1402f90b8]
movups xmm0, xmmword [str.AD_GQQeGJPTO__RZ_]
mov byte [rsp + 0x40], al
movups xmmword [rsp + 0x30], xmm0
mov r8d, r15d
cmp esi, 2
jl 0x140001c47
movdqa xmm5, xmmword [0x140304160]
movdqa xmm4, xmmword [0x140304280]
movd xmm6, r12d
movdqa xmm7, xmmword [0x1403041b0]
movd xmm8, r13d
movdqa xmm0, xmmword [0x140304220]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x34]
mov edx, dword [rsp + 0x20]
nop dword [rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140304200]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140304200]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x140001b40
cmp r8d, 0x11
jge 0x140001c90
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x11
jl 0x140001c60
movzx eax, word [0x1402f90f0]
mov word [rsp + 0x68], ax
movzx eax, byte [0x1402f90f2]
movups xmm1, xmmword [0x1402f90e0]
movups xmm0, xmmword [str.rVl_]
mov byte [rsp + 0x6a], al
movups xmmword [rsp + 0x58], xmm1
movups xmmword [rsp + 0x48], xmm0
mov r8d, r15d
cmp esi, 2
jl 0x140001e17
movdqa xmm5, xmmword [0x140304160]
movdqa xmm4, xmmword [0x140304280]
movd xmm6, r12d
movdqa xmm7, xmmword [0x1403041b0]
movd xmm8, r13d
movdqa xmm0, xmmword [0x140304220]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x4c]
mov edx, dword [rsp + 0x20]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140304200]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140304200]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x20
jl 0x140001d10
cmp r8d, 0x23
jge 0x140001e60
movsxd rax, r8d
lea r9, [rsp + 0x48]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x23
jl 0x140001e30
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x80]
call fcn.14002d7e0
mov rdx, r14
lea rcx, [rbp - 0x80]
call fcn.14002d8f0
mov rsi, rax
test rax, rax
jne 0x140001ee7
mov eax, dword [0x1402f9100]
mov dword [rsp + 0x20], eax
movzx eax, word [0x1402f9104]
mov word [rsp + 0x24], ax
mov byte [rsp + 0x20], Ordinal_105
xor byte [rsp + 0x21], 0x31
xor byte [rsp + 0x22], 0x32
xor byte [rsp + 0x23], 0x33
xor al, 0x34
mov byte [rsp + 0x24], al
xor byte [rsp + 0x25], 0x35
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140001ed6
lea rdx, [rsp + 0x20]
jmp 0x140001f0f
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_505]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rsi + r8], 0
jne 0x140001f02
mov rdx, rsi
mov rcx, rdi
call fcn.140002ef0
nop
lea rcx, [rbp - 0x80]
call fcn.14002d5a0
nop
lea rcx, [rbp + 0x10]
call fcn.14002dd80
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140001f62
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140001f5d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140001fad
mov rcx, r8
call fcn.140247544
mov rax, rdi
mov byte [rbx], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x10], r15
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.1402474e0
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x58]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3