Function at 0x447c90
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9480
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4f52c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
xor edi, edi
mov dword [ebp - 0x30], esi
cmp dword [eax - 0xc], edi
je 0x447d26
add eax, 0xfffffff0
call fcn.00404350
lea ebx, [eax + 0x10]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], edi
cmp dword [ebx - 4], 1
jle 0x447cf0
mov eax, dword [ebx - 0xc]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.00401de0
mov ebx, dword [ebp - 0x28]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x447d2d
lea eax, [ebx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x447d26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x447fd2
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathSkipRootW]
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
call fcn.00401d40
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
cmp dword [ecx - 0xc], edi
jl 0x447da7
push 0x4ca834
push ecx
call fcn.0049c5e1
mov ecx, dword [ebp - 0x24]
add esp, 8
cmp eax, edi
je 0x447da7
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x447da7
lea eax, [ecx - 0x10]
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x447d8b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x447d1a
mov dword [ebp - 0x20], 0x3a002f
mov dword [ebp - 0x1c], 0x3f002a
mov dword [ebp - 0x18], 0x3c0022
mov dword [ebp - 0x14], 0x7c003e
xor esi, esi
movzx eax, word [ebp + esi*2 - 0x20]
cmp dword [ecx - 0xc], edi
jle 0x447de9
push eax
push ecx
call fcn.0049b056
mov ecx, dword [ebp - 0x24]
add esp, 8
cmp eax, edi
je 0x447de9
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
jne 0x447e64
inc esi
cmp esi, 8
jb 0x447dc5
lea ecx, [ebp - 0x2c]
push ecx
push ecx
lea esi, [ebx - 0x10]
mov dword [ebp - 0x2c], edi
mov eax, esi
mov dword [ebp - 0x34], esp
mov edi, esp
call fcn.00404350
add eax, 0x10
mov dword [edi], eax
call fcn.00421d70
add esp, 8
test eax, eax
jne 0x447e7d
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x447e39
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447d26
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
xor eax, eax
jmp 0x447fd2
lea eax, [ecx - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x447d7f
cmp dword [ebp - 0x2c], 0x64
jge 0x447ed1
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447ea6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447d26
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
xor eax, eax
jmp 0x447fd2
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0xc8
jle 0x447f2d
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447f02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447d26
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
xor eax, eax
jmp 0x447fd2
mov eax, ebx
lea edi, [ebp - 0x28]
call fcn.00404260
mov esi, dword [ebp - 0x28]
cmp dword [esi - 4], 1
jle 0x447f4f
mov eax, dword [esi - 0xc]
push eax
mov ecx, edi
push ecx
call fcn.00401de0
mov esi, dword [ebp - 0x28]
push esi
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
xor eax, eax
test esi, esi
setne al
test eax, eax
jne 0x447f6b
push 0x80004005
call fcn.00402be0
mov eax, dword [ebx]
push esi
push eax
call fcn.0049ae11
add esp, 8
test eax, eax
jne 0x447f87
mov edx, 0x4ca7dc
mov eax, ebx
call fcn.00418680
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x447faa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447fcd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049908b
mov esp, ebp
pop ebp
ret