Function at 0x140002790
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0xd8]
sub rsp, 0x1b0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x140353c70]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rdi, r8
movsxd rsi, edx
mov r15, rcx
mov qword [rsp + 0x58], r8
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_105]
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], 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
lea rcx, [rbp - 0x10]
call fcn.14002dd40
nop
movsd xmm0, qword [str.CDQXWZU8]
movsd qword [rsp + 0x20], xmm0
movzx eax, byte [0x1402f90c8]
mov byte [rsp + 0x20], reloc.WS2_32.dll_WSAStartup
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 byte [rsp + 0x26], 0x36
xor byte [rsp + 0x27], 0x37
xor al, 0x38
mov byte [rsp + 0x28], al
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x10]
call fcn.14002de20
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], 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
lea rcx, [rsp + 0x60]
call fcn.14002d550
nop
mov eax, dword [0x1402f90a0]
mov dword [rsp + 0x20], eax
mov r14d, 4
lea r12d, [r14 + 0x1b]
mov ebx, dword [0x140353c80]
cmp byte [0x1402f90a3], 0
je 0x14000298f
cmp ebx, 2
jl 0x14000294a
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, r14d
psrad xmm2, xmm0
movd xmm0, r12d
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 0x14000298f
lea r9, [rsp + 0x20]
xor r8d, r8d
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, r14d
jl 0x140002960
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.14002dbc0
mov eax, dword [str.SSQ3QTA3]
mov dword [rsp + 0x20], eax
cmp byte [0x1402f909f], 0
je 0x140002a7f
cmp ebx, 2
jl 0x140002a46
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, r14d
psrad xmm2, xmm0
movd xmm0, r12d
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 0x140002a7f
lea r9, [rsp + 0x20]
xor r8d, r8d
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, r14d
jl 0x140002a50
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.14002db10
xor edx, edx
lea rcx, [rsp + 0x60]
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, [rsp + 0x60]
call fcn.14002dc70
lea r8, str.quoted_printable
lea rcx, [rsp + 0x60]
cmp qword [rdi + 0x18], 0x10
jb 0x140002b02
mov rdx, qword [rdi]
jmp 0x140002b05
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
xor ecx, ecx
cmp ebx, 2
jl 0x140002c84
movdqa xmm5, xmmword [0x140304160]
movdqa xmm4, xmmword [0x140304280]
movd xmm6, r14d
movdqa xmm7, xmmword [0x1403041b0]
movd xmm8, r12d
movdqa xmm0, xmmword [0x140304220]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x30]
mov r8d, dword [rsp + 0x20]
nop
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]
pxor xmm2, xmm0
movd dword [rdx], 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 + 4]
pxor xmm2, xmm0
movd dword [rdx + 4], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x20
jl 0x140002b80
cmp ecx, 0x23
jge 0x140002cbc
movsxd rax, ecx
lea r9, [rsp + 0x30]
add r9, rax
nop
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 0x140002c90
lea r8, str.quoted_printable
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.14002d7e0
mov ecx, 0x28
call fcn.140247500
mov qword [rsp + 0x20], rax
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 0x20], rcx
mov rcx, rax
call fcn.14002d400
mov r14, rax
xor ebx, ebx
test rsi, rsi
jle 0x140002d18
movzx edx, byte [rbx + r15]
mov rcx, r14
call fcn.14002d4e0
inc rbx
cmp rbx, rsi
jl 0x140002d03
mov ecx, 0x28
call fcn.140247500
mov qword [rsp + 0x20], rax
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 0x20], rcx
mov rcx, rax
call fcn.14002d400
mov rbx, rax
mov r8, rax
mov rdx, r14
lea rcx, [rsp + 0x60]
call fcn.14002d640
mov rcx, rbx
call fcn.14002d520
mov rbx, rax
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_505]
nop
lea rcx, [rsp + 0x60]
call fcn.14002d5a0
nop
lea rcx, [rbp - 0x10]
call fcn.14002dd80
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140002daf
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140002daa
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002dfc
mov rcx, r8
call fcn.140247544
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov rax, rbx
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1402474e0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3