Function at 0x445f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x5554b0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov ebp, ecx
push 0x400
lea ecx, [esp + 0x2c]
call fcn.0049f020
mov esi, vtable.cWCStr.0
mov dword [esp + 0x28], esi
xor ebx, ebx
push 0x400
lea ecx, [esp + 0x3c]
mov dword [esp + 0x64], ebx
call fcn.0049f020
mov dword [esp + 0x38], esi
push 0x400
lea ecx, [esp + 0x4c]
mov byte [esp + 0x64], 1
call fcn.0049f020
mov dword [esp + 0x48], esi
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
mov byte [esp + 0x68], 2
call fcn.004b84f0
add esp, 8
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
jne 0x445fb2
mov edx, dword [esp + 0x68]
push edx
mov ecx, ebp
call fcn.004455c0
mov bl, al
jmp 0x44615d
push 1
mov byte [esp + 0x24], 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [esp + 0x24], eax
mov byte [esp + 0x60], 3
mov dword [esp + 0x14], ebx
lea esp, [esp]
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov esi, eax
cmp esi, 4
je 0x446123
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push ecx
push eax
mov edi, eax
mov dword [esp + 0x28], ebx
call fcn.004bba30
mov ecx, dword [esp + 0x54]
add esp, 0x10
test eax, eax
je 0x44601d
mov eax, dword [esp + 0x18]
cmp eax, ecx
jge 0x44601d
cmp eax, 3
ja 0x446035
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x2c]
push ebx
push ecx
push edx
push eax
call fcn.004bb980
add esp, 0x10
test eax, eax
je 0x446080
mov eax, dword [esp + 0x3c]
mov edi, eax
cmp esi, 2
jne 0x446080
xor ecx, ecx
cmp word [eax], 0x41
sete cl
movzx edx, cx
push edx
call fcn.00519e45
add esp, 4
test ax, ax
jne 0x446123
mov ecx, dword [esp + 0x3c]
xor eax, eax
cmp word [ecx], 0x42
sete al
movzx edx, ax
push edx
call fcn.00519e45
add esp, 4
test ax, ax
jne 0x446123
mov ecx, 0x56b9a8
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4460ad
cmp dx, bx
je 0x4460a9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4460ad
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x446087
xor eax, eax
jmp 0x4460b2
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x446123
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x4c]
push eax
push edi
push ecx
call fcn.004301a0
add esp, 0xc
test al, al
jne 0x4460ef
mov edx, dword [ebp + 0x1a0]
push edi
push str.Error_in_getting_volume_root_directory
add edx, 0x138
push 0xdf
push edx
call fcn.0042f2c0
add esp, 0x10
jmp 0x446123
mov eax, dword [esp + 0x4c]
push eax
call fcn.004ba280
add esp, 4
test eax, eax
je 0x446123
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.00443470
add esp, 4
test al, al
jne 0x446123
mov edx, dword [esp + 0x4c]
push ebx
push edx
push ebx
mov ecx, ebp
call fcn.00445480
inc dword [esp + 0x14]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x1c]
push eax
push ecx
push esi
call fcn.004b85a0
add esp, 0xc
test eax, eax
jne 0x445fd0
push esi
call fcn.004b8660
mov edx, dword [esp + 0x28]
add esp, 4
cmp dword [esp + 0x14], ebx
push edx
setne bl
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov esi, vtable.cWCS.0
lea ecx, [esp + 0x48]
mov byte [esp + 0x60], 1
mov dword [esp + 0x48], esi
call fcn.0049ee80
lea ecx, [esp + 0x38]
mov byte [esp + 0x60], 0
mov dword [esp + 0x38], esi
call fcn.0049ee80
lea ecx, [esp + 0x28]
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x28], esi
call fcn.0049ee80
mov al, bl
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 4