Function at 0x14005a510
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x138]
sub rsp, 0x210
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
mov rax, qword [0x1400e1700]
xor rax, rsp
mov qword [rbp + 0x88], rax
mov r15, rcx
xor esi, esi
mov qword [rbp + 0x80], rsi
lea rdx, [rbp + 0x80]
lea rcx, [0x1400d02a0]
call fcn.14005a050
mov qword [rbp + 0x78], rsi
movdqa xmm0, xmmword [0x1400d0850]
movdqu xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmmword [0x1400d0830]
movdqu xmmword [rsp + 0x40], xmm1
movdqa xmm0, xmmword [0x1400d0980]
movdqu xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x60], 0x25011617
mov dword [rsp + 0x64], 0x3704161a
mov dword [rsp + 0x68], 0x1f1206
mov ecx, esi
nop dword [rax]
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x31], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x32], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x33], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x34], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x35], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x36], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x37], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x38], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x39], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x3a], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x3b], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x3c], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x3d], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x3e], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x3f], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x40], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x41], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x42], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x43], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x44], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x45], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x46], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x47], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x48], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x49], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x4a], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x4b], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x4c], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x4d], al
add rcx, 0x1d
cmp rcx, 0x3a
jb 0x14005a5e0
mov byte [rsp + 0x6b], 0
lea rax, [rsp + 0x31]
mov qword [rbp - 0x78], rax
mov rcx, qword [rbp + 0x80]
mov rax, qword [rcx]
lea rdx, [rbp + 0x78]
call qword [rax + gethostname]
mov edx, eax
test eax, eax
js 0x14005aa96
mov rdi, rsi
mov qword [rbp + 0x70], rsi
mov rcx, qword [rbp + 0x78]
test rcx, rcx
je 0x14005a74a
mov rax, qword [rcx]
lea r8, [rbp + 0x70]
lea rdx, [0x1400d0230]
call qword [rax]
mov rdi, qword [rbp + 0x70]
test eax, eax
cmovs rdi, rsi
mov qword [rbp + 0x70], rdi
test rdi, rdi
je 0x14005aac4
movdqa xmm1, xmmword [0x1400d0bb0]
movdqu xmmword [rsp + 0x70], xmm1
mov dl, reloc.WLDAP32.dll_Ordinal_50
mov r8b, gethostname
mov r9b, 0x3e
mov r10b, 0x3f
movdqa xmm0, xmm1
psrldq xmm0, 1
movd eax, xmm0
movd ecx, xmm1
xor al, cl
mov byte [rsp + 0x71], al
xor byte [rsp + 0x72], cl
xor byte [rsp + 0x73], cl
xor byte [rsp + 0x74], cl
xor byte [rsp + 0x75], cl
xor byte [rsp + 0x76], cl
xor byte [rsp + 0x77], cl
xor byte [rsp + 0x78], cl
xor byte [rsp + 0x79], cl
xor byte [rsp + 0x7a], cl
xor byte [rsp + 0x7b], cl
xor byte [rsp + 0x7c], cl
xor byte [rsp + 0x7d], cl
xor byte [rsp + 0x7e], cl
xor byte [rsp + 0x7f], cl
xor dl, cl
mov byte [rbp - 0x80], dl
xor r8b, cl
mov byte [rbp - 0x7f], r8b
xor r9b, cl
mov byte [rbp - 0x7e], r9b
xor r10b, cl
mov byte [rbp - 0x7d], r10b
mov byte [rbp - 0x7c], 0
lea rax, [rsp + 0x71]
mov qword [rbp - 0x28], rax
mov rax, qword [rdi]
mov r12, qword [rax + 0xf8]
mov r13d, 3
mov word [rbp + 0x10], r13w
mov dword [rbp + 0x18], esi
movups xmm12, xmmword [rbp + 0x10]
movsd xmm13, qword [rbp + 0x20]
mov word [rbp - 0x40], si
lea rcx, [rbp - 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
js 0x14005ac1e
mov ebx, 8
mov word [rbp - 0x40], bx
lea rcx, [0x1400d0150]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbp - 0x38], rax
test rax, rax
je 0x14005ac26
movups xmm10, xmmword [rbp - 0x40]
movsd xmm11, qword [rbp - 0x30]
mov word [rbp - 0x58], si
lea rcx, [rbp - 0x58]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
js 0x14005ac41
mov word [rbp - 0x58], bx
lea rcx, [0x1400d0150]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbp - 0x50], rax
test rax, rax
je 0x14005ac49
movups xmm8, xmmword [rbp - 0x58]
movsd xmm9, qword [rbp - 0x48]
mov word [rbp - 0x70], si
lea rcx, [rbp - 0x70]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
js 0x14005ac64
mov word [rbp - 0x70], bx
lea rcx, [0x1400d0150]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbp - 0x68], rax
test rax, rax
je 0x14005ac6c
movups xmm6, xmmword [rbp - 0x70]
movsd xmm7, qword [rbp - 0x60]
test r15, r15
je 0x14005a932
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
lea r9d, [r13 - 4]
mov r8, r15
xor edx, edx
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r14d, eax
lea edx, [rax - 1]
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov rbx, rax
test rax, rax
je 0x14005a920
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
lea r9d, [r13 - 4]
mov r8, r15
xor edx, edx
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, r14d
jne 0x14005aa82
mov qword [rbp - 0x78], rbx
test rbx, rbx
je 0x14005aa8b
mov rsi, rbx
jmp 0x14005a939
mov rbx, rsi
mov qword [rbp - 0x78], rbx
movaps xmmword [rbp + 0x30], xmm12
movsd qword [rbp + 0x40], xmm13
movaps xmmword [rbp + 0x50], xmm10
movsd qword [rbp + 0x60], xmm11
movaps xmmword [rsp + 0x30], xmm8
movsd qword [rsp + 0x40], xmm9
movaps xmmword [rbp - 0x20], xmm6
movsd qword [rbp - 0x10], xmm7
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
lea r8, [rbp - 0x20]
mov rdx, rsi
mov rcx, rdi
call r12
mov edx, eax
test eax, eax
js 0x14005aa54
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
lea rcx, [rbp - 0x70]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rbp - 0x58]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rbp - 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rbp + 0x10]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x14005a9d9
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rcx, qword [rbp + 0x78]
test rcx, rcx
je 0x14005a9e9
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x14005a9fc
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rcx, qword [rbp + 0x88]
xor rcx, rsp
call fcn.1400b8870
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, [rbp - 0x28]
call fcn.14005d170
mov r9, qword [rax]
call fcn.140059380
mov r8, rax
lea rcx, [rbp - 0x20]
call fcn.140059040
lea rdx, [0x1400ddf20]
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, 0x8007000e
call fcn.140001420
nop
lea rcx, [rbp - 0x78]
call fcn.14005d170
mov r9, qword [rax]
call fcn.140059380
mov r8, rax
lea rcx, [rbp - 0x20]
call fcn.140059040
lea rdx, [0x1400ddf20]
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
movdqa xmm1, xmmword [0x1400d0ac0]
movdqu xmmword [rsp + 0x30], xmm1
movdqa xmm2, xmmword [0x1400d0a00]
movdqu xmmword [rsp + 0x40], xmm2
mov cl, 0x25
mov r8b, reloc.WS2_32.dll_listen
mov r9b, reloc.WLDAP32.dll_Ordinal_32
mov r10b, Ordinal_60
mov r11b, reloc.WS2_32.dll_gethostname
mov bl, Ordinal_41
mov dil, 0x3d
mov sil, 0x2a
mov r14b, reloc.WLDAP32.dll_Ordinal_33
mov r15b, 0x7b
movdqa xmm0, xmm1
psrldq xmm0, 1
movd eax, xmm0
movd edx, xmm1
xor al, dl
mov byte [rsp + 0x31], al
xor byte [rsp + 0x32], dl
xor byte [rsp + 0x33], dl
xor byte [rsp + 0x34], dl
xor byte [rsp + 0x35], dl
xor byte [rsp + 0x36], dl
xor byte [rsp + 0x37], dl
xor byte [rsp + 0x38], dl
xor byte [rsp + 0x39], dl
xor byte [rsp + 0x3a], dl
xor byte [rsp + 0x3b], dl
xor byte [rsp + 0x3c], dl
xor byte [rsp + 0x3d], dl
xor byte [rsp + 0x3e], dl
xor byte [rsp + 0x3f], dl
movd eax, xmm2
xor al, dl
mov byte [rsp + 0x40], al
xor byte [rsp + 0x41], dl
xor byte [rsp + 0x42], dl
xor byte [rsp + 0x43], dl
xor byte [rsp + 0x44], dl
xor byte [rsp + 0x45], dl
xor byte [rsp + 0x46], dl
xor byte [rsp + 0x47], dl
xor byte [rsp + 0x48], dl
xor byte [rsp + 0x49], dl
xor byte [rsp + 0x4a], dl
xor byte [rsp + 0x4b], dl
xor byte [rsp + 0x4c], dl
xor byte [rsp + 0x4d], dl
xor byte [rsp + 0x4e], dl
xor byte [rsp + 0x4f], dl
xor cl, dl
mov byte [rsp + 0x50], cl
xor r8b, dl
mov byte [rsp + 0x51], r8b
xor r9b, dl
mov byte [rsp + 0x52], r9b
xor r10b, dl
mov byte [rsp + 0x53], r10b
xor r11b, dl
mov byte [rsp + 0x54], r11b
xor bl, dl
mov byte [rsp + 0x55], bl
xor dil, dl
mov byte [rsp + 0x56], dil
xor sil, dl
mov byte [rsp + 0x57], sil
xor r14b, dl
mov byte [rsp + 0x58], r14b
xor r15b, dl
mov byte [rsp + 0x59], r15b
mov byte [rsp + 0x5a], 0
lea rax, [rsp + 0x31]
mov qword [rbp - 0x78], rax
lea rcx, [rbp - 0x78]
call fcn.14005d170
mov r9, qword [rax]
call fcn.140059380
mov r8, rax
mov edx, 0x80004002
lea rcx, [rbp - 0x20]
call fcn.140059040
lea rdx, [0x1400ddf20]
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov ecx, eax
call fcn.140001420
int3
mov eax, 0xa
mov word [rbp - 0x40], ax
mov dword [rbp - 0x38], 0x8007000e
mov ecx, 0x8007000e
call fcn.140001420
nop
mov ecx, eax
call fcn.140001420
int3
mov eax, 0xa
mov word [rbp - 0x58], ax
mov dword [rbp - 0x50], 0x8007000e
mov ecx, 0x8007000e
call fcn.140001420
nop
mov ecx, eax
call fcn.140001420
int3
mov eax, 0xa
mov word [rbp - 0x70], ax
mov dword [rbp - 0x68], 0x8007000e
mov ecx, 0x8007000e
call fcn.140001420
int3