Function at 0x427723
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
push esi
movzx eax, byte [ebp + 0x44]
test eax, eax
je 0x42792d
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x68], eax
lea eax, [ebp + 0x48]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp + 0x5c]
mov dword [ebp - 0xe8], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x50]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xc0]
movzx eax, byte [eax]
test eax, eax
je 0x4278f7
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xf0]
movzx eax, byte [eax]
test eax, eax
je 0x4278ef
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov dword [eax], 1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
push 0
mov ecx, dword [ebp - 8]
call fcn.00438351
cmp esi, dword [eax]
jle 0x42786c
mov dword [ebp - 0x44], 1
jmp 0x427870
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x108]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x44]
je 0x427886
mov dword [ebp - 0x34], 1
jmp 0x42788a
and dword [ebp - 0x34], 0
imul eax, dword [ebp - 0x34], 0xfffffffd
imul esi, eax, 0x1b71
neg esi
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.00438351
cmp esi, dword [eax]
jle 0x4278b0
mov dword [ebp - 0x24], 1
jmp 0x4278b4
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.00438351
mov esi, dword [ebp - 0x24]
imul esi, dword [eax]
push 0
mov ecx, dword [ebp - 8]
call fcn.00438351
cmp esi, dword [eax]
jne 0x4278de
mov dword [ebp - 0x18], 1
jmp 0x4278e2
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
jmp 0x4278f5
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
jmp 0x427928
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0xa8], eax
push 1
push 0x2111
push dword [ebp - 0xa8]
push 0
push 1
push 0x71d9
push 0x68d4
push 1
call fcn.0042ce40
add esp, 0x20
jmp 0x427cd3
lea eax, [ebp + 0x58]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp + 0x64]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x128], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp + 0x4c]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp + 0x60]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x110]
movzx eax, byte [eax]
test eax, eax
je 0x427c90
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x427aa6
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x427a87
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 4
jge 0x427aa1
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x74]
call fcn.00438351
and dword [eax], 0
jmp 0x427a7c
jmp 0x427c8e
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x11c]
mov eax, dword [eax]
mov dword [ebp - 0x12c], eax
push 1
mov ecx, dword [ebp - 0x124]
call fcn.00438351
mov ecx, dword [ebp - 0x12c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0
jne 0x427bcb
mov dword [ebp - 0x10], 1
jmp 0x427bcf
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
cmp dword [ebp - 0x10], 0
jne 0x427bee
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0
jne 0x427bee
and dword [ebp - 0x3c], 0
jmp 0x427bf5
mov dword [ebp - 0x3c], 1
push 0
mov ecx, dword [ebp - 0x38]
call fcn.00438351
mov eax, dword [eax]
cmp eax, dword [ebp - 0x3c]
jge 0x427c0f
mov dword [ebp - 0x1c], 1
jmp 0x427c13
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add eax, dword [ebp - 0x1c]
jns 0x427c29
mov dword [ebp - 0x13c], 1
jmp 0x427c30
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x28]
mov esi, dword [eax]
mov eax, dword [ebp - 0x30]
push dword [eax]
mov ecx, dword [ebp - 0x38]
call fcn.00438351
cmp dword [eax], esi
jne 0x427c64
mov dword [ebp - 0x40], 1
jmp 0x427c68
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
imul eax, dword [ebp - 0x40]
cmp eax, 1
jle 0x427c7f
mov dword [ebp - 0x48], 1
jmp 0x427c83
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x144]
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
jmp 0x427cd3
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x154], eax
push 0x36d1
push 1
push 0x2008
push 1
push 0x79cd
push 0x2b0a
push 1
push 0x5514
push 0x7e91
push 0x102c
push dword [ebp - 0x154]
call fcn.00411638
add esp, 0x2c
pop esi
mov esp, ebp
pop ebp
ret