Function at 0x140067970
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x130
movaps xmmword [rax - 0x48], xmm6
mov rbx, rdx
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
xor esi, esi
mov eax, dword [rdx + rcx]
cmp dword [0x1401fb93c], eax
jle 0x1400681b2
lea rcx, [0x1401fb93c]
call fcn.14016be24
cmp dword [0x1401fb93c], 0xffffffff
jne 0x1400681b2
mov rax, qword [str._XZS_X7cEST4]
mov qword [rbp + 0x70], rax
lea r14d, [rsi + 5]
lea r15d, [rsi + 0x1f]
mov edi, dword [reloc.WS2_32.dll_accept]
cmp byte [0x1401b43e7], sil
je 0x140067b43
mov r8d, esi
cmp edi, 2
jl 0x140067b0d
movdqa xmm4, xmmword [0x1401b9770]
movd xmm6, r14d
movd xmm5, r15d
movdqa xmm2, xmmword [0x1401b9240]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401b9280]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1401b9320]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.0000000000000000]
movd xmm0, dword [rbp + 0x70]
pxor xmm2, xmm0
movd dword [rbp + 0x70], xmm2
movdqa xmm3, xmmword [0x1401b9260]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401b9280]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1401b9320]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.0000000000000000]
movd xmm0, dword [rbp + 0x74]
pxor xmm2, xmm0
movd dword [rbp + 0x74], xmm2
jmp 0x140067b43
lea r9, [rbp + 0x70]
mov eax, 0x1f7047dd
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x140067b11
mov qword [rsp + 0x40], rsi
movdqa xmm0, xmmword [0x1401b91e0]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
lea rax, [rbp + 0x70]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140067b66
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.14004ef70
nop
mov eax, dword [str.BXT_Q5]
mov dword [rbp + 0x70], eax
movzx eax, word [0x1401b66cc]
mov word [rbp + 0x74], ax
mov byte [rbp + 0x70], WSAStartup
xor byte [rbp + 0x71], 0x31
xor byte [rbp + 0x72], 0x32
xor byte [rbp + 0x73], 0x33
xor byte [rbp + 0x74], 0x34
xor byte [rbp + 0x75], 0x35
mov qword [rsp + 0x60], rsi
movdqa xmm0, xmmword [0x1401b91e0]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
lea rax, [rbp + 0x70]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140067bd0
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x60]
call fcn.14004ef70
nop
mov eax, dword [0x1401b44a4]
mov dword [rbp + 0x70], eax
movzx eax, word [0x1401b44a8]
mov word [rbp + 0x74], ax
movzx eax, byte [0x1401b44aa]
mov byte [rbp + reloc.WS2_32.dll_WSASetLastError], 0x70
xor byte [rbp + 0x71], 0x31
xor byte [rbp + 0x72], 0x32
xor byte [rbp + 0x73], 0x33
xor byte [rbp + 0x74], 0x34
xor byte [rbp + 0x75], 0x35
xor al, 0x36
mov byte [rbp + 0x76], al
mov qword [rbp - 0x80], rsi
movdqa xmm0, xmmword [0x1401b91e0]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
lea rax, [rbp + 0x70]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140067c41
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x80]
call fcn.14004ef70
nop
mov eax, dword [str.RE3]
mov dword [rbp + 0x70], eax
cmp byte [0x1401b5bc3], 0
je 0x140067d42
mov r8d, esi
cmp edi, 2
jl 0x140067d06
movdqa xmm3, xmmword [0x1401b9240]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1401b9770]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1401b9770]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
movd xmm0, r14d
psrad xmm2, xmm0
movd xmm0, r15d
movdqa xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x1401b9280]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1401b9320]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.0000000000000000]
movd xmm0, eax
pxor xmm2, xmm0
movd dword [rbp + 0x70], xmm2
jmp 0x140067d42
lea r9, [rbp + 0x70]
nop word [rax + rax]
mov eax, 0x1f7047dd
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x140067d10
mov qword [rbp - 0x60], rsi
movdqa xmm0, xmmword [0x1401b91e0]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
lea rax, [rbp + 0x70]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140067d62
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x60]
call fcn.14004ef70
nop
mov eax, dword [str.U3d__]
mov dword [rbp + 0x70], eax
cmp byte [0x1401b463f], 0
je 0x140067e62
mov r8d, esi
cmp edi, 2
jl 0x140067e27
movdqa xmm3, xmmword [0x1401b9240]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1401b9770]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1401b9770]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
movd xmm0, r14d
psrad xmm2, xmm0
movd xmm0, r15d
movdqa xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x1401b9280]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1401b9320]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.0000000000000000]
movd xmm0, eax
pxor xmm2, xmm0
movd dword [rbp + 0x70], xmm2
jmp 0x140067e62
lea r9, [rbp + 0x70]
nop dword [rax + rax]
mov eax, 0x1f7047dd
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x140067e30
mov qword [rbp - 0x40], rsi
movdqa xmm0, xmmword [0x1401b91e0]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
lea rax, [rbp + 0x70]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140067e82
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x40]
call fcn.14004ef70
nop
mov rax, qword [str.CY_GS_X7XP_QG]
mov qword [rbp + 0x70], rax
cmp byte [0x1401b532f], 0
je 0x140068002
mov r8d, esi
cmp edi, 2
jl 0x140067fc8
movdqa xmm4, xmmword [0x1401b9770]
movd xmm6, r14d
movd xmm5, r15d
movdqa xmm2, xmmword [0x1401b9240]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401b9280]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1401b9320]
packuswb xmm2, xmm2
mov eax, dword [str.0000000000000000]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp + 0x70]
pxor xmm2, xmm1
movd dword [rbp + 0x70], xmm2
movdqa xmm3, xmmword [0x1401b9260]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401b9280]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1401b9320]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp + 0x74]
pxor xmm2, xmm1
movd dword [rbp + 0x74], xmm2
jmp 0x140068002
lea r9, [rbp + 0x70]
nop dword [rax]
mov eax, 0x1f7047dd
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x140067fd0
mov qword [rbp - 0x20], rsi
movdqa xmm0, xmmword [0x1401b91e0]
movdqu xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x20], 0
lea rax, [rbp + 0x70]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140068022
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x20]
call fcn.14004ef70
nop
mov eax, dword [str.CU3]
mov dword [rbp + 0x70], eax
cmp byte [0x1401b5257], 0
je 0x140068122
mov r8d, esi
cmp edi, 2
jl 0x1400680e7
movdqa xmm3, xmmword [0x1401b9240]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1401b9770]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1401b9770]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
movd xmm0, r14d
psrad xmm2, xmm0
movd xmm0, r15d
movdqa xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x1401b9280]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1401b9320]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.0000000000000000]
movd xmm0, eax
pxor xmm2, xmm0
movd dword [rbp + 0x70], xmm2
jmp 0x140068122
lea r9, [rbp + 0x70]
nop dword [rax + rax]
mov eax, 0x1f7047dd
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x1400680f0
mov qword [rbp], rsi
movdqa xmm0, xmmword [0x1401b91e0]
movdqu xmmword [rbp + 0x10], xmm0
mov byte [rbp], 0
lea rax, [rbp + 0x70]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140068142
lea rdx, [rbp + 0x70]
lea rcx, [rbp]
call fcn.14004ef70
nop
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
lea rcx, [0x1401fb918]
call fcn.14008b730
nop
lea r9, [fcn.14002acf0]
mov edx, reloc.WLDAP32.dll_Ordinal_32
lea r8d, [rdx - 0x19]
lea rcx, [rsp + 0x40]
call fcn.14016bf70
lea rcx, [0x140172510]
call fcn.14016c278
nop
lea rcx, [0x1401fb93c]
call fcn.14016bdc4
mov rdi, qword [0x1401fb918]
mov r15, qword [0x1401fb920]
cmp rdi, r15
je 0x140068295
mov r14, qword [rbx + 0x10]
mov rsi, qword [rbx + 0x18]
movzx r12d, byte [0x1401b898e]
movzx r13d, word [0x1401b898c]
mov eax, dword [str.BQXQA6]
mov dword [rbp + 0x70], eax
mov word [rbp + 0x74], r13w
movzx eax, r12b
mov byte [rbp + 0x70], WSAStartup
xor byte [rbp + 0x71], 0x31
xor byte [rbp + 0x72], 0x32
xor byte [rbp + 0x73], 0x33
xor byte [rbp + 0x74], 0x34
xor byte [rbp + 0x75], 0x35
xor al, 0x36
mov byte [rbp + 0x76], al
lea rcx, [rbp + 0x70]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140068220
mov rcx, rbx
cmp rsi, 0x10
jb 0x140068235
mov rcx, qword [rbx]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x70]
xor r8d, r8d
mov rdx, r14
call fcn.14004f7f0
cmp rax, 0xffffffffffffffff
jne 0x140068342
mov rax, qword [rdi + 0x10]
mov r9, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140068264
mov r9, qword [rdi]
mov rcx, rbx
cmp rsi, 0x10
jb 0x140068270
mov rcx, qword [rbx]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, r14
call fcn.14004f7f0
cmp rax, 0xffffffffffffffff
jne 0x140068303
add rdi, 0x20
cmp rdi, r15
jne 0x1400681e1
xor esi, esi
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1400682cf
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400682ca
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140068384
mov rcx, r8
call fcn.14016c298
mov qword [rbx + 0x10], rsi
xor al, al
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rbx, qword [rsp + 0x180]
movaps xmm6, xmmword [rsp + 0x120]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp rsi, 0x10
jb 0x140068336
lea rdx, [rsi + 1]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140068331
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140068384
mov rcx, r8
call fcn.14016c298
mov qword [rbx + 0x10], 0
mov al, 1
jmp 0x1400682d5
mov rdx, rsi
cmp rsi, 0x10
jb 0x140068377
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140068372
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140068384
mov rcx, r8
call fcn.14016c298
mov qword [rbx + 0x10], 0
jmp 0x1400682d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3