Function at 0x14002cc10
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 [0x1401571f4]
xor ebx, ebx
cmp qword [0x1401e10e0], rbx
mov esi, ebx
mov ebp, dword [0x1401e2740]
mov word [rsp + 0x30], ax
movzx eax, byte [0x1401571f6]
mov byte [rsp + 0x32], al
jne 0x14002cc6a
lea rcx, str.Process_search_thread_is_not_started_
call fcn.14004f2f0
xor eax, eax
jmp 0x14002cf2e
cmp qword [0x1401e1108], rbx
mov qword [rsp + 0x1b0], r15
jne 0x14002cc94
mov r8d, 0x34b
lea rdx, str.D:_a_rufus_rufus_srcprocess.c
lea rcx, str.blocking_process.hLock___NULL
call fcn.1400fbe54
mov edx, 8
mov ecx, 0x10
call fcn.1400c4f6c
mov r15, rax
test rax, rax
je 0x14002ce98
mov qword [rsp + 0x1a0], rdi
mov ecx, ebp
mov qword [rsp + 0x1a8], r14
call fcn.140005f90
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 0x14002cd76
cmp byte [rsp + 0x60], bl
jne 0x14002cd00
mov edx, 2
mov ecx, 1
call fcn.1400c4f6c
mov rdi, rax
jmp 0x14002cd6e
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 0x14002cd6b
mov rcx, rsi
mov edx, 2
call fcn.1400c4f6c
mov rdi, rax
test rax, rax
je 0x14002cd6b
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 0x14002cd6e
mov rcx, rdi
call fcn.1400e8c70
mov rdi, rbx
mov qword [r15], rdi
mov esi, 1
mov rcx, r14
call fcn.1400e8c70
xor r8d, r8d
lea rdx, [rsp + 0x38]
mov ecx, ebp
call fcn.140007750
mov r14d, ebx
mov eax, r14d
movzx ecx, byte [rsp + rax + 0x38]
test cl, cl
je 0x14002ce5e
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 0x14002ce52
cmp byte [rsp + 0x60], bl
jne 0x14002cddc
mov edx, 2
mov ecx, 1
call fcn.1400c4f6c
mov rdi, rax
jmp 0x14002ce4a
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 0x14002ce47
mov rcx, rbp
mov edx, 2
call fcn.1400c4f6c
mov rdi, rax
test rax, rax
je 0x14002ce47
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 0x14002ce4a
mov rcx, rdi
call fcn.1400e8c70
mov rdi, rbx
mov eax, esi
inc esi
mov qword [r15 + rax*8], rdi
inc r14d
cmp esi, 0x10
jb 0x14002cd90
mov rcx, qword [0x1401e1108]
mov edx, 0x7d0
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r14, qword [rsp + 0x1a8]
mov rdi, qword [rsp + 0x1a0]
test eax, eax
je 0x14002ce9f
lea rcx, str.Could_not_obtain_process_search_lock
call fcn.14004f2f0
mov rcx, r15
call fcn.1400e8c70
xor eax, eax
jmp 0x14002cf26
mov rax, qword [0x1401e1100]
test rax, rax
je 0x14002cecf
cmp dword [0x1401e10fc], ebx
jbe 0x14002cecf
mov ecx, ebx
mov rcx, qword [rax + rcx*8]
call fcn.1400e8c70
mov rax, qword [0x1401e1100]
inc ebx
cmp ebx, dword [0x1401e10fc]
jb 0x14002ceb3
mov rcx, rax
call fcn.1400e8c70
mov rcx, qword [0x1401e1110]
inc dword [0x1401e10f4]
mov qword [0x1401e1100], r15
mov dword [0x1401e10fc], esi
mov dword [0x1401e10f0], 1
call qword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x14002cf19
call fcn.14004fba0
mov rdx, rax
lea rcx, str.Could_not_signal_start_event_to_process_search:__s
call fcn.14004f2f0
mov rcx, qword [0x1401e1108]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov r15, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400b2a30
add rsp, 0x180
pop rsi
pop rbp
pop rbx
ret