Function at 0x140043a40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rdi, rdx
mov rsi, rcx
mov qword [rbp - 0x58], rcx
xor r14d, r14d
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rbx, rax
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__mktime64]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__difftime64]
movaps xmm1, xmm0
divsd xmm1, qword [0x14016c628]
cvttsd2si edx, xmm1
lea eax, [rdx + 0x270f]
cmp eax, 0x2b5b
ja 0x140043f17
cmp edx, 1
jge 0x140043d6f
divsd xmm0, qword [0x14016c610]
cvttsd2si r10d, xmm0
movsd xmm0, qword [0x14016c2d8]
movsd qword [rbp - 0x58], xmm0
mov eax, dword [0x14016c2e0]
mov dword [rbp - 0x50], eax
cmp byte [0x14016c2e3], r14b
je 0x140043c10
mov r8d, r14d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140043bd1
movdqa xmm4, xmmword [0x14016cac0]
movdqa xmm2, xmmword [0x14016c750]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14016c780]
psubd xmm2, xmm0
andps xmm2, xmmword [0x14016c7e0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.8888888888888888]
movd xmm0, dword [0x14016c2d8]
xorps xmm2, xmm0
movd dword [rbp - 0x58], xmm2
movdqa xmm2, xmmword [0x14016c770]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14016c780]
psubd xmm2, xmm0
andps xmm2, xmmword [0x14016c7e0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.8888888888888888]
movd xmm0, dword [rbp - 0x54]
xorps xmm2, xmm0
movd dword [rbp - 0x54], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x58]
add r9, rax
nop dword [rax + rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x140043be0
movzx eax, word [0x14016c10c]
mov word [rbp - 0x60], ax
cmp byte [reloc.WS2_32.dll_gethostname], r14b
je 0x140043c2c
mov byte [rbp - 0x60], reloc.WLDAP32.dll_Ordinal_32
xor byte [rbp - 0x5f], 0x39
mov edx, r10d
lea rcx, [rbp - 0x20]
call fcn.140035110
nop
lea rcx, [rbp - 0x60]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop word [rax + rax]
inc r8
cmp byte [rcx + r8], 0
jne 0x140043c50
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.140054f00
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x38], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rax, [rbp - 0x58]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140043c97
mov r8, rbx
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x48]
call fcn.140054f00
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], r14
movups xmm0, xmmword [rax]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsi + 0x10], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x140043d19
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043d14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140043d14
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c9800
movdqa xmm0, xmmword [0x14016c720]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x140043f78
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043f10
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140043f10
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
movsd xmm0, qword [0x14016c348]
movsd qword [rbp - 0x58], xmm0
movzx ecx, word [0x14016c350]
mov word [rbp - 0x50], cx
movzx eax, byte [0x14016c352]
mov byte [rbp - 0x58], reloc.WLDAP32.dll_Ordinal_32
xor byte [rbp - 0x57], 0x39
xor byte [rbp - 0x56], 0x3a
xor byte [rbp - 0x55], 0x3b
xor byte [rbp - 0x54], 0x3c
xor byte [rbp - 0x53], 0x3d
xor byte [rbp - 0x52], 0x3e
xor byte [rbp - 0x51], 0x3f
xor cl, 0x40
mov byte [rbp - 0x50], cl
xor byte [rbp - 0x4f], 0x41
xor al, 0x42
mov byte [rbp - 0x4e], al
movzx eax, word [0x14016c10c]
mov word [rbp - 0x60], ax
cmp byte [reloc.WS2_32.dll_gethostname], r14b
je 0x140043dd9
mov byte [rbp - 0x60], reloc.WLDAP32.dll_Ordinal_32
xor byte [rbp - 0x5f], 0x39
lea rcx, [rbp - 0x20]
call fcn.140035110
nop
lea rcx, [rbp - 0x60]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rcx + r8], 0
jne 0x140043df1
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.140054f00
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x38], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rax, [rbp - 0x58]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140043e40
mov r8, rbx
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x48]
call fcn.140054f00
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], r14
movups xmm0, xmmword [rax]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsi + 0x10], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x140043ec2
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043ebd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140043ebd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c9800
movdqa xmm0, xmmword [0x14016c720]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x140043f78
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043f10
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140043f10
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c9800
jmp 0x140043f78
mov eax, dword [str.VLN]
mov dword [rbp - 0x58], eax
movzx eax, word [0x14016bfa4]
mov word [rbp - 0x54], ax
mov byte [rbp - 0x58], WSAGetLastError
xor byte [rbp - 0x57], 0x39
xor byte [rbp - 0x56], 0x3a
xor byte [rbp - 0x55], 0x3b
xor al, 0x3c
mov byte [rbp - 0x54], al
xor byte [rbp - 0x53], 0x3d
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], r14
lea rax, [rbp - 0x58]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], r14b
jne 0x140043f60
mov r8, rbx
lea rdx, [rbp - 0x58]
mov rcx, rsi
call fcn.140056d10
mov rax, rsi
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret