Function at 0x14005a1b0
Capabilities:
Create thread
Execute command

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x140072040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor r15d, r15d
lea rcx, [0x140067d3c]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.color_0b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.14004be60
test eax, eax
je 0x14005a44d
mov r8d, eax
xor edx, edx
mov ecx, 0x438
call qword [sym.imp.KERNEL32.dll_OpenProcess]
test rax, rax
je 0x14005a44d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
mov r8d, 3
lea rcx, str.._scsiport
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x140098df8], rax
test rax, rax
je 0x14005a44d
cmp rax, 0xffffffffffffffff
je 0x14005a44d
call fcn.14004be60
mov dword [0x140098de4], eax
mov qword [rbp + 0x17], r15
mov dword [rbp + 7], 0x9af2b37
mov dword [rbp + 0xb], eax
lea rax, [rbp + 0x17]
mov qword [rbp + 0xf], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
mov r9d, 0x10
lea r8, [rbp + 7]
mov edx, 0x22d158
mov rcx, qword [0x140098df8]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rax, qword [rbp + 0x17]
mov qword [0x140098e00], rax
mov qword [rbp + 0x27], r15
mov dword [rbp - 5], r15d
mov eax, dword [0x140098de4]
mov dword [rbp - 9], eax
lea rax, [rbp + 0x27]
mov qword [rbp - 1], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
mov r9d, 0x10
lea r8, [rbp - 9]
mov edx, 0x2359e0
mov rcx, qword [0x140098df8]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov ebx, r15d
mov edi, r15d
movss xmm6, dword [0x14006816c]
nop
movsxd rcx, edi
add rcx, qword [0x140098e00]
mov qword [0x140098df0], rcx
add rcx, 0x122ceee8
call fcn.14005b6c0
mov r14, rax
lea rcx, [rax + 0x30]
call fcn.14005b6c0
mov rsi, rax
mov qword [rbp + 0x27], r15
mov dword [rbp - 5], r15d
mov ecx, dword [0x140098de4]
mov dword [rbp - 9], ecx
lea rax, [rbp + 0x27]
mov qword [rbp - 1], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
mov r9d, 0x10
lea r8, [rbp - 9]
mov edx, 0x2359e0
mov rcx, qword [0x140098df8]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test r14, r14
je 0x14005a3b0
test rsi, rsi
je 0x14005a3b0
lea rcx, [rsi + 0xc0]
call fcn.14005b6c0
cmp rax, r14
je 0x14005a3c8
inc ebx
add edi, 0x1000
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
comiss xmm6, xmm0
ja 0x14005a320
mov ecx, 1
call fcn.14005d490
mov qword [rbp + 0x27], rax
lea rcx, [rbp + 0x1f]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x14005d120]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x17], rax
test rax, rax
je 0x14005a43d
cmp dword [rbp + 0x1f], 0
je 0x14005a431
movaps xmm0, xmmword [rbp + 0x17]
movdqa xmmword [rbp - 9], xmm0
lea rcx, [rbp - 9]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14005a431
call fcn.14004f2f0
call fcn.14004f570
call fcn.1400594d0
xor eax, eax
jmp 0x14005a452
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x1f], r15d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov eax, 0xffffffff
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14005d350
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret