Function at 0x42e209
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5152ac
mov eax, dword fs:[0]
push eax
sub esp, 0x888
mov eax, dword [0x5ff740]
xor eax, esp
mov dword [esp + 0x880], eax
push ebx
push esi
push edi
mov eax, dword [0x5ff740]
xor eax, esp
push eax
lea eax, [esp + 0x898]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
call fcn.0042e83b
lea eax, [esp + 0x3c]
push eax
call fcn.00437755
xor ebx, ebx
add esi, 0x203c
mov dword [esp + 0x8a0], ebx
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
mov edi, 0x5b9d60
cmp eax, ebx
je 0x42e2b3
push ebx
push ebx
push ebx
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edi
call fcn.0040253b
push ecx
mov byte [esp + 0x8bc], 1
mov dword [esp + 0x40], esp
mov ecx, esp
push esi
call fcn.00402305
lea ecx, [esp + 0x58]
mov byte [esp + 0x8bc], bl
call fcn.004378d2
mov esi, dword [esp + 0x10]
add esi, 0x2038
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
cmp eax, ebx
je 0x42e2fe
push ebx
push ebx
push ebx
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edi
call fcn.0040253b
push ecx
mov byte [esp + 0x8bc], 2
mov dword [esp + 0x40], esp
mov ecx, esp
push esi
call fcn.00402305
lea ecx, [esp + 0x58]
mov byte [esp + 0x8bc], bl
call fcn.004378d2
mov esi, dword [esp + 0x10]
add esi, 0x2040
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
cmp eax, ebx
je 0x42e349
push ebx
push ebx
push ebx
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edi
call fcn.0040253b
push ecx
mov byte [esp + 0x8bc], 3
mov dword [esp + 0x40], esp
mov ecx, esp
push esi
call fcn.00402305
lea ecx, [esp + 0x58]
mov byte [esp + 0x8bc], bl
call fcn.004378d2
mov esi, dword [esp + 0x10]
add esi, 0x2030
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
cmp eax, ebx
je 0x42e394
push ebx
push ebx
push ebx
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edi
call fcn.0040253b
push ecx
mov byte [esp + 0x8bc], 4
mov dword [esp + 0x40], esp
mov ecx, esp
push esi
call fcn.00402305
lea ecx, [esp + 0x58]
mov byte [esp + 0x8bc], bl
call fcn.004378d2
mov esi, dword [esp + 0x10]
add esi, 0x2034
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
je 0x42e3dd
push ebx
push ebx
push ebx
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edi
call fcn.0040253b
push ecx
mov byte [esp + 0x8bc], 5
mov dword [esp + 0x40], esp
mov ecx, esp
push esi
call fcn.00402305
lea ecx, [esp + 0x58]
mov byte [esp + 0x8bc], bl
call fcn.004378d2
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.004be6f3
push eax
lea ecx, [esp + 0x1c]
call fcn.004027f9
mov byte [esp + 0x8a0], 6
call fcn.004be6f3
push eax
lea ecx, [esp + 0x18]
call fcn.004027f9
mov byte [esp + 0x8a0], 7
call fcn.004be6f3
push eax
lea ecx, [esp + 0x20]
call fcn.004027f9
mov byte [esp + 0x8a0], 8
cmp dword [esp + 0x44], ebx
mov dword [esp + 0x28], ebx
jle 0x42e774
mov dword [esp + 0x30], ebx
mov edi, 0x5afd90
mov eax, dword [esp + 0x10]
call fcn.0040e41d
test eax, eax
jne 0x42e7ec
cmp dword [esp + 0x30], ebx
jl 0x42e830
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x44]
jge 0x42e830
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
add eax, ecx
add eax, 4
push eax
lea ecx, [esp + 0x1c]
call fcn.004025da
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0xe1
jg 0x42e75d
push ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x3c], esp
mov ecx, esp
push eax
call fcn.00402305
lea ebx, [esp + 0x54]
call fcn.00410d4e
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x8a4], 9
call fcn.004025da
mov byte [esp + 0x8a0], 8
mov ecx, dword [esp + 0x50]
add ecx, 0xfffffff0
call fcn.0040285b
push 0
push ecx
mov eax, esp
mov dword [esp + 0x40], esp
lea ecx, [esp + 0x20]
push ecx
push str.Shortcut:
push eax
call fcn.0040dc86
add esp, 0xc
call fcn.0040f05b
mov ebx, dword [esp + 0x14]
cmp dword [ebx - 0xc], 0
je 0x42e75b
push str.hcp:
xor ecx, ecx
lea esi, [esp + 0x18]
call fcn.0040788c
test eax, eax
je 0x42e75b
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsNetworkPathW]
test eax, eax
jne 0x42e75b
mov eax, dword [ebx - 0xc]
test eax, eax
jl 0x42e826
movzx ecx, word [ebx]
cmp cx, 0x7b
jne 0x42e54f
lea ecx, [eax - 1]
mov eax, esi
call fcn.00402bd5
cmp ax, 0x7d
je 0x42e75b
push str.installer
xor ecx, ecx
lea esi, [esp + 0x18]
call fcn.0040788c
cmp eax, 0xffffffff
jne 0x42e75b
mov esi, 0x82c
push esi
xor ebx, ebx
lea eax, [esp + 0x60]
push ebx
push eax
call fcn.004e38a0
add esp, 0xc
push dword [esp + 0x14]
lea eax, [esp + 0x60]
call fcn.0040de7e
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x8a4], 0xa
call fcn.00413e65
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x8ac], 0xb
call fcn.0040dc86
add esp, 0xc
mov byte [esp + 0x8a0], 0xd
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.0040285b
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp dword [0x60215c], ebx
je 0x42e5e7
cmp eax, 3
jne 0x42e738
mov ecx, dword [esp + 0x10]
push ebx
push ebx
push ebx
push ebx
push 1
push 1
push 1
lea edx, [esp + 0x30]
call fcn.00411bba
test al, al
jne 0x42e738
push ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x3c], esp
mov ecx, esp
push eax
call fcn.00402305
call fcn.0040e438
cmp eax, ebx
jne 0x42e738
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push edi
call fcn.0040253b
push ecx
mov byte [esp + 0x8ac], 0xe
mov ecx, esp
mov dword [esp + 0x64], esp
push edi
call fcn.0040253b
push ecx
mov byte [esp + 0x8b0], 0xf
mov ecx, esp
mov dword [esp + 0x64], esp
push edi
call fcn.0040253b
push ecx
lea eax, [esp + 0x2c]
mov dword [esp + 0x40], esp
mov ecx, esp
push eax
mov byte [esp + 0x8b8], 0x10
call fcn.00402305
push dword [esp + 0x24]
mov byte [esp + 0x8b8], 0xd
push 0x22
pop ecx
call fcn.0040e855
push ecx
mov ebx, eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x30], esp
mov ecx, esp
push eax
call fcn.00402305
lea esi, [esp + 0x24]
call fcn.0040f161
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x8a4], 0x11
call fcn.004025da
mov byte [esp + 0x8a0], 0xd
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.0040285b
mov eax, dword [esp + 0x1c]
mov eax, dword [eax - 0xc]
add eax, 0xfffffffc
push eax
lea eax, [esp + 0x20]
push eax
push 4
pop eax
call fcn.0040726b
push ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x30], esp
mov ecx, esp
push eax
call fcn.00402305
push dword [esp + 0x14]
call fcn.0040eff8
push ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x30], esp
mov ecx, esp
push eax
call fcn.00402305
push dword [esp + 0x14]
call fcn.0040eff8
push ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x30], esp
mov ecx, esp
push eax
call fcn.00402305
push dword [esp + 0x14]
call fcn.0040eff8
xor ebx, ebx
mov esi, 0x82c
mov ecx, dword [esp + 0x34]
add ecx, 0xfffffff0
call fcn.0040285b
push esi
lea eax, [esp + 0x60]
push ebx
push eax
mov byte [esp + 0x8ac], 8
call fcn.004e38a0
add esp, 0xc
xor ebx, ebx
inc dword [esp + 0x28]
mov eax, dword [esp + 0x28]
add dword [esp + 0x30], 0x40
cmp eax, dword [esp + 0x44]
jl 0x42e440
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x10]
call fcn.00410e6a
mov eax, dword [esp + 0x10]
call fcn.0040e41d
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
test eax, eax
jne 0x42e7f3
call fcn.0040285b
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.0040285b
or dword [esp + 0x8a0], 0xffffffff
lea esi, [esp + 0x3c]
call fcn.0042eb53
xor eax, eax
inc eax
mov ecx, dword [esp + 0x898]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x880]
xor ecx, esp
call fcn.004de422
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.0040285b
or dword [esp + 0x8a0], 0xffffffff
lea esi, [esp + 0x3c]
call fcn.0042eb53
push 2
pop eax
jmp 0x42e7c8
push 0x80070057
call fcn.0040298d
call fcn.004be614
int3