Function at 0x140085a40
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r15
lea rbp, [rsp - 0x3f]
sub rsp, 0xf8
mov rax, qword [0x1401ce080]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r15, r8
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
je 0x1400861da
test r8, r8
je 0x1400861da
lea rax, [rbp - 0x75]
mov qword [rbp + 0x1f], rdx
mov qword [rsp + 0x138], rbx
lea r8, [rbp + 7]
xor ebx, ebx
mov qword [rbp + 7], Ordinal_41
mov qword [rsp + 0x38], rbx
mov r9d, reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x30], rax
mov edx, 0x80862007
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov qword [rbp + 0xf], rbx
mov qword [rbp + 0x17], rbx
mov dword [rbp - 0x75], ebx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x140085cb9
movdqa xmm3, xmmword [0x1401b0b90]
mov ecx, 0x358a
movdqa xmm4, xmmword [0x1401b0d90]
mov dword [rbp - 0x69], 0x35a935d8
mov dword [rbp - 0x65], 0x35a635d8
mov dword [rbp - 0x61], 0x35e935c1
mov dword [rbp - 0x5d], 0x35e635e0
mov dword [rbp - 0x59], 0x35e835ee
mov dword [rbp - 0x55], 0x35fa35ad
mov dword [rbp - 0x51], 0x35b035e0
mov dword [rbp - 0x4d], 0x35e035e5
mov dword [rbp - 0x49], 0x35fa35f2
mov dword [rbp - 0x45], 0x35fa35e6
mov dword [rbp - 0x41], 0x35ec35f6
mov dword [rbp - 0x3d], 0x35ba35fc
mov dword [rbp - 0x39], 0x35f535ed
mov dword [rbp - 0x35], 0x35ea35ef
mov dword [rbp - 0x31], 0x35c135ea
mov dword [rbp - 0x2d], 0x358235cd
mov dword [rbp - 0x29], 0x35c035c2
mov dword [rbp - 0x25], 0x35d435c1
mov dword [rbp - 0x21], 0x35db35c2
mov dword [rbp - 0x1d], 0x358a35da
mov dword [rbp - 0x19], 0x35d4359b
mov word [rbp - 0x15], bx
mov byte [rbp - 0x13], 1
movd xmm1, dword [rbp + rbx*2 - 0x69]
lea rax, [rcx - 5]
xorps xmm0, xmm0
movq xmm2, rbx
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
punpcklqdq xmm2, xmm2
paddq xmm2, xmm4
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
movq xmm2, rax
pshuflw xmm1, xmm0, 0xd8
lea rax, [rcx - 3]
movd dword [rbp + rbx*2 - 0x69], xmm1
xorps xmm0, xmm0
movd xmm1, dword [rbp + rbx*2 - 0x65]
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
punpcklqdq xmm2, xmm2
paddq xmm2, xmm3
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
movq xmm2, rax
pshuflw xmm1, xmm0, 0xd8
lea rax, [rcx - 1]
movd dword [rbp + rbx*2 - 0x65], xmm1
xorps xmm0, xmm0
movd xmm1, dword [rbp + rbx*2 - 0x61]
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
punpcklqdq xmm2, xmm2
paddq xmm2, xmm3
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
movq xmm2, rax
pshuflw xmm1, xmm0, 0xd8
movq xmm0, rcx
movd dword [rbp + rbx*2 - 0x61], xmm1
add rcx, 8
movd xmm1, dword [rbp + rbx*2 - 0x5d]
punpcklqdq xmm2, xmm0
xorps xmm0, xmm0
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
movd dword [rbp + rbx*2 - 0x5d], xmm1
add rbx, 8
cmp rcx, 0x35b2
jb 0x140085b80
cmp rbx, 0x2a
jae 0x140085c82
mov ecx, 0x3583
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x69], ax
inc rbx
cmp rbx, 0x2a
jb 0x140085c71
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, [rbp - 0x69]
mov byte [rbp - 0x13], 0
call fcn.14008c660
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x14008c840]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor al, al
jmp 0x140085efa
mov qword [rsp + 0xf0], r14
mov r14, qword [rbp + 0x17]
test r14, r14
je 0x140085d28
mov qword [rsp + 0x38], rbx
lea rax, [rbp - 0x79]
mov qword [rsp + 0x30], rax
lea r8, [rbp - 0x69]
xorps xmm0, xmm0
mov dword [rsp + 0x28], ebx
mov r9d, Ordinal_50
mov qword [rsp + 0x20], rbx
mov edx, 0x80862007
mov qword [rbp - 0x51], rbx
mov rcx, rsi
mov qword [rbp - 0x41], listen
movdqu xmmword [rbp - 0x61], xmm0
mov qword [rbp - 0x69], Ordinal_26
mov qword [rbp - 0x49], r14
mov dword [rbp - 0x79], ebx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rdi, qword [rbp - 0x51]
test eax, eax
cmove rdi, rbx
jmp 0x140085d2b
mov rdi, rbx
test rdi, rdi
jne 0x140085f1b
movdqa xmm3, xmmword [0x1401b0b90]
lea r8, [rbp - 0x65]
movdqa xmm4, xmmword [0x1401b0d90]
mov ecx, 0x358a
mov dword [rbp - 0x69], 0x35a935d8
mov dword [rbp - 0x65], 0x35a635d8
mov dword [rbp - 0x61], 0x35e935c1
mov dword [rbp - 0x5d], 0x35e635e0
mov dword [rbp - 0x59], 0x35e835ee
mov dword [rbp - 0x55], 0x35fa35ad
mov dword [rbp - 0x51], 0x35b035e0
mov dword [rbp - 0x4d], 0x35f335fc
mov dword [rbp - 0x49], 0x35b435e3
mov dword [rbp - 0x45], 0x35d935dc
mov dword [rbp - 0x41], 0x35eb35b7
mov dword [rbp - 0x3d], 0x35fb35e9
mov dword [rbp - 0x39], 0x35f935f8
mov dword [rbp - 0x35], 0x35f135bd
mov dword [rbp - 0x31], 0x358035f9
mov dword [rbp - 0x2d], 0x35da3591
mov word [rbp - 0x29], bx
mov byte [rbp - 0x27], 1
nop word [rax + rax]
movd xmm1, dword [r8 - 4]
lea rax, [rcx - 0x358a]
xorps xmm0, xmm0
lea r8, [r8 + 0x10]
punpcklwd xmm1, xmm0
movq xmm2, rax
punpckldq xmm1, xmm0
lea rax, [rcx - 5]
punpcklqdq xmm2, xmm2
paddq xmm2, xmm4
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
movq xmm2, rax
pshuflw xmm1, xmm0, 0xd8
lea rax, [rcx - 3]
movd dword [r8 - 0x14], xmm1
xorps xmm0, xmm0
movd xmm1, dword [r8 - 0x10]
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
punpcklqdq xmm2, xmm2
paddq xmm2, xmm3
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
movq xmm2, rax
pshuflw xmm1, xmm0, 0xd8
lea rax, [rcx - 1]
movd dword [r8 - 0x10], xmm1
xorps xmm0, xmm0
movd xmm1, dword [r8 - 0xc]
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
punpcklqdq xmm2, xmm2
paddq xmm2, xmm3
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
movq xmm2, rax
pshuflw xmm1, xmm0, 0xd8
movq xmm0, rcx
movd dword [r8 - 0xc], xmm1
add rcx, 8
movd xmm1, dword [r8 - 8]
punpcklqdq xmm2, xmm0
xorps xmm0, xmm0
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
lea rax, [rcx - 0x358a]
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
movd dword [r8 - 8], xmm1
cmp rax, 0x20
jb 0x140085dd0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, [rbp - 0x69]
mov byte [rbp - 0x27], bl
call fcn.14008c660
mov rdx, r14
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x14008c840]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor al, al
mov r14, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0x138]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1401041f0
add rsp, 0xf8
pop r15
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0x38], rbx
lea rax, [rbp - 0x79]
mov qword [rsp + 0x30], rax
lea r8, [rbp - 0x69]
mov dword [rsp + 0x28], ebx
mov r9d, Ordinal_41
mov edx, 0x80862007
mov qword [rsp + 0x20], rbx
mov rcx, rsi
mov qword [rbp - 0x61], rbx
mov qword [rbp - 0x69], gethostname
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x51], rdi
mov qword [rbp - 0x49], listen
mov dword [rbp - 0x79], ebx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov qword [rsp + 0x38], rbx
lea r8, [rbp - 0x69]
test eax, eax
mov qword [rbp - 0x49], rbx
lea rax, [rbp - 0x79]
mov qword [rbp - 0x41], listen
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
mov dword [rsp + 0x28], ebx
mov r9d, Ordinal_50
mov edx, 0x80862007
mov qword [rsp + 0x20], rbx
mov rcx, rsi
mov qword [rbp - 0x69], reloc.WLDAP32.dll_Ordinal_26
setne r15b
mov qword [rbp - 0x51], rdi
movdqu xmmword [rbp - 0x61], xmm0
mov dword [rbp - 0x79], ebx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400861d1
movdqa xmm3, xmmword [0x1401b0b90]
mov ecx, 0x358a
movdqa xmm4, xmmword [0x1401b0d90]
mov r8d, 0x35ba
mov dword [rbp - 0x69], 0x35a535d8
mov dword [rbp - 0x65], 0x35a635d8
mov dword [rbp - 0x61], 0x35e935c1
mov dword [rbp - 0x5d], 0x35e635e0
mov dword [rbp - 0x59], 0x35e835ee
mov dword [rbp - 0x55], 0x35fa35ad
mov dword [rbp - 0x51], 0x35b035e0
mov dword [rbp - 0x4d], 0x35fc35e4
mov dword [rbp - 0x49], 0x35f535fe
mov dword [rbp - 0x45], 0x35b635e5
mov dword [rbp - 0x41], 0x35d735de
mov dword [rbp - 0x3d], 0x35e935b9
mov dword [rbp - 0x39], 0x35fd35eb
mov dword [rbp - 0x35], 0x35fb35fe
mov dword [rbp - 0x31], 0x35cf35bf
mov dword [rbp - 0x2d], 0x358235c7
mov dword [rbp - 0x29], 0x35cc35d3
mov dword [rbp - 0x25], 0x35d535dc
mov dword [rbp - 0x21], 0x35cb35ce
mov dword [rbp - 0x1d], 0x35c635c8
mov dword [rbp - 0x19], 0x35cd358b
mov dword [rbp - 0x15], 0x35ca35c9
mov dword [rbp - 0x11], 0x35d535dd
mov dword [rbp - 0xd], 0x35c135c2
mov dword [rbp - 9], 0x35843593
mov dword [rbp - 5], 0x35cd
mov byte [rbp - 1], 1
nop
movd xmm1, dword [rbp + rbx*2 - 0x69]
lea rax, [rcx - 5]
xorps xmm0, xmm0
movq xmm2, rbx
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
punpcklqdq xmm2, xmm2
paddq xmm2, xmm4
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
movq xmm2, rax
pshuflw xmm1, xmm0, 0xd8
lea rax, [rcx - 3]
movd dword [rbp + rbx*2 - 0x69], xmm1
xorps xmm0, xmm0
movd xmm1, dword [rbp + rbx*2 - 0x65]
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
punpcklqdq xmm2, xmm2
paddq xmm2, xmm3
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
movq xmm2, rax
pshuflw xmm1, xmm0, 0xd8
lea rax, [rcx - 1]
movd dword [rbp + rbx*2 - 0x65], xmm1
xorps xmm0, xmm0
movd xmm1, dword [rbp + rbx*2 - 0x61]
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
punpcklqdq xmm2, xmm2
paddq xmm2, xmm3
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
movq xmm2, rax
pshuflw xmm1, xmm0, 0xd8
movq xmm0, rcx
movd dword [rbp + rbx*2 - 0x61], xmm1
add rcx, 8
movd xmm1, dword [rbp + rbx*2 - 0x5d]
punpcklqdq xmm2, xmm0
xorps xmm0, xmm0
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
movd dword [rbp + rbx*2 - 0x5d], xmm1
add rbx, 8
cmp rcx, r8
jb 0x1400860a0
cmp rbx, 0x33
jae 0x1400861a1
mov ecx, 0x3583
nop dword [rax]
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x69], ax
inc rbx
cmp rbx, 0x33
jb 0x140086190
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, [rbp - 0x69]
mov byte [rbp - 1], 0
call fcn.14008c660
mov rdx, r14
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x14008c840]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
movzx eax, r15b
jmp 0x140085ef2
xor al, al
jmp 0x140085f02