Function at 0x46a3c0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59fccc
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
xor eax, eax
mov edi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x270], 7
mov word [ebp - 0x284], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46a415
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x284]
call fcn.00409db0
lea eax, [ebp - 0x284]
mov dword [ebp - 4], 0
push eax
call fcn.00469bc0
add esp, 4
mov byte [ebp - 0x269], al
mov ecx, dword [ebp - 0x270]
mov dword [ebp - 4], 1
cmp ecx, 8
jb 0x46a478
inc ecx
push ecx
push dword [ebp - 0x284]
lea ecx, [ebp - 0x284]
call fcn.0040a5e0
mov al, byte [ebp - 0x269]
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x46a48a
mov al, 1
jmp 0x46a86b
xor eax, eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
lea eax, [ebp - 0x250]
mov dword [ebp - 4], 2
push eax
push edi
call fcn.00433a80
add esp, 8
test al, al
jne 0x46a4cd
mov byte [ebp - 0x269], al
jmp 0x46a840
mov ecx, esi
mov dword [ebp - 0x228], 0
xor eax, eax
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46a4f0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x238]
call fcn.00409db0
cmp byte [0x631c49], 0
mov byte [ebp - 4], 4
je 0x46a545
cmp dword [ebp - 0x23c], 8
lea eax, [ebp - 0x250]
push 9
cmovae eax, dword [ebp - 0x250]
push str.DeviceSftVol_
push eax
call fcn.0042228c
add esp, 0xc
test eax, eax
je 0x46a65c
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 0x46a62e
cmp ecx, 1
jbe 0x46a58c
cmp edx, 8
lea eax, [ebp - 0x238]
cmovae eax, esi
cmp word [eax + ecx*2 - 4], 0x3a
je 0x46a62e
lea eax, [ecx - 1]
push eax
push 0
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x238]
call fcn.00410b80
mov esi, eax
lea eax, [ebp - 0x238]
cmp eax, esi
je 0x46a617
mov eax, dword [ebp - 0x224]
mov byte [ebp - 4], 7
cmp eax, 8
jb 0x46a5d2
inc eax
lea ecx, [ebp - 0x238]
push eax
push dword [ebp - 0x238]
call fcn.0040a5e0
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], 4
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 - 0x29c]
call fcn.0040a580
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.0040d741
add esp, 8
test eax, eax
jne 0x46a668
mov byte [ebp - 0x269], 1
jmp 0x46a7ff
cmp dword [ebp - 0x228], 4
jb 0x46a750
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
push 4
cmovae eax, dword [ebp - 0x238]
push 0x5c45d0
push eax
call fcn.0042228c
add esp, 0xc
test eax, eax
jne 0x46a750
push 0xffffffffffffffff
push 4
lea eax, [ebp - 0x284]
push eax
lea ecx, [ebp - 0x238]
call fcn.00410b80
mov esi, eax
lea eax, [ebp - 0x238]
cmp eax, esi
je 0x46a726
mov eax, dword [ebp - 0x224]
mov byte [ebp - 4], 0xa
cmp eax, 8
jb 0x46a6e5
inc eax
lea ecx, [ebp - 0x238]
push eax
push dword [ebp - 0x238]
call fcn.0040a5e0
mov dword [ebp - 0x228], 0
xor eax, eax
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
movups xmm0, xmmword [esi]
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
mov eax, dword [ebp - 0x270]
mov byte [ebp - 4], 0xb
cmp eax, 8
jb 0x46a748
inc eax
lea ecx, [ebp - 0x284]
push eax
push dword [ebp - 0x284]
call fcn.0040a5e0
mov byte [ebp - 4], 4
mov dl, 1
jmp 0x46a752
xor dl, dl
cmp dword [ebp - 0x228], 3
jb 0x46a95f
mov ecx, dword [ebp - 0x224]
lea eax, [ebp - 0x238]
mov esi, dword [ebp - 0x238]
cmp ecx, 8
cmovae eax, esi
cmp word [eax + 2], 0x3a
jne 0x46a95f
cmp ecx, 8
lea eax, [ebp - 0x238]
cmovae eax, esi
cmp word [eax + 4], 0x5c
jne 0x46a95f
cmp ecx, 8
lea eax, [ebp - 0x238]
cmovae eax, esi
movzx eax, word [eax]
cmp eax, 0x41
jb 0x46a7b2
cmp eax, 0x5a
jbe 0x46a7bf
add eax, 0xffffff9f
cmp ax, 0x19
ja 0x46a95f
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
jb 0x46a886
mov eax, dword [ebp - 0x238]
test eax, eax
jne 0x46a886
call fcn.00413006
mov dword [eax], 0x16
call fcn.0056e2cb
mov byte [ebp - 0x269], 0
mov ecx, dword [ebp - 0x224]
mov byte [ebp - 4], 0x21
cmp ecx, 8
jb 0x46a823
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x238]
lea ecx, [ebp - 0x238]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
mov ecx, dword [ebp - 0x23c]
mov dword [ebp - 4], 0x22
cmp ecx, 8
jb 0x46a865
inc ecx
push ecx
push dword [ebp - 0x250]
lea ecx, [ebp - 0x250]
call fcn.0040a5e0
mov al, byte [ebp - 0x269]
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 int.004016cd
mov esp, ebp
pop ebp
ret
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 0x46a7f8
cmp eax, 0x104
je 0x46a7f8
lea esi, [ebp - 0x220]
lea ecx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x46a8c0
mov eax, dword [ebp - 0x228]
sub esi, ecx
sar esi, 1
add eax, 0xfffffffe
add eax, esi
cmp eax, dword [ebp - 0x240]
jne 0x46a7f8
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.0042228c
add esp, 0xc
test eax, eax
jne 0x46a7f8
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]
add eax, 4
push eax
lea eax, [ecx + esi*2]
push eax
call fcn.0040d741
add esp, 8
test eax, eax
jne 0x46a7f8
mov byte [ebp - 0x269], 1
jmp 0x46a7ff
test dl, dl
je 0x46a7f8
xor eax, eax
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
mov ecx, dword [ebp - 0x240]
mov byte [ebp - 4], 0xc
cmp ecx, 8
jb 0x46aab1
cmp dword [ebp - 0x23c], 8
lea eax, [ebp - 0x250]
push 8
cmovae eax, dword [ebp - 0x250]
push 0x5c45dc
push eax
call fcn.0042228c
add esp, 0xc
test eax, eax
jne 0x46aaab
push 0xffffffffffffffff
push 8
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x250]
call fcn.00410b80
mov esi, eax
lea eax, [ebp - 0x268]
cmp eax, esi
je 0x46aa48
mov eax, dword [ebp - 0x254]
mov byte [ebp - 4], 0xd
cmp eax, 8
jb 0x46aa07
inc eax
lea ecx, [ebp - 0x268]
push eax
push dword [ebp - 0x268]
call fcn.0040a5e0
mov dword [ebp - 0x258], 0
xor eax, eax
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x268], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x258], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov eax, dword [ebp - 0x288]
mov byte [ebp - 4], 0xe
cmp eax, 8
jb 0x46aa6a
inc eax
lea ecx, [ebp - 0x29c]
push eax
push dword [ebp - 0x29c]
call fcn.0040a5e0
cmp dword [ebp - 0x224], 8
lea ecx, [ebp - 0x238]
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 0xc
cmovae ecx, dword [ebp - 0x238]
cmp dword [ebp - 0x254], 8
push ecx
cmovae eax, dword [ebp - 0x268]
push eax
call fcn.0040d741
add esp, 8
test eax, eax
sete byte [ebp - 0x269]
jmp 0x46aad9
mov ecx, dword [ebp - 0x240]
cmp dword [ebp - 0x23c], 8
lea eax, [ebp - 0x250]
push ecx
cmovae eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x268]
push eax
call fcn.00409db0
mov byte [ebp - 0x269], 0
mov eax, dword [ebp - 0x254]
mov byte [ebp - 4], 0x12
cmp eax, 8
jb 0x46a7ff
inc eax
lea ecx, [ebp - 0x268]
push eax
push dword [ebp - 0x268]
call fcn.0040a5e0
jmp 0x46a7ff