Function at 0x44f960
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
mov word [ebp - 0x218], 0
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.00415680
add esp, 0xc
mov word [ebp - 0x420], 0
push 0x206
push 0
lea ecx, [ebp - 0x41e]
push ecx
call fcn.00415680
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x47818c
push 0x208
push 0x104
lea eax, [ebp - 0x218]
push eax
call fcn.004157ac
add esp, 0x14
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
lea edx, [ebp - 0x218]
push edx
call fcn.00414d31
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x44fa57
mov eax, dword [ebp - 0xc]
movzx ecx, word [ebp + eax*2 - 0x21a]
cmp ecx, 0x5c
je 0x44fa30
lea edx, [ebp - 0x218]
push edx
push 0x478194
push 0x208
push 0x104
lea eax, [ebp - 0x420]
push eax
call fcn.004157ac
add esp, 0x14
jmp 0x44fa55
lea ecx, [ebp - 0x218]
push ecx
push 0x47819c
push 0x208
push 0x104
lea edx, [ebp - 0x420]
push edx
call fcn.004157ac
add esp, 0x14
jmp 0x44fa5f
or eax, 0xffffffff
jmp 0x44fc8e
lea eax, [ebp - 0x420]
push eax
call fcn.00414d31
add esp, 4
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 0
jbe 0x44fb53
mov ecx, dword [ebp - 0x428]
mov dword [ebp - 0x42c], ecx
jmp 0x44fa9e
mov edx, dword [ebp - 0x42c]
add edx, 1
mov dword [ebp - 0x42c], edx
mov eax, dword [ebp - 0x42c]
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2]
test edx, edx
je 0x44fb53
mov eax, dword [ebp - 0x42c]
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2]
cmp edx, 0x2f
je 0x44fb43
mov eax, dword [ebp - 0x42c]
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2]
cmp edx, 0x3a
je 0x44fb43
mov eax, dword [ebp - 0x42c]
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2]
cmp edx, 0x2a
je 0x44fb43
mov eax, dword [ebp - 0x42c]
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2]
cmp edx, 0x3f
je 0x44fb43
mov eax, dword [ebp - 0x42c]
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2]
cmp edx, 0x22
je 0x44fb43
mov eax, dword [ebp - 0x42c]
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2]
cmp edx, 0x3c
je 0x44fb43
mov eax, dword [ebp - 0x42c]
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2]
cmp edx, 0x3e
je 0x44fb43
mov eax, dword [ebp - 0x42c]
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2]
cmp edx, 0x7c
jne 0x44fb4e
mov eax, dword [ebp - 0x42c]
jmp 0x44fc8e
jmp 0x44fa8f
mov dword [ebp - 8], 0
mov dword [ebp - 0x424], 0
cmp dword [ebp - 0x428], 0
jbe 0x44fc2d
mov eax, dword [ebp - 0x428]
sub eax, 1
mov dword [ebp - 0x424], eax
mov ecx, dword [ebp - 0x428]
sub ecx, 1
mov dword [ebp - 4], ecx
jmp 0x44fb97
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2]
test edx, edx
je 0x44fbf4
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2]
cmp edx, 0x5c
jne 0x44fbc5
cmp dword [ebp - 8], 0
je 0x44fbbc
jmp 0x44fb8e
mov dword [ebp - 8], 1
jmp 0x44fbcc
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x424]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov esi, dword [ebp + 8]
mov dx, word [esi + edx*2]
mov word [ecx + eax*2], dx
mov eax, dword [ebp - 0x424]
add eax, 1
mov dword [ebp - 0x424], eax
jmp 0x44fb8e
mov ecx, dword [ebp - 0x424]
mov dword [ebp - 0x430], ecx
jmp 0x44fc11
mov edx, dword [ebp - 0x430]
add edx, 1
mov dword [ebp - 0x430], edx
mov eax, dword [ebp - 0x430]
cmp eax, dword [ebp - 4]
jge 0x44fc2d
mov ecx, dword [ebp - 0x430]
mov edx, dword [ebp + 8]
mov word [edx + ecx*2], 0
jmp 0x44fc02
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x44fc8c
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
je 0x44fc8c
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
je 0x44fc8c
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 6
je 0x44fc8c
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
je 0x44fc8c
or eax, 0xffffffff
jmp 0x44fc8e
xor eax, eax
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret