Function at 0x1400683a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x1401b7700]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rsi, rdx
mov qword [rbp - 0x59], rcx
mov rbx, rcx
lea rdx, [0x14019da30]
mov rcx, r8
xor r15d, r15d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
movups xmm0, xmmword [str.qZASYL]
mov r14, rax
mov eax, dword [0x14019dad0]
movups xmm1, xmmword [str._6_4g]
mov dword [rbp - 0x29], eax
lea ecx, [r15 + 3]
movzx eax, word [0x14019dad4]
movups xmmword [rbp - 0x41], xmm0
mov word [rbp - 0x25], ax
movsd xmm0, qword [0x14019dac8]
movzx eax, byte [0x14019dad6]
movsd qword [rbp - 0x31], xmm0
movups xmm0, xmmword [str.sF__YEQC_OURP]
mov byte [rbp - 0x23], al
movzx eax, word [0x14019dab0]
movups xmmword [rbp - 0x21], xmm0
mov word [rbp + 0xf], ax
movups xmm0, xmmword [0x14019daa0]
movzx eax, byte [reloc.WLDAP32.dll_Ordinal_50]
movups xmmword [rbp - 0x11], xmm1
mov byte [rbp + 0x11], al
movups xmmword [rbp - 1], xmm0
call fcn.1400daa60
call fcn.1400da800
mov rdi, rax
test rax, rax
je 0x140068b9d
mov r8, rsi
movaps xmmword [rsp + 0xa0], xmm6
mov edx, 0x2712
mov rcx, rax
call fcn.1400ded40
mov esi, dword [reloc.WS2_32.dll_accept]
cmp byte [rbp - 0x23], r15b
je 0x14006860f
mov ecx, r15d
cmp esi, 2
jl 0x1400685d4
movdqa xmm0, xmmword [0x14019e230]
lea rdx, [rbp - 0x3d]
movdqa xmm5, xmmword [0x14019dfb0]
movdqa xmm4, xmmword [0x14019e270]
movdqa xmm6, xmmword [0x14019e050]
movdqa xmmword [rbp - 0x59], xmm0
mov r8d, dword [rbp - 0x59]
nop dword [rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14019e1f0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14019e1f0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x1400684d0
cmp ecx, 0x1f
jge 0x14006860f
movsxd rax, ecx
lea r8, [rbp - 0x41]
add r8, rax
nop
mov eax, 0x51eb851f
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x32
add dl, cl
inc ecx
xor byte [r8 - 1], dl
cmp ecx, 0x1f
jl 0x1400685e0
lea rdx, [rbp - 0x41]
xor ecx, ecx
call fcn.1400dabc0
mov r10, rax
cmp byte [rbp - 0x23], r15b
jne 0x1400687a4
mov r8d, r15d
cmp esi, 2
jl 0x140068767
movdqa xmm0, xmmword [0x14019e230]
lea rcx, [rbp - 0x3d]
movdqa xmm5, xmmword [0x14019dfb0]
movdqa xmm4, xmmword [0x14019e270]
movdqa xmm6, xmmword [0x14019e050]
movdqa xmmword [rbp - 0x59], xmm0
mov edx, dword [rbp - 0x59]
nop
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14019e1f0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14019e1f0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x140068660
cmp r8d, 0x1f
jge 0x1400687a4
movsxd rax, r8d
lea r9, [rbp - 0x41]
add r9, rax
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x32
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0x1f
jl 0x140068771
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], rax
mov dword [rbp - 0x29], eax
mov word [rbp - 0x25], ax
mov byte [rbp - 0x23], al
cmp byte [rbp + 0x11], al
je 0x140068944
mov r8d, r15d
cmp esi, 2
jl 0x140068907
movdqa xmm0, xmmword [0x14019e230]
lea rcx, [rbp - 0x1d]
movdqa xmm5, xmmword [0x14019dfb0]
movdqa xmm4, xmmword [0x14019e270]
movdqa xmm6, xmmword [0x14019e050]
movdqa xmmword [rbp - 0x59], xmm0
mov edx, dword [rbp - 0x59]
nop dword [rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14019e1f0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14019e1f0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x30
jl 0x140068800
cmp r8d, 0x33
jge 0x140068944
movsxd rax, r8d
lea r9, [rbp - 0x21]
add r9, rax
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x32
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0x33
jl 0x140068911
lea rdx, [rbp - 0x21]
mov rcx, r10
call fcn.1400dabc0
mov r10, rax
cmp byte [rbp + 0x11], r15b
jne 0x140068ae4
mov r8d, r15d
cmp esi, 2
jl 0x140068aa7
movdqa xmm0, xmmword [0x14019e230]
lea rcx, [rbp - 0x1d]
movdqa xmm5, xmmword [0x14019dfb0]
movdqa xmm4, xmmword [0x14019e270]
movdqa xmm6, xmmword [0x14019e050]
movdqa xmmword [rbp - 0x59], xmm0
mov edx, dword [rbp - 0x59]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14019e1f0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14019e1f0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x30
jl 0x1400689a0
cmp r8d, 0x33
jge 0x140068ae4
movsxd rax, r8d
lea r9, [rbp - 0x21]
add r9, rax
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x32
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0x33
jl 0x140068ab1
xorps xmm0, xmm0
xor eax, eax
mov r8, r10
mov word [rbp + 0xf], ax
mov edx, 0x2727
mov byte [rbp + 0x11], al
mov rcx, rdi
movups xmmword [rbp - 0x21], xmm0
movups xmmword [rbp - 0x11], xmm0
movups xmmword [rbp - 1], xmm0
call fcn.1400ded40
lea r8, [0x140067210]
mov edx, 0x4e2b
mov rcx, rdi
call fcn.1400ded40
movaps xmm6, xmmword [rsp + 0xa0]
test r14, r14
je 0x140068b77
mov r8, r14
mov edx, 0x2711
mov rcx, rdi
call fcn.1400ded40
mov rcx, rdi
call fcn.1400da870
mov rcx, r14
mov esi, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rdi
call fcn.1400da7d0
mov rcx, rbx
test esi, esi
je 0x140068b68
mov edx, esi
call fcn.140001c40
jmp 0x140068b9a
mov r8d, 7
lea rdx, str.Success
jmp 0x140068b87
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Invalid_directory
mov rcx, rbx
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
call fcn.140002d30
mov rax, rbx
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140136b70
mov rbx, qword [rsp + 0xf8]
add rsp, 0xb0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret