Function at 0x14002cb10
Capabilities:
Get disk information

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x180
mov rax, qword [0x140193440]
xor rax, rsp
mov qword [rsp + 0x170], rax
movzx eax, word [0x140157174]
xor ebx, ebx
cmp qword [0x1401e1130], rbx
mov esi, ebx
mov ebp, dword [0x1401e2790]
mov word [rsp + 0x30], ax
movzx eax, byte [0x140157176]
mov byte [rsp + 0x32], al
jne 0x14002cb6a
lea rcx, str.Process_search_thread_is_not_started_
call fcn.14004f910
xor eax, eax
jmp 0x14002ce2c
cmp qword [0x1401e1158], rbx
mov qword [rsp + 0x1b0], r15
jne 0x14002cb94
mov r8d, 0x34b
lea rdx, str.D:_a_rufus_rufus_srcprocess.c
lea rcx, str.blocking_process.hLock___NULL
call fcn.1400fc264
mov edx, 8
lea ecx, [rdx + 8]
call fcn.1400c537c
mov r15, rax
test rax, rax
je 0x14002cd96
mov qword [rsp + 0x1a0], rdi
mov ecx, ebp
mov qword [rsp + 0x1a8], r14
call fcn.140005900
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 0x14002cc72
cmp byte [rsp + 0x60], bl
jne 0x14002cbfc
mov edx, 2
lea ecx, [rdx - 1]
call fcn.1400c537c
mov rdi, rax
jmp 0x14002cc6a
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 0x14002cc67
mov rcx, rsi
mov edx, 2
call fcn.1400c537c
mov rdi, rax
test rax, rax
je 0x14002cc67
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 0x14002cc6a
mov rcx, rdi
call fcn.1400e9080
mov rdi, rbx
mov qword [r15], rdi
mov esi, 1
mov rcx, r14
call fcn.1400e9080
xor r8d, r8d
lea rdx, [rsp + 0x38]
mov ecx, ebp
call fcn.1400070a0
mov r14d, ebx
nop dword [rax]
mov eax, r14d
movzx ecx, byte [rsp + rax + 0x38]
test cl, cl
je 0x14002cd5c
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 0x14002cd50
cmp byte [rsp + 0x60], bl
jne 0x14002ccda
mov edx, 2
lea ecx, [rdx - 1]
call fcn.1400c537c
mov rdi, rax
jmp 0x14002cd48
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 0x14002cd45
mov rcx, rbp
mov edx, 2
call fcn.1400c537c
mov rdi, rax
test rax, rax
je 0x14002cd45
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 0x14002cd48
mov rcx, rdi
call fcn.1400e9080
mov rdi, rbx
mov eax, esi
inc esi
mov qword [r15 + rax*8], rdi
inc r14d
cmp esi, 0x10
jb 0x14002cc90
mov rcx, qword [0x1401e1158]
mov edx, 0x7d0
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r14, qword [rsp + 0x1a8]
mov rdi, qword [rsp + 0x1a0]
test eax, eax
je 0x14002cd9d
lea rcx, str.Could_not_obtain_process_search_lock
call fcn.14004f910
mov rcx, r15
call fcn.1400e9080
xor eax, eax
jmp 0x14002ce24
mov rax, qword [0x1401e1150]
test rax, rax
je 0x14002cdcd
cmp dword [0x1401e114c], ebx
jbe 0x14002cdcd
mov ecx, ebx
mov rcx, qword [rax + rcx*8]
call fcn.1400e9080
mov rax, qword [0x1401e1150]
inc ebx
cmp ebx, dword [0x1401e114c]
jb 0x14002cdb1
mov rcx, rax
call fcn.1400e9080
mov rcx, qword [0x1401e1160]
inc dword [0x1401e1144]
mov qword [0x1401e1150], r15
mov dword [0x1401e114c], esi
mov dword [0x1401e1140], 1
call qword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x14002ce17
call fcn.140050120
mov rdx, rax
lea rcx, str.Could_not_signal_start_event_to_process_search:__s
call fcn.14004f910
mov rcx, qword [0x1401e1158]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov r15, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400b1f80
add rsp, 0x180
pop rsi
pop rbp
pop rbx
ret