Function at 0x448050
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471838
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x484008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.00401390
movzx eax, byte [0x4862c9]
test eax, eax
jne 0x4481d7
mov ecx, dword [ebp + 8]
call fcn.00401390
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4480ae
xor al, al
jmp 0x4482ed
mov ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x18]
call fcn.004028b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004012b0
push eax
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x4480e5
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x24]
jbe 0x448100
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004011d0
mov al, byte [ebp - 0xd]
jmp 0x4482ed
lea ecx, [ebp - 0x54]
call fcn.00444c20
mov byte [ebp - 4], 1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x14], 0
jmp 0x448125
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x28]
jae 0x448191
lea ecx, [ebp - 0x18]
call fcn.004012b0
mov ecx, dword [ebp - 0x14]
movsx edx, byte [eax + ecx]
test edx, edx
jne 0x44818f
lea ecx, [ebp - 0x18]
call fcn.004012b0
add eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x54]
call fcn.00445050
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x6c]
push edx
call fcn.004436e0
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x48]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401490
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
call fcn.004011d0
jmp 0x44811c
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x28]
jne 0x4481a2
mov dword [ebp - 0x3c], 1
jmp 0x4481a9
mov dword [ebp - 0x3c], 0
mov al, byte [ebp - 0x3c]
mov byte [ebp - 0xe], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.004011d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004011d0
mov al, byte [ebp - 0xe]
jmp 0x4482ed
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4481f1
xor al, al
jmp 0x4482ed
mov ecx, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00402860
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.004012b0
push eax
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x448228
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x2c]
jbe 0x448243
mov byte [ebp - 0xf], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004011d0
mov al, byte [ebp - 0xf]
jmp 0x4482ed
lea ecx, [ebp - 0x60]
call fcn.00444e60
mov byte [ebp - 4], 4
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x1c], 0
jmp 0x448268
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x30]
jae 0x4482b1
lea ecx, [ebp - 0x20]
call fcn.004012b0
mov ecx, dword [ebp - 0x1c]
movzx edx, word [eax + ecx*2]
test edx, edx
jne 0x4482af
lea ecx, [ebp - 0x20]
call fcn.004012b0
mov ecx, dword [ebp - 0x38]
lea edx, [eax + ecx*2]
push edx
lea ecx, [ebp - 0x60]
call fcn.00444ec0
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x60]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401490
jmp 0x44825f
mov edx, dword [ebp - 0x38]
cmp edx, dword [ebp - 0x30]
jne 0x4482c2
mov dword [ebp - 0x40], 1
jmp 0x4482c9
mov dword [ebp - 0x40], 0
mov al, byte [ebp - 0x40]
mov byte [ebp - 0x10], al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
call fcn.004011d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004011d0
mov al, byte [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4