Function at 0x4b0274
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040520c
xor eax, eax
push ebp
push 0x4b078a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404db0
mov dword [ebp - 0x34], 0xff
mov eax, dword [ebp - 0x34]
call fcn.004094e8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x34]
call fcn.004094e8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x34]
call fcn.004094e8
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x40]
mov ecx, 0x4b07a0
mov edx, dword [ebp - 4]
call fcn.00405068
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x24]
call fcn.0040a968
xor eax, eax
push ebp
push 0x4b0760
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 6
ja case.default.0x4b031a
jmp dword [eax*4 + 0x4b0321]
mov eax, dword [ebp - 8]
mov byte [eax + 4], 0
jmp case.default.0x4b031a
mov eax, dword [ebp - 8]
mov byte [eax + 4], 1
jmp case.default.0x4b031a
mov eax, dword [ebp - 8]
mov byte [eax + 4], 2
jmp case.default.0x4b031a
mov eax, dword [ebp - 8]
mov byte [eax + 4], 3
jmp case.default.0x4b031a
mov eax, dword [ebp - 8]
mov byte [eax + 4], 4
jmp case.default.0x4b031a
mov eax, dword [ebp - 8]
mov byte [eax + 4], 5
jmp case.default.0x4b031a
mov eax, dword [ebp - 8]
mov byte [eax + 4], 6
mov eax, dword [ebp - 8]
mov dx, word [0x4b07a4]
mov word [eax + 5], dx
mov eax, dword [ebp - 4]
call fcn.004b015c
test al, al
je 0x4b06d5
mov eax, dword [ebp - 8]
add eax, 0x14
push eax
mov eax, dword [ebp - 8]
add eax, 0x10
push eax
mov eax, dword [ebp - 8]
add eax, 0xc
push eax
mov eax, dword [ebp - 8]
add eax, 8
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
xor eax, eax
push ebp
push 0x4b0421
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 8
call fcn.00402b58
mov ebx, eax
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [0x4e7948]
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x20], edx
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x28], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x2c], edx
mov edx, 8
mov eax, ebx
call fcn.00402b88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b0467
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 8]
add eax, 0x18
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x4b073a
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x28]
call fcn.00404f54
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 8]
add eax, 0x30
mov ecx, 0xff
call fcn.00404ff8
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x2c]
call fcn.00404f54
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 8]
add eax, 0x230
mov ecx, 0xff
call fcn.00404ff8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x3c]
mov eax, 8
call fcn.00409d8c
lea eax, [ebp - 0x50]
push eax
mov ecx, 4
mov edx, 1
mov eax, dword [ebp - 0x3c]
call fcn.0040527c
push dword [ebp - 0x50]
push 0x4b07b0
lea eax, [ebp - 0x54]
push eax
mov ecx, 4
mov edx, 5
mov eax, dword [ebp - 0x3c]
call fcn.0040527c
push dword [ebp - 0x54]
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.004050dc
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 8]
add eax, 0x130
mov ecx, 0xff
call fcn.00404ff8
mov eax, dword [ebp - 0x38]
and eax, 1
cmp eax, 1
jne 0x4b0565
mov eax, dword [ebp - 8]
mov ax, word [eax + 5]
or ax, word [0x4b07b4]
mov edx, dword [ebp - 8]
mov word [edx + 5], ax
mov eax, dword [ebp - 0x38]
and eax, 2
cmp eax, 2
jne 0x4b0585
mov eax, dword [ebp - 8]
mov ax, word [eax + 5]
or ax, word [0x4b07b8]
mov edx, dword [ebp - 8]
mov word [edx + 5], ax
mov eax, dword [ebp - 0x38]
and eax, 4
cmp eax, 4
jne 0x4b05a5
mov eax, dword [ebp - 8]
mov ax, word [eax + 5]
or ax, word [0x4b07bc]
mov edx, dword [ebp - 8]
mov word [edx + 5], ax
mov eax, dword [ebp - 0x38]
and eax, 8
cmp eax, 8
jne 0x4b05c5
mov eax, dword [ebp - 8]
mov ax, word [eax + 5]
or ax, word [0x4b07c0]
mov edx, dword [ebp - 8]
mov word [edx + 5], ax
mov eax, dword [ebp - 0x38]
and eax, 0x8000
cmp eax, 0x8000
jne 0x4b05e9
mov eax, dword [ebp - 8]
mov ax, word [eax + 5]
or ax, word [0x4b07c4]
mov edx, dword [ebp - 8]
mov word [edx + 5], ax
mov eax, dword [ebp - 0x38]
and eax, 0x10
cmp eax, 0x10
jne 0x4b0609
mov eax, dword [ebp - 8]
mov ax, word [eax + 5]
or ax, word [0x4b07c8]
mov edx, dword [ebp - 8]
mov word [edx + 5], ax
cmp dword [ebp - 0x30], 0xff
jne 0x4b0627
mov eax, dword [ebp - 8]
mov ax, word [eax + 5]
or ax, word [0x4b07cc]
mov edx, dword [ebp - 8]
mov word [edx + 5], ax
mov eax, dword [ebp - 0x38]
and eax, 0x20
cmp eax, 0x20
jne 0x4b0647
mov eax, dword [ebp - 8]
mov ax, word [eax + 5]
or ax, word [0x4b07d0]
mov edx, dword [ebp - 8]
mov word [edx + 5], ax
mov eax, dword [ebp - 0x38]
and eax, 0x40
cmp eax, 0x40
jne 0x4b0667
mov eax, dword [ebp - 8]
mov ax, word [eax + 5]
or ax, word [0x4b07d4]
mov edx, dword [ebp - 8]
mov word [edx + 5], ax
mov eax, dword [ebp - 0x38]
and eax, 0x80
cmp eax, 0x80
jne 0x4b068b
mov eax, dword [ebp - 8]
mov ax, word [eax + 5]
or ax, word [0x4b07d8]
mov edx, dword [ebp - 8]
mov word [edx + 5], ax
mov eax, dword [ebp - 0x38]
and eax, 0x100
cmp eax, 0x100
jne 0x4b06af
mov eax, dword [ebp - 8]
mov ax, word [eax + 5]
or ax, word [0x4b07dc]
mov edx, dword [ebp - 8]
mov word [edx + 5], ax
mov eax, dword [ebp - 0x38]
and eax, 0x200
cmp eax, 0x200
jne 0x4b073a
mov eax, dword [ebp - 8]
mov ax, word [eax + 5]
or ax, word [0x4b07e0]
mov edx, dword [ebp - 8]
mov word [edx + 5], ax
jmp 0x4b073a
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 8], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 8]
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov eax, dword [ebp - 8]
mov byte [eax + 0x30], 0
mov eax, dword [ebp - 8]
mov byte [eax + 0x130], 0
mov eax, dword [ebp - 8]
mov byte [eax + 0x230], 0
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x18], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b0767
mov eax, dword [ebp - 0x28]
call fcn.00402b88
mov eax, dword [ebp - 0x2c]
call fcn.00402b88
mov eax, dword [ebp - 0x24]
call fcn.00402b88
ret