Function at 0x44b7d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56260f
mov eax, dword fs:[0]
push eax
sub esp, 0x4a8
mov eax, dword [0x5cc5b0]
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
xor esi, esi
xor edi, edi
mov dword [ebp - 0x4b4], esi
mov dword [ebp - 0x4b0], edi
mov dword [ebp - 0x4ac], esi
lea eax, [ebp - 0x428]
mov dword [ebp - 4], edi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x44bb5c
mov edi, dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea esi, [ebp - 0x428]
lea ecx, [ecx]
movzx eax, word [esi]
test ax, ax
je 0x44bb50
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x220]
push 0x104
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x16], 0x3a
push eax
call edi
test eax, eax
je 0x44bb1f
xor eax, eax
mov dword [ebp - 0x460], 7
mov dword [ebp - 0x464], 0
mov word [ebp - 0x474], ax
cmp word [ebp - 0x18], ax
jne 0x44b898
xor ecx, ecx
jmp 0x44b8af
lea ecx, [ebp - 0x18]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44b8a0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x474]
call fcn.00441d80
xor eax, eax
mov dword [ebp - 0x448], 7
mov dword [ebp - 0x44c], 0
mov word [ebp - 0x45c], ax
mov dword [ebp - 0x430], 7
mov dword [ebp - 0x434], eax
mov word [ebp - 0x444], ax
mov dword [ebp - 0x42c], eax
push 1
push 0x5b75b4
lea ecx, [ebp - 0x474]
mov byte [ebp - 4], 2
call fcn.00441b90
cmp word [ebp - 0x220], 0
jne 0x44b91d
xor eax, eax
jmp 0x44b935
lea eax, [ebp - 0x220]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44b926
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x45c]
call fcn.00441d80
cmp word [ebp - 0x18], 0
jne 0x44b953
xor ecx, ecx
jmp 0x44b96f
lea ecx, [ebp - 0x18]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44b960
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x444]
call fcn.00441d80
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
jmp 0x44b990
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44b990
sub ecx, edx
lea eax, [ebp - 0x45c]
sar ecx, 1
mov dword [ebp - 0x42c], ecx
lea ecx, [ebp - 0x4b4]
push eax
call fcn.0044b540
cmp dword [ebp - 0x460], 8
lea eax, [ebp - 0x474]
cmovae eax, dword [ebp - 0x474]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
je 0x44ba9d
cmp eax, 4
je 0x44ba9d
xor eax, eax
mov dword [ebp - 0x478], 7
mov dword [ebp - 0x47c], 0
mov word [ebp - 0x48c], ax
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x4a4]
call fcn.0043e650
lea eax, [ebp - 0x48c]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x4a4]
push eax
call fcn.0044b600
add esp, 8
mov byte [ebp - 4], 3
cmp dword [ebp - 0x490], 8
mov bl, al
jb 0x44ba4e
push dword [ebp - 0x4a4]
call fcn.00503a69
add esp, 4
test bl, bl
je 0x44ba86
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x48c]
push eax
lea ecx, [ebp - 0x45c]
call fcn.00442140
mov eax, dword [ebp - 0x47c]
lea ecx, [ebp - 0x4b4]
mov dword [ebp - 0x42c], eax
lea eax, [ebp - 0x45c]
push eax
call fcn.0044b540
cmp dword [ebp - 0x478], 8
jb 0x44ba9d
push dword [ebp - 0x48c]
call fcn.00503a69
add esp, 4
cmp dword [ebp - 0x430], 8
jb 0x44bab4
push dword [ebp - 0x444]
call fcn.00503a69
add esp, 4
xor eax, eax
mov dword [ebp - 0x430], 7
cmp dword [ebp - 0x448], 8
mov dword [ebp - 0x434], 0
mov word [ebp - 0x444], ax
jb 0x44bae8
push dword [ebp - 0x45c]
call fcn.00503a69
add esp, 4
xor eax, eax
mov dword [ebp - 0x448], 7
cmp dword [ebp - 0x460], 8
mov dword [ebp - 0x44c], 0
mov word [ebp - 0x45c], ax
mov byte [ebp - 4], al
jb 0x44bb1f
push dword [ebp - 0x474]
call fcn.00503a69
add esp, 4
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44bb24
sub ecx, edx
sar ecx, 1
lea esi, [esi + ecx*2]
add esi, 2
lea ecx, [ebp - 0x428]
mov eax, esi
sub eax, ecx
sar eax, 1
cmp eax, 0x104
jb 0x44b840
mov edi, dword [ebp - 0x4b0]
mov esi, dword [ebp - 0x4b4]
push 0x5d3880
mov dword [ebp - 0x18], vtable.nfapi::AutoLock.0
mov dword [ebp - 0x14], 0x5d3880
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x4b4]
mov byte [ebp - 4], 5
push eax
mov ecx, 0x5d3874
call fcn.00446da0
push 0x5d3880
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x44bbb3
push dword [ebp - 0x14]
lea eax, [ebp - 0x4a5]
push eax
push edi
push esi
call fcn.00445c00
push esi
call fcn.00503a69
add esp, 0x14
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.00501f35
mov esp, ebp
pop ebp
ret