Function at 0x140025f40
Capabilities:
Get disk information

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x180
mov rax, qword [0x140106438]
xor rax, rsp
mov qword [rsp + 0x170], rax
movzx eax, word [0x1400d80d4]
xor ebx, ebx
cmp qword [0x140153650], rbx
mov esi, ebx
mov ebp, dword [0x140154ca4]
mov word [rsp + 0x30], ax
movzx eax, byte [0x1400d80d6]
mov byte [rsp + 0x32], al
jne 0x140025f9a
lea rcx, str.Process_search_thread_is_not_started_
call fcn.140041aa0
xor eax, eax
jmp 0x14002625c
cmp qword [0x140153678], rbx
mov qword [rsp + 0x1b0], r15
jne 0x140025fc4
mov r8d, 0x34b
lea rdx, str.C:_src_r3dusb_srcprocess.c
lea rcx, str.blocking_process.hLock___NULL
call fcn.1400a15c4
mov edx, 8
lea ecx, [rdx + 8]
call fcn.1400966e0
mov r15, rax
test rax, rax
je 0x1400261c6
mov qword [rsp + 0x1a0], rdi
mov ecx, ebp
mov qword [rsp + 0x1a8], r14
call fcn.140003f00
mov r8d, 0x104
lea rdx, [rsp + 0x60]
mov r14, rax
lea rcx, [rax + 4]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
je 0x1400260a2
cmp byte [rsp + 0x60], bl
jne 0x14002602c
mov edx, 2
lea ecx, [rdx - 1]
call fcn.1400966e0
mov rdi, rax
jmp 0x14002609a
mov dword [rsp + 0x28], ebx
lea r8, [rsp + 0x60]
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rbx
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rsi, eax
cmp esi, 1
jle 0x140026097
mov rcx, rsi
mov edx, 2
call fcn.1400966e0
mov rdi, rax
test rax, rax
je 0x140026097
mov dword [rsp + 0x28], esi
lea r8, [rsp + 0x60]
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x14002609a
mov rcx, rdi
call fcn.14009b5a0
mov rdi, rbx
mov qword [r15], rdi
mov esi, 1
mov rcx, r14
call fcn.14009b5a0
xor r8d, r8d
lea rdx, [rsp + 0x38]
mov ecx, ebp
call fcn.1400052b0
mov r14d, ebx
nop dword [rax]
mov eax, r14d
movzx ecx, byte [rsp + rax + 0x38]
test cl, cl
je 0x14002618c
mov byte [rsp + 0x30], cl
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
je 0x140026180
cmp byte [rsp + 0x60], bl
jne 0x14002610a
mov edx, 2
lea ecx, [rdx - 1]
call fcn.1400966e0
mov rdi, rax
jmp 0x140026178
mov dword [rsp + 0x28], ebx
lea r8, [rsp + 0x60]
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rbx
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbp, eax
cmp ebp, 1
jle 0x140026175
mov rcx, rbp
mov edx, 2
call fcn.1400966e0
mov rdi, rax
test rax, rax
je 0x140026175
mov dword [rsp + 0x28], ebp
lea r8, [rsp + 0x60]
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebp
je 0x140026178
mov rcx, rdi
call fcn.14009b5a0
mov rdi, rbx
mov eax, esi
inc esi
mov qword [r15 + rax*8], rdi
inc r14d
cmp esi, 0x10
jb 0x1400260c0
mov rcx, qword [0x140153678]
mov edx, 0x7d0
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r14, qword [rsp + 0x1a8]
mov rdi, qword [rsp + 0x1a0]
test eax, eax
je 0x1400261cd
lea rcx, str.Could_not_obtain_process_search_lock
call fcn.140041aa0
mov rcx, r15
call fcn.14009b5a0
xor eax, eax
jmp 0x140026254
mov rax, qword [0x140153670]
test rax, rax
je 0x1400261fd
cmp dword [0x14015366c], ebx
jbe 0x1400261fd
mov ecx, ebx
mov rcx, qword [rax + rcx*8]
call fcn.14009b5a0
mov rax, qword [0x140153670]
inc ebx
cmp ebx, dword [0x14015366c]
jb 0x1400261e1
mov rcx, rax
call fcn.14009b5a0
mov rcx, qword [0x140153680]
inc dword [0x140153664]
mov qword [0x140153670], r15
mov dword [0x14015366c], esi
mov dword [0x140153660], 1
call qword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x140026247
call fcn.140041e50
mov rdx, rax
lea rcx, str.Could_not_signal_start_event_to_process_search:__s
call fcn.140041aa0
mov rcx, qword [0x140153678]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov r15, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140092060
add rsp, 0x180
pop rsi
pop rbp
pop rbx
ret