Function at 0x42dec2
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x42def9
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x4c], eax
push 1
push dword [ebp - 0x4c]
push 0x2bac
push dword [ebp - 0x44]
call fcn.0042e0e6
add esp, 0x10
jmp 0x42e0e2
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x7c], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x8c]
movzx eax, byte [eax]
test eax, eax
je 0x42e0da
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0x4c38
jge 0x42dfc6
mov dword [ebp - 0x24], 1
jmp 0x42dfca
and dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 0xfffffffd
jne 0x42dfe1
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x42dfe1
mov dword [ebp - 0x3c], 1
jmp 0x42dfe5
and dword [ebp - 0x3c], 0
cmp dword [ebp - 0x3c], 9
jb 0x42dff4
mov dword [ebp - 0x18], 1
jmp 0x42dff8
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
sub eax, dword [ecx]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
sub ecx, dword [ebp - 0x18]
add eax, ecx
mov ecx, dword [ebp - 0x10]
sub eax, dword [ecx]
mov ecx, dword [ebp - 0x14]
sub eax, dword [ecx]
jne 0x42e02c
mov dword [ebp - 0x34], 1
jmp 0x42e030
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
cmp dword [ebp - 0x34], eax
jle 0x42e04f
xor eax, eax
je 0x42e04f
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x42e04f
mov dword [ebp - 0x2c], 1
jmp 0x42e053
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
lea eax, [eax + ecx + 0x7ba2e7b3]
mov ecx, dword [ebp - 0x1c]
imul eax, dword [ecx]
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx]
jl 0x42e082
mov dword [ebp - 0x20], 1
jmp 0x42e086
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 1
jl 0x42e095
mov dword [ebp - 0x28], 1
jmp 0x42e099
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x28]
jl 0x42e0ac
mov dword [ebp - 0x30], 1
jmp 0x42e0b0
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x30], eax
jge 0x42e0c3
mov dword [ebp - 0x40], 1
jmp 0x42e0c7
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
imul eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x90]
mov dword [ecx], eax
jmp 0x42e0e2
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov esp, ebp
pop ebp
ret