Function at 0x14005de40
Capabilities:
Create process on windows
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x140078038]
xor rax, rsp
mov qword [rbp + 0x4f], rax
lea rcx, [rbp + 0x2f]
call fcn.14005f2f0
nop
lea rcx, [rbp + 0x2f]
call fcn.140060c50
mov dword [rbp - 9], 0x128e128e
mov dword [rbp - 5], 0x1280129a
mov dword [rbp - 1], 0x12821289
mov dword [rbp + 3], 0x12df1284
mov dword [rbp + 7], 0x1280129f
mov dword [rbp + 0xb], 0x1297
xor esi, esi
mov byte [rbp + 0xf], 1
mov ecx, esi
mov edx, 0x12ea
nop dword [rax]
nop dword [rax + rax]
lea eax, [rdx + rcx]
xor word [rbp + rcx*2 - 9], ax
inc rcx
cmp rcx, 0xb
jb 0x14005dec0
mov byte [rbp + 0xf], sil
mov dword [rbp + 0x17], 0x129b1285
mov dword [rbp + 0x1b], 0x12831289
mov word [rbp + 0x1f], si
mov byte [rbp + 0x21], 1
mov rcx, rsi
nop
lea eax, [rdx + rcx]
xor word [rbp + rcx*2 + 0x17], ax
inc rcx
cmp rcx, 4
jb 0x14005def0
mov byte [rbp + 0x21], sil
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, [rbp - 9]
lea rdx, [rbp + 0x17]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov qword [rbp + 0x17], rsi
mov qword [rbp + 0x27], rsi
lea rdx, [rbp + 0x27]
lea rcx, [rbp + 0x17]
call fcn.14000b640
test al, al
je 0x14005dff1
lea rcx, str.Win32_PnPEntity
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
lea rcx, str.Rescan
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
mov rcx, qword [rbp + 0x27]
mov r10, qword [rcx]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov r8, rax
mov rdx, rbx
call qword [r10 + 0xc0]
test eax, eax
jns 0x14005dfa1
lea rdx, str.Failed_to_trigger_hardware_rescan.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
jmp 0x14005dfaf
lea rdx, str.___Hardware_rescan_triggered_successfully.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400012b0
lea rdx, [0x140001020]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbp + 0x27]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x17]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
nop
mov rdx, qword [rbp + 0x47]
cmp rdx, 8
jb 0x14005e034
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005e02f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005e02f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400612e0
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140061400
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret