Function at 0x468d36
Capabilities:
Get disk information

Disassembly:
mov eax, 0x4a90bd
call fcn.004a5308
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.0042b902
push eax
call fcn.0042b6e8
push dword [eax]
call fcn.0048b59f
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.0040596d
lea eax, [ebp - 0x20]
push str.tid2
push eax
call fcn.0042b902
push eax
call fcn.0042b6e8
push dword [eax]
call fcn.0048b59f
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.0040596d
lea eax, [ebp - 0x20]
push 0x4b7a1c
push eax
call fcn.0042b902
push eax
call fcn.0042b6e8
push dword [eax]
call fcn.0048b59f
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.0040596d
lea eax, [ebp - 0x20]
push 0x4bca98
push eax
call fcn.0042b902
push eax
call fcn.0042b6e8
push dword [eax]
call fcn.0048b59f
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.0040596d
lea eax, [ebp - 0x20]
push str.tod1
push eax
call fcn.0042b902
push eax
call fcn.0042b6e8
push dword [eax]
call fcn.0048b59f
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.0040596d
lea eax, [ebp - 0x20]
push str.tod2
push eax
call fcn.0042b902
push eax
call fcn.0042b6e8
push dword [eax]
call fcn.0048b59f
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.0040596d
lea eax, [ebp - 0x20]
push str.uidreg
push eax
call fcn.0042b902
push eax
call fcn.0042b6e8
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.0040596d
lea eax, [ebp - 0x20]
push 0x4bc960
push eax
call fcn.0042b902
push eax
call fcn.0042b6e8
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.0040596d
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.004480db
add esp, 0x10
test eax, eax
je 0x468ee9
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.00468b02
test eax, eax
je 0x468f1a
push esi
lea eax, [ebp - 0x20]
push eax
mov eax, edi
call fcn.00468a5b
push dword [eax]
call fcn.0048b59f
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.0040596d
mov esi, str.tid2
push esi
mov eax, edi
call fcn.00468b02
test eax, eax
je 0x468f4d
push esi
lea eax, [ebp - 0x20]
push eax
mov eax, edi
call fcn.00468a5b
push dword [eax]
call fcn.0048b59f
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.0040596d
mov esi, 0x4bcab0
push esi
mov eax, edi
call fcn.00468b02
test eax, eax
je 0x468f80
push esi
lea eax, [ebp - 0x20]
push eax
mov eax, edi
call fcn.00468a5b
push dword [eax]
call fcn.0048b59f
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.0040596d
mov esi, str.tod1
push esi
mov eax, edi
call fcn.00468b02
test eax, eax
je 0x468fb3
push esi
lea eax, [ebp - 0x20]
push eax
mov eax, edi
call fcn.00468a5b
push dword [eax]
call fcn.0048b59f
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.0040596d
mov esi, str.tod2
push esi
mov eax, edi
call fcn.00468b02
test eax, eax
je 0x468fe6
push esi
lea eax, [ebp - 0x20]
push eax
mov eax, edi
call fcn.00468a5b
push dword [eax]
call fcn.0048b59f
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.0040596d
mov esi, 0x4bca98
push esi
mov eax, edi
call fcn.00468b02
test eax, eax
je 0x469026
push esi
lea eax, [ebp - 0x20]
push eax
mov eax, edi
call fcn.00468a5b
push dword [eax]
call fcn.0048b59f
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.0040596d
cmp dword [ebx + 0x1c], 1
jne 0x469026
mov dword [ebx + 0x1c], 0xf
push 0x4b7578
mov eax, edi
call fcn.00468b02
test eax, eax
jne 0x469046
push 0x4b7bd8
mov eax, edi
call fcn.00468b02
test eax, eax
je 0x46904d
mov dword [ebx + 0x1c], 0xf
mov esi, str.param
push esi
mov eax, edi
call fcn.00468b02
test eax, eax
je 0x469080
push esi
lea eax, [ebp - 0x20]
push eax
mov eax, edi
call fcn.00468a5b
push dword [eax]
call fcn.0048b59f
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.0040596d
mov esi, str.from
push esi
mov eax, edi
call fcn.00468b02
test eax, eax
je 0x4690b3
push esi
lea eax, [ebp - 0x20]
push eax
mov eax, edi
call fcn.00468a5b
push dword [eax]
call fcn.0048b59f
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.0040596d
mov esi, 0x4bcad0
push esi
mov eax, edi
call fcn.00468b02
test eax, eax
je 0x46913d
push esi
lea eax, [ebp - 0x20]
push eax
mov eax, edi
call fcn.00468a5b
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.0040596d
mov eax, dword [esi]
cmp dword [eax - 0xc], 3
jl 0x46911d
push 3
pop ecx
lea edx, [ebp - 0x20]
mov eax, esi
call fcn.0040626b
push dword [eax]
mov dword [ebp - 0x24], 1
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
mov byte [ebp - 0xd], 1
jne 0x469121
mov byte [ebp - 0xd], 0
test byte [ebp - 0x24], 1
je 0x469132
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.0040596d
cmp byte [ebp - 0xd], 0
je 0x46913d
call fcn.00405bb2
mov eax, dword [ebx + 0x40]
cmp dword [eax - 0xc], 0
je 0x469193
mov eax, dword [ebx + 0x3c]
cmp dword [eax - 0xc], 0
je 0x469193
call fcn.0042ac46
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.0042ac46
cmp dword [eax + 0xc], 0
je 0x469193
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.0042acfa
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.0040596d
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 0x4691b0
mov dword [ebx + 0x1c], 6
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret