Function at 0x42af26
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
push esi
movzx eax, byte [ebp + 0x3c]
test eax, eax
je 0x42afa1
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x68], eax
lea eax, [ebp + 0x40]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x42af8a
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
push 1
push 1
mov eax, dword [ebp - 0x70]
push dword [eax]
mov eax, dword [ebp - 0x40]
push dword [eax]
call fcn.0041e391
add esp, 0x10
jmp 0x42af9c
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x42af9c
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
jmp 0x42b148
lea eax, [ebp + 0x24]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x50], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax]
test eax, eax
je 0x42b05f
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x80]
mov eax, dword [eax]
shl eax, 4
mov ecx, dword [ebp - 0x60]
mov ecx, dword [ecx]
lea eax, [eax + ecx*8 + 0x4b6810]
mov ecx, dword [ebp - 0x8c]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + ecx*4]
mov dword [edx], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x24]
and eax, 0x4000000
je 0x42b05a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
or eax, 0x200
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
jmp 0x42b148
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jne 0x42b0d3
mov dword [ebp - 0x14], 1
jmp 0x42b0d7
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0
je 0x42b0e6
mov dword [ebp - 0x18], 1
jmp 0x42b0ea
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x18]
jge 0x42b0fd
mov dword [ebp - 0x7c], 1
jmp 0x42b101
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x9c], eax
mov esi, 0x8c00
inc esi
mov eax, dword [ebp - 0xc]
sub esi, dword [eax]
push 0
mov ecx, dword [ebp - 0x20]
call fcn.00413b23
mov dword [eax], esi
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0xa4], eax
push 0
mov ecx, dword [ebp - 0x20]
call fcn.00413b23
push 0
mov ecx, dword [ebp - 0x84]
call fcn.00413b23
and dword [eax], 0
pop esi
mov esp, ebp
pop ebp
ret