Function at 0x446d48
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405fdc
xor eax, eax
push ebp
push 0x446f7e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test eax, eax
je 0x446d8f
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x446d8f
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.00405608
test eax, eax
je 0x446d98
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x446dbd
mov byte [ebp - 9], 0
or edx, 0xffffffff
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xe0]
mov eax, ebx
mov si, 0xffb0
call fcn.00404498
jmp 0x446f4e
mov eax, dword [ebp - 4]
push eax
mov eax, ebx
call fcn.0046d87c
or ecx, 0xffffffff
mov edx, 0x14c
call fcn.00409800
mov esi, eax
cmp esi, 0xffffffff
setne byte [ebp - 9]
cmp byte [ebp - 9], 0
je 0x446f4e
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xdc]
cmp esi, eax
setne byte [ebp - 0xa]
cmp byte [ebx + 0x2f0], 0
je 0x446e28
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x29c]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
je 0x446e28
push 0
push 0
push 0x14f
mov eax, ebx
call fcn.0046d87c
push eax
call sub.KERNEL32.DLL_GetVolumeInformationW
push 0
push esi
push 0x14e
mov eax, ebx
call fcn.0046d87c
push eax
call sub.KERNEL32.DLL_GetVolumeInformationW
movzx eax, byte [ebx + 0x2d6]
sub al, 2
jae 0x446f18
lea ecx, [ebp - 8]
mov edx, esi
mov eax, dword [ebx + 0x29c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
test eax, eax
je 0x446e79
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x446e79
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.00405608
mov esi, eax
test esi, esi
je 0x446e84
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp - 0x14]
push eax
lea edx, [esi + 1]
mov ecx, 0x7fffffff
mov eax, dword [ebp - 8]
call fcn.00406658
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.004063d8
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.00464f74
mov eax, ebx
call fcn.0046d87c
mov edi, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x446ed6
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x446ed6
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.00405608
mov esi, eax
test esi, esi
je 0x446ee1
sub esi, 4
mov esi, dword [esi]
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00464f3c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x446efd
sub eax, 4
mov eax, dword [eax]
movzx edx, si
movzx eax, ax
shl eax, 0x10
or edx, eax
push edx
push 0
push 0x142
push edi
call sub.KERNEL32.DLL_GetVolumeInformationW
jmp 0x446f32
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xe0]
lea eax, [ebx + 0x2d0]
mov edx, dword [ebp - 4]
call fcn.00405ff4
cmp byte [ebp - 0xa], 0
je 0x446f4e
mov eax, ebx
mov si, 0xffeb
call fcn.00404498
mov eax, ebx
mov si, 0xffaf
call fcn.00404498
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x446f85
lea eax, [ebp - 0x18]
call fcn.00405fe4
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00405fec
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405fec
ret