Function at 0x425940
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x4f22ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [0x4cf08c]
push ebx
push esi
mov word [ebp - 0x148], ax
xor ebx, ebx
mov al, byte [0x4cf08e]
push edi
mov edi, dword [0x53d91c]
mov byte [ebp - 0x146], al
cmp dword [0x53c3c0], ebx
jne 0x42599e
push str.Process_search_thread_is_not_started_
call fcn.004407e0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491940
mov esp, ebp
pop ebp
ret
cmp dword [0x53c3dc], ebx
jne 0x4259bd
push 0x344
push str.C:UsersgamerDownloads_rufus72_rufus_7_srcprocess.c
push str.blocking_process.hLock___NULL
call fcn.0049ed6b
add esp, 0xc
push 4
push 0x10
call fcn.0049570f
add esp, 8
mov dword [ebp - 0x14c], eax
test eax, eax
je 0x42598b
test edi, edi
js 0x425a28
cmp edi, 0x80
jb 0x4259e7
cmp edi, 0xc0
jbe 0x4259fe
push 0xe0
push str.C:UsersgamerDownloads_rufus72_rufus_7_srcdrive.c
push str._DriveIndex___DRIVE_INDEX_MIN____DriveIndex___DRIVE_INDEX_MAX_
call fcn.0049ed6b
add esp, 0xc
lea eax, [edi - 0x80]
cmp eax, 0x40
ja 0x425a28
push eax
push str..PhysicalDrive_lu
lea eax, [ebp - 0x1c]
push 0x18
push eax
call fcn.00403820
mov byte [ebp - 5], bl
lea eax, [ebp - 0x1c]
push eax
call fcn.0049f1d2
add esp, 0x14
jmp 0x425a2a
xor eax, eax
push 0x104
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x144], eax
push ecx
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x425ad5
cmp byte [ebp - 0x140], bl
jne 0x425a6c
push 2
push 1
call fcn.0049570f
add esp, 8
mov esi, eax
jmp 0x425ac2
push 0
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x140]
push eax
push 0
push 0xfde9
call esi
mov ebx, eax
cmp ebx, 1
jle 0x425ac0
push 2
push ebx
call fcn.0049570f
mov esi, eax
add esp, 8
test esi, esi
je 0x425ac0
push ebx
push esi
push 0xffffffffffffffff
lea eax, [ebp - 0x140]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0xfde9
call eax
cmp eax, ebx
je 0x425ac2
push esi
call fcn.004998ec
add esp, 4
xor esi, esi
mov eax, dword [ebp - 0x14c]
mov ebx, 1
mov dword [eax], esi
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push dword [ebp - 0x144]
call fcn.004998ec
add esp, 4
lea edx, [ebp - 0x38]
mov ecx, edi
push 0
call fcn.004056a0
lea edi, [ebp - 0x38]
add esp, 4
mov dword [ebp - 0x144], edi
jmp 0x425b00
mov al, byte [edi]
test al, al
je 0x425bc2
mov byte [ebp - 0x148], al
lea eax, [ebp - 0x140]
push 0x104
push eax
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
je 0x425bac
cmp byte [ebp - 0x140], 0
jne 0x425b46
push 2
push 1
call fcn.0049570f
add esp, 8
mov esi, eax
jmp 0x425ba2
push 0
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x140]
push eax
push 0
push 0xfde9
call esi
mov edi, eax
cmp edi, 1
jle 0x425b9a
push 2
push edi
call fcn.0049570f
mov esi, eax
add esp, 8
test esi, esi
je 0x425b9a
push edi
push esi
push 0xffffffffffffffff
lea eax, [ebp - 0x140]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0xfde9
call eax
cmp eax, edi
je 0x425b9c
push esi
call fcn.004998ec
add esp, 4
xor esi, esi
mov edi, dword [ebp - 0x144]
mov eax, dword [ebp - 0x14c]
mov dword [eax + ebx*4], esi
inc ebx
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
inc edi
mov dword [ebp - 0x144], edi
cmp ebx, 0x10
jb 0x425b00
push 0x7d0
push dword [0x53c3dc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x425c05
push str.Could_not_obtain_process_search_lock
call fcn.004407e0
add esp, 4
push dword [ebp - 0x14c]
call fcn.004998ec
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491940
mov esp, ebp
pop ebp
ret
mov eax, dword [0x53c3d8]
test eax, eax
je 0x425c31
xor esi, esi
cmp dword [0x53c3d4], esi
jbe 0x425c31
push dword [eax + esi*4]
call fcn.004998ec
mov eax, dword [0x53c3d8]
inc esi
add esp, 4
cmp esi, dword [0x53c3d4]
jb 0x425c18
push eax
call fcn.004998ec
mov eax, dword [ebp - 0x14c]
add esp, 4
inc dword [0x53c3cc]
mov dword [0x53c3d8], eax
mov dword [0x53c3d4], ebx
push dword [0x53c3e0]
mov dword [0x53c3c8], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x425c7e
call fcn.00440bb0
push eax
push str.Could_not_signal_start_event_to_process_search:__s
call fcn.004407e0
add esp, 8
push dword [0x53c3dc]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00491940
mov esp, ebp
pop ebp
ret