Function at 0x468bfe
Capabilities:
Get disk information

Disassembly:
mov eax, 0x4a8f9d
call fcn.004a5218
sub esp, 0x1c
and dword [ebp - 0x24], 0
push esi
push edi
mov esi, str.tid1
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.0042b83e
push eax
call fcn.0042b624
push dword [eax]
call fcn.0048b4bf
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.0040592b
lea eax, [ebp - 0x20]
push str.tid2
push eax
call fcn.0042b83e
push eax
call fcn.0042b624
push dword [eax]
call fcn.0048b4bf
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.0040592b
lea eax, [ebp - 0x20]
push 0x4b79fc
push eax
call fcn.0042b83e
push eax
call fcn.0042b624
push dword [eax]
call fcn.0048b4bf
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.0040592b
lea eax, [ebp - 0x20]
push 0x4bca30
push eax
call fcn.0042b83e
push eax
call fcn.0042b624
push dword [eax]
call fcn.0048b4bf
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.0040592b
lea eax, [ebp - 0x20]
push str.tod1
push eax
call fcn.0042b83e
push eax
call fcn.0042b624
push dword [eax]
call fcn.0048b4bf
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.0040592b
lea eax, [ebp - 0x20]
push str.tod2
push eax
call fcn.0042b83e
push eax
call fcn.0042b624
push dword [eax]
call fcn.0048b4bf
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.0040592b
lea eax, [ebp - 0x20]
push str.uidreg
push eax
call fcn.0042b83e
push eax
call fcn.0042b624
and dword [ebp - 4], 0
lea edi, [ebx + 0x3c]
call fcn.00404ed3
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.0040592b
lea eax, [ebp - 0x20]
push 0x4bc8f8
push eax
call fcn.0042b83e
push eax
call fcn.0042b624
lea edi, [ebx + 0x40]
mov dword [ebp - 4], 1
call fcn.00404ed3
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.0040592b
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00448037
add esp, 0x10
test eax, eax
je 0x468db1
mov eax, dword [ebp - 0x14]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0x10], eax
lea edi, [ebx + 0x24]
push esi
mov eax, edi
call fcn.004689ca
test eax, eax
je 0x468de2
push esi
lea eax, [ebp - 0x20]
push eax
mov eax, edi
call fcn.00468923
push dword [eax]
call fcn.0048b4bf
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.0040592b
mov esi, str.tid2
push esi
mov eax, edi
call fcn.004689ca
test eax, eax
je 0x468e15
push esi
lea eax, [ebp - 0x20]
push eax
mov eax, edi
call fcn.00468923
push dword [eax]
call fcn.0048b4bf
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.0040592b
mov esi, 0x4bca48
push esi
mov eax, edi
call fcn.004689ca
test eax, eax
je 0x468e48
push esi
lea eax, [ebp - 0x20]
push eax
mov eax, edi
call fcn.00468923
push dword [eax]
call fcn.0048b4bf
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.0040592b
mov esi, str.tod1
push esi
mov eax, edi
call fcn.004689ca
test eax, eax
je 0x468e7b
push esi
lea eax, [ebp - 0x20]
push eax
mov eax, edi
call fcn.00468923
push dword [eax]
call fcn.0048b4bf
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.0040592b
mov esi, str.tod2
push esi
mov eax, edi
call fcn.004689ca
test eax, eax
je 0x468eae
push esi
lea eax, [ebp - 0x20]
push eax
mov eax, edi
call fcn.00468923
push dword [eax]
call fcn.0048b4bf
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.0040592b
mov esi, 0x4bca30
push esi
mov eax, edi
call fcn.004689ca
test eax, eax
je 0x468eee
push esi
lea eax, [ebp - 0x20]
push eax
mov eax, edi
call fcn.00468923
push dword [eax]
call fcn.0048b4bf
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.0040592b
cmp dword [ebx + 0x1c], 1
jne 0x468eee
mov dword [ebx + 0x1c], 0xf
push 0x4b7558
mov eax, edi
call fcn.004689ca
test eax, eax
jne 0x468f0e
push 0x4b7bb8
mov eax, edi
call fcn.004689ca
test eax, eax
je 0x468f15
mov dword [ebx + 0x1c], 0xf
mov esi, str.param
push esi
mov eax, edi
call fcn.004689ca
test eax, eax
je 0x468f48
push esi
lea eax, [ebp - 0x20]
push eax
mov eax, edi
call fcn.00468923
push dword [eax]
call fcn.0048b4bf
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.0040592b
mov esi, str.from
push esi
mov eax, edi
call fcn.004689ca
test eax, eax
je 0x468f7b
push esi
lea eax, [ebp - 0x20]
push eax
mov eax, edi
call fcn.00468923
push dword [eax]
call fcn.0048b4bf
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.0040592b
mov esi, 0x4bca68
push esi
mov eax, edi
call fcn.004689ca
test eax, eax
je 0x469005
push esi
lea eax, [ebp - 0x20]
push eax
mov eax, edi
call fcn.00468923
lea esi, [ebx + 0x44]
mov edi, esi
mov dword [ebp - 4], 2
call fcn.00404ed3
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.0040592b
mov eax, dword [esi]
cmp dword [eax - 0xc], 3
jl 0x468fe5
push 3
pop ecx
lea edx, [ebp - 0x20]
mov eax, esi
call fcn.00406319
push dword [eax]
mov dword [ebp - 0x24], 1
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
mov byte [ebp - 0xd], 1
jne 0x468fe9
mov byte [ebp - 0xd], 0
test byte [ebp - 0x24], 1
je 0x468ffa
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.0040592b
cmp byte [ebp - 0xd], 0
je 0x469005
call fcn.00405b5b
mov eax, dword [ebx + 0x40]
cmp dword [eax - 0xc], 0
je 0x46905b
mov eax, dword [ebx + 0x3c]
cmp dword [eax - 0xc], 0
je 0x46905b
call fcn.0042ab82
mov esi, eax
lea edi, [esi + 4]
lea eax, [ebx + 0x40]
call fcn.00404ed3
lea edi, [esi + 8]
lea eax, [ebx + 0x3c]
call fcn.00404ed3
mov dword [esi + 0xc], 1
call fcn.0042ab82
cmp dword [eax + 0xc], 0
je 0x46905b
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.0042ac36
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.0040592b
mov eax, dword [ebx + 0x1c]
mov ecx, eax
and cl, 1
dec cl
neg cl
sbb ecx, ecx
inc ecx
test eax, eax
mov dword [ebx + 0x18], ecx
jne 0x469078
mov dword [ebx + 0x1c], 6
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret