Function at 0x140001fc0
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 - 0xf8]
sub rsp, 0x1c0
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 + 0x80], rax
mov rdi, r8
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], r8
xor r15d, r15d
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_105]
xorps xmm0, xmm0
movups xmmword [rbp], 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
lea rcx, [rbp]
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 0x1400021c0
cmp esi, 2
jl 0x14000217c
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 0x1400021c0
lea r9, [rsp + 0x20]
mov r8d, r15d
nop dword [rax]
nop dword [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 0x140002190
lea rdx, [rsp + 0x20]
lea rcx, [rbp]
call fcn.14002de20
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], 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
lea rcx, [rsp + 0x70]
call fcn.14002d550
nop
mov eax, dword [0x1402f90a0]
mov dword [rsp + 0x20], eax
cmp byte [0x1402f90a3], 0
je 0x1400022f0
cmp esi, 2
jl 0x1400022a9
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 0x1400022f0
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, 4
jl 0x1400022c0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.14002dbc0
mov eax, dword [str.SSQ3QTA3]
mov dword [rsp + 0x20], eax
cmp byte [0x1402f909f], 0
je 0x1400023e0
cmp esi, 2
jl 0x1400023a7
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 0x1400023e0
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 0x1400023b0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.14002db10
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.14002dd30
mov edx, 0x20
lea rcx, [rsp + 0x70]
call fcn.14002dd20
mov eax, dword [str.RPAV]
mov dword [rsp + 0x20], eax
movzx eax, word [0x1402f9098]
mov word [rsp + 0x24], ax
movzx ecx, byte [0x1402f909a]
mov byte [rsp + 0x20], 0x62
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
xor cl, 0x36
mov byte [rsp + 0x26], cl
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.14002dc70
lea r8, str.quoted_printable
lea rcx, [rsp + 0x70]
cmp qword [rdi + 0x18], 0x10
jb 0x140002474
mov rdx, qword [rdi]
jmp 0x140002477
mov rdx, rdi
call fcn.14002d6d0
movzx eax, word [0x1402f90f0]
mov word [rsp + 0x50], ax
movzx eax, byte [0x1402f90f2]
movups xmm1, xmmword [0x1402f90e0]
movups xmm0, xmmword [str.rVl_]
mov byte [rsp + 0x52], al
movups xmmword [rsp + 0x40], xmm1
movups xmmword [rsp + 0x30], xmm0
mov ecx, r15d
cmp esi, 2
jl 0x1400025f5
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 rdx, [rsp + 0x34]
mov r8d, dword [rsp + 0x20]
movd xmm2, ecx
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, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
pxor xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 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, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
pxor xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x20
jl 0x1400024f1
cmp ecx, 0x23
jge 0x14000262c
movsxd rax, ecx
lea r9, [rsp + 0x30]
add r9, rax
mov eax, 0x4bda12f7
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
sub al, dl
add al, 0x30
xor byte [r9], al
inc ecx
lea r9, [r9 + 1]
cmp ecx, 0x23
jl 0x140002600
lea r8, str.quoted_printable
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.14002d7e0
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14000264f
mov rdx, qword [rbx]
lea rcx, [rsp + 0x70]
call fcn.14002da00
mov rsi, rax
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_505]
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r15
mov qword [r14 + 0x18], r15
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rsi + r8], 0
jne 0x140002680
mov rdx, rsi
mov rcx, r14
call fcn.140002ef0
nop
lea rcx, [rsp + 0x70]
call fcn.14002d5a0
nop
lea rcx, [rbp]
call fcn.14002dd80
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1400026e5
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400026e0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002775
mov rcx, r8
call fcn.140247544
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14000272a
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140002725
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000277c
mov rcx, r8
call fcn.140247544
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov rax, r14
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1402474e0
lea r11, [rsp + 0x1c0]
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]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3