Function at 0x4618f0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571de6
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x5edd38]
xor eax, ebp
mov dword [ebp - 0x10], eax
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 ecx, edx
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x461945
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x238]
call fcn.00408f30
lea eax, [ebp - 0x238]
mov dword [ebp - 4], 0
push eax
call fcn.004610a0
add esp, 4
test al, al
je 0x461988
mov al, 1
mov byte [ebp - 0x251], al
jmp 0x461cdd
xor eax, eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 3
push eax
push esi
call fcn.004304a0
add esp, 8
test al, al
je 0x461c8e
cmp byte [0x5f2014], 0
je 0x4619f9
cmp dword [ebp - 0x23c], 8
lea eax, [ebp - 0x250]
push 9
cmovae eax, dword [ebp - 0x250]
push str.DeviceSftVol_
push eax
call fcn.00420fc8
add esp, 0xc
test eax, eax
jne 0x4619f9
mov al, 1
jmp 0x461c90
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 0x461ae2
cmp ecx, 1
jbe 0x461a40
cmp edx, 8
lea eax, [ebp - 0x238]
cmovae eax, esi
cmp word [eax + ecx*2 - 4], 0x3a
je 0x461ae2
lea eax, [ecx - 1]
push eax
push 0
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x238]
call fcn.00409610
mov esi, eax
lea eax, [ebp - 0x238]
cmp eax, esi
je 0x461acb
mov eax, dword [ebp - 0x224]
mov byte [ebp - 4], 8
cmp eax, 8
jb 0x461a86
inc eax
lea ecx, [ebp - 0x238]
push eax
push dword [ebp - 0x238]
call fcn.0040a2e0
mov dword [ebp - 0x228], 0
xor eax, eax
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
movups xmm0, xmmword [esi]
mov byte [ebp - 4], 3
movups xmmword [ebp - 0x238], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x228], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x26c]
call fcn.0040a280
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.0040c291
add esp, 8
test eax, eax
jne 0x461b17
mov al, 1
jmp 0x461c90
cmp dword [ebp - 0x224], 8
lea ecx, [ebp - 0x238]
mov eax, dword [ebp - 0x228]
cmovae ecx, dword [ebp - 0x238]
test eax, eax
je 0x461c8e
mov esi, ecx
nop dword [eax + eax]
cmp word [esi], 0x3a
je 0x461b53
add esi, 2
sub eax, 1
jne 0x461b40
jmp 0x461c8e
sub esi, ecx
sar esi, 1
je 0x461c8e
cmp esi, 0xffffffff
je 0x461c8e
cmp esi, 1
jbe 0x461b8b
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
cmp word [eax + esi*2 - 4], 0x5c
jne 0x461c8e
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
xorps xmm0, xmm0
cmovae eax, dword [ebp - 0x238]
movlpd qword [ebp - 0x18], xmm0
lea eax, [eax + esi*2]
add eax, 0xfffffffe
je 0x461c7e
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x220]
push 0x104
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
cmp eax, 2
jb 0x461c8e
cmp eax, 0x104
je 0x461c8e
lea edi, [ebp - 0x220]
lea ecx, [edi + 2]
nop dword [eax + eax]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x461bf0
mov eax, dword [ebp - 0x228]
sub edi, ecx
sub eax, esi
sar edi, 1
dec eax
add eax, edi
cmp eax, dword [ebp - 0x240]
jne 0x461c8e
cmp dword [ebp - 0x23c], 8
lea ecx, [ebp - 0x220]
push edi
lea eax, [ebp - 0x250]
cmovae eax, dword [ebp - 0x250]
push ecx
push eax
call fcn.00420fc8
add esp, 0xc
test eax, eax
jne 0x461c8e
cmp dword [ebp - 0x224], 8
lea ecx, [ebp - 0x238]
lea eax, [ebp - 0x250]
cmovae ecx, dword [ebp - 0x238]
add ecx, 2
cmp dword [ebp - 0x23c], 8
cmovae eax, dword [ebp - 0x250]
lea ecx, [ecx + esi*2]
push ecx
lea eax, [eax + edi*2]
push eax
call fcn.0040c291
add esp, 8
test eax, eax
jne 0x461c8e
mov al, 1
jmp 0x461c90
call fcn.004116f6
mov dword [eax], 0x16
call fcn.0054222b
xor al, al
mov byte [ebp - 0x251], al
mov ecx, dword [ebp - 0x23c]
mov byte [ebp - 4], 0x19
cmp ecx, 8
jb 0x461cc0
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x250]
lea ecx, [ebp - 0x250]
call fcn.0040a2e0
mov al, byte [ebp - 0x251]
xor ecx, ecx
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], cx
mov ecx, dword [ebp - 0x224]
mov dword [ebp - 4], 0x1a
cmp ecx, 8
jb 0x461d08
inc ecx
push ecx
push dword [ebp - 0x238]
lea ecx, [ebp - 0x238]
call fcn.0040a2e0
mov al, byte [ebp - 0x251]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401682
mov esp, ebp
pop ebp
ret