Function at 0x1002d9d0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x1004f17b
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x10063790]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push esi
push edi
mov eax, dword [0x10063790]
xor eax, esp
push eax
lea eax, [esp + 0x274]
mov dword fs:[0], eax
mov edi, dword [esp + 0x288]
mov esi, dword [esp + 0x284]
mov ebx, ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x10], 0
call fcn.1002f2f0
lea ecx, [esp + 0x24]
mov dword [edi], 0
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push ecx
push esi
mov dword [esp + 0x284], 0
call edx
mov esi, eax
test esi, esi
je 0x1002da8b
push esi
push esi
push str.IVdsPack::QueryVolumes_failed___u____8.8X_
call fcn.10030090
push eax
call fcn.1002fa60
add esp, 0x10
lea ecx, [esp + 0x18]
mov dword [esp + 0x27c], 0xffffffff
call fcn.1002f480
mov eax, esi
jmp 0x1002dd20
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x1002dac4
push str.IVdsPack::QueryVolumes_returns_IEnumVdsObjectNULL
call fcn.10030090
push eax
call fcn.1002fa60
add esp, 8
lea ecx, [esp + 0x18]
mov dword [esp + 0x27c], 0xffffffff
call fcn.1002f480
mov eax, 0x80004002
jmp 0x1002dd20
push eax
lea ecx, [esp + 0x1c]
call fcn.1002f340
mov esi, eax
test esi, esi
je 0x1002dadd
push esi
push esi
push str.CSTVdsEnum::Query_failed___u____8.8X_
jmp 0x1002da62
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
call fcn.1002f410
test eax, eax
jne 0x1002dcfe
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x10054b10
push eax
mov eax, dword [ecx]
call eax
test eax, eax
je 0x1002db16
lea ecx, [esp + 0x10]
push ecx
jmp 0x1002dca9
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x20]
push ecx
push 0x10054d10
push eax
call edx
test eax, eax
je 0x1002db38
mov eax, dword [esp + 0x14]
jmp 0x1002dc98
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push 0x10054d30
push eax
mov eax, dword [ecx]
call eax
test eax, eax
mov eax, dword [esp + 0x14]
je 0x1002db6a
test eax, eax
je 0x1002db61
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
jmp 0x1002dc98
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov esi, eax
test esi, esi
je 0x1002dbd3
cmp esi, 0x42715
je 0x1002dbd3
push esi
push esi
push str.IVDsVolume::GetProperties_failed___u____8.8X_
call fcn.10030090
push eax
call fcn.1002fa60
mov eax, dword [esp + 0x24]
add esp, 0x10
test eax, eax
je 0x1002dbaa
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1002dbba
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1002dcb4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x1002dcb4
mov edi, dword [esp + 0x60]
lea eax, [esp + 0x68]
mov esi, edi
mov ecx, eax
mov edx, 0x104
sub esi, ecx
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x1002dc06
movzx ecx, word [esi + eax]
test cx, cx
je 0x1002dc06
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1002dbe6
jmp 0x1002dc0a
test edx, edx
jne 0x1002dc0d
sub eax, 2
push edi
mov word [eax], 0
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea edx, [esp + 0x68]
push edx
mov ecx, ebx
call fcn.1002d290
mov esi, eax
lea eax, [esp + 0x68]
push eax
mov ecx, ebx
call fcn.1002d380
lea ecx, [esp + 0x68]
push ecx
mov edi, eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
cmp dword [esp + 0x44], 1
jne 0x1002dc74
lea edx, [esp + 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x1002dc67
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
jne 0x1002dc74
cmp esi, dword [ebx + 0xa8]
jne 0x1002dc74
cmp edi, dword [ebx + 0x10]
je 0x1002dcbe
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1002dc84
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1002dc94
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1002dca4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
call fcn.1002f440
mov esi, eax
test esi, esi
je 0x1002daf3
jmp 0x1002dcfe
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov dword [ebx + 0xa0], edx
lea edx, [esp + 0x68]
mov dword [ebx + 0x9c], ecx
mov ecx, dword [esp + 0x2c]
push edx
mov dword [ebx + 0xa4], eax
push str._s_Found_
mov dword [ecx], 1
call fcn.10030090
push eax
call fcn.1002f970
add esp, 0xc
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x27c], 0xffffffff
call fcn.1002f480
xor eax, eax
mov ecx, dword [esp + 0x274]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.1003c13d
add esp, 0x270
ret 8