Function at 0x444df0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51ff76
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x579630]
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 edx, dword [ebp + 0xc]
xor eax, eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
mov word [ebp - 0x238], ax
cmp word [edx], ax
jne 0x444e54
xor ecx, ecx
jmp 0x444e6f
mov ecx, edx
lea edi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x444e60
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x238]
call fcn.00407750
lea eax, [ebp - 0x238]
mov dword [ebp - 4], 0
push eax
call fcn.004441e0
add esp, 4
test al, al
je 0x444e9d
mov bl, 1
jmp 0x445154
xor eax, eax
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], ax
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 2
push eax
push esi
call fcn.00430460
add esp, 8
test al, al
je 0x44511e
cmp byte [0x57dba1], 0
je 0x444f0e
cmp dword [ebp - 0x23c], 8
lea eax, [ebp - 0x250]
push 9
cmovae eax, dword [ebp - 0x250]
push str.DeviceSftVol_
push eax
call fcn.004208a2
add esp, 0xc
test eax, eax
jne 0x444f0e
mov bl, 1
jmp 0x445120
mov edx, dword [ebp - 0x224]
lea eax, [ebp - 0x238]
mov esi, dword [ebp - 0x238]
cmp edx, 8
mov ecx, dword [ebp - 0x228]
cmovae eax, esi
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x444f88
cmp ecx, 1
jbe 0x444f4d
cmp edx, 8
lea eax, [ebp - 0x238]
cmovae eax, esi
cmp word [eax + ecx*2 - 4], 0x3a
je 0x444f88
lea eax, [ecx - 1]
push eax
push 0
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x238]
call fcn.00407cc0
push eax
lea ecx, [ebp - 0x238]
call fcn.00407e20
lea ecx, [ebp - 0x26c]
call fcn.004087d0
mov edx, dword [ebp - 0x224]
mov esi, dword [ebp - 0x238]
cmp edx, 8
lea ecx, [ebp - 0x238]
lea eax, [ebp - 0x250]
cmovae ecx, esi
cmp dword [ebp - 0x23c], 8
push ecx
cmovae eax, dword [ebp - 0x250]
push eax
call fcn.00409df7
add esp, 8
test eax, eax
jne 0x444fbd
mov bl, 1
jmp 0x445120
push 1
push 0
lea eax, [ebp - 0x254]
mov dword [ebp - 0x254], 0x3a
push eax
lea ecx, [ebp - 0x238]
call fcn.0040cdd0
mov edi, eax
test edi, edi
je 0x44511e
cmp edi, 0xffffffff
je 0x44511e
cmp edi, 1
jbe 0x445015
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
cmp word [eax + edi*2 - 4], 0x5c
jne 0x44511e
xor eax, eax
cmp dword [ebp - 0x224], 8
mov word [ebp - 0x18], ax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push 4
lea eax, [eax + edi*2]
add eax, 0xfffffffe
push eax
lea eax, [ebp - 0x18]
push 8
push eax
call fcn.004241e2
add esp, 0x10
test eax, eax
jne 0x44511e
push 0x104
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
cmp eax, 2
jb 0x44511e
cmp eax, 0x104
je 0x44511e
lea esi, [ebp - 0x220]
lea ecx, [esi + 2]
jmp 0x445090
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x445090
mov eax, dword [ebp - 0x228]
sub esi, ecx
sub eax, edi
sar esi, 1
dec eax
add eax, esi
cmp eax, dword [ebp - 0x240]
jne 0x44511e
cmp dword [ebp - 0x23c], 8
lea ecx, [ebp - 0x220]
push esi
lea eax, [ebp - 0x250]
cmovae eax, dword [ebp - 0x250]
push ecx
push eax
call fcn.004208a2
add esp, 0xc
test eax, eax
jne 0x44511e
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
lea ecx, [ebp - 0x250]
cmovae eax, dword [ebp - 0x238]
cmp dword [ebp - 0x23c], 8
cmovae ecx, dword [ebp - 0x250]
lea eax, [eax + edi*2]
add eax, 2
push eax
lea eax, [ecx + esi*2]
push eax
call fcn.00409df7
add esp, 8
test eax, eax
jne 0x44511e
mov bl, 1
jmp 0x445120
xor bl, bl
cmp dword [ebp - 0x23c], 8
jb 0x445137
push dword [ebp - 0x250]
call fcn.004085be
add esp, 4
xor eax, eax
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], ax
cmp dword [ebp - 0x224], 8
jb 0x44516b
push dword [ebp - 0x238]
call fcn.004085be
add esp, 4
mov al, bl
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.00401590
mov esp, ebp
pop ebp
ret