Function at 0x42c016
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e08b5
mov eax, dword fs:[0]
push eax
sub esp, 0x888
mov eax, dword [0x56f710]
xor eax, esp
mov dword [esp + 0x880], eax
push ebx
push esi
push edi
mov eax, dword [0x56f710]
xor eax, esp
push eax
lea eax, [esp + 0x898]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
call fcn.0042c648
lea eax, [esp + 0x3c]
push eax
call fcn.004356c4
xor ebx, ebx
add esi, 0x203c
mov dword [esp + 0x8a0], ebx
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
mov edi, 0x537bc8
cmp eax, ebx
je 0x42c0c0
push ebx
push ebx
push ebx
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edi
call fcn.0040254f
push ecx
mov byte [esp + 0x8bc], 1
mov dword [esp + 0x40], esp
mov ecx, esp
push esi
call fcn.004022fa
lea ecx, [esp + 0x58]
mov byte [esp + 0x8bc], bl
call fcn.00435841
mov esi, dword [esp + 0x10]
add esi, 0x2038
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
cmp eax, ebx
je 0x42c10b
push ebx
push ebx
push ebx
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edi
call fcn.0040254f
push ecx
mov byte [esp + 0x8bc], 2
mov dword [esp + 0x40], esp
mov ecx, esp
push esi
call fcn.004022fa
lea ecx, [esp + 0x58]
mov byte [esp + 0x8bc], bl
call fcn.00435841
mov esi, dword [esp + 0x10]
add esi, 0x2040
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
cmp eax, ebx
je 0x42c156
push ebx
push ebx
push ebx
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edi
call fcn.0040254f
push ecx
mov byte [esp + 0x8bc], 3
mov dword [esp + 0x40], esp
mov ecx, esp
push esi
call fcn.004022fa
lea ecx, [esp + 0x58]
mov byte [esp + 0x8bc], bl
call fcn.00435841
mov esi, dword [esp + 0x10]
add esi, 0x2030
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
cmp eax, ebx
je 0x42c1a1
push ebx
push ebx
push ebx
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edi
call fcn.0040254f
push ecx
mov byte [esp + 0x8bc], 4
mov dword [esp + 0x40], esp
mov ecx, esp
push esi
call fcn.004022fa
lea ecx, [esp + 0x58]
mov byte [esp + 0x8bc], bl
call fcn.00435841
mov esi, dword [esp + 0x10]
add esi, 0x2034
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
je 0x42c1ea
push ebx
push ebx
push ebx
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edi
call fcn.0040254f
push ecx
mov byte [esp + 0x8bc], 5
mov dword [esp + 0x40], esp
mov ecx, esp
push esi
call fcn.004022fa
lea ecx, [esp + 0x58]
mov byte [esp + 0x8bc], bl
call fcn.00435841
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.0049219b
push eax
lea ecx, [esp + 0x1c]
call fcn.00402802
mov byte [esp + 0x8a0], 6
call fcn.0049219b
push eax
lea ecx, [esp + 0x18]
call fcn.00402802
mov byte [esp + 0x8a0], 7
call fcn.0049219b
push eax
lea ecx, [esp + 0x20]
call fcn.00402802
mov byte [esp + 0x8a0], 8
cmp dword [esp + 0x44], ebx
mov dword [esp + 0x28], ebx
jle 0x42c581
mov dword [esp + 0x30], ebx
mov edi, 0x52dc10
mov eax, dword [esp + 0x10]
call fcn.0040d171
test eax, eax
jne 0x42c5f9
cmp dword [esp + 0x30], ebx
jl 0x42c63d
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x44]
jge 0x42c63d
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
add eax, ecx
add eax, 4
push eax
lea ecx, [esp + 0x1c]
call fcn.004025ee
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0xe1
jg 0x42c56a
push ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x3c], esp
mov ecx, esp
push eax
call fcn.004022fa
lea ebx, [esp + 0x54]
call fcn.0040eb2e
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x8a4], 9
call fcn.004025ee
mov byte [esp + 0x8a0], 8
mov ecx, dword [esp + 0x50]
add ecx, 0xfffffff0
call fcn.00402845
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.0040c9b1
add esp, 0xc
call fcn.0040ddaf
mov ebx, dword [esp + 0x14]
cmp dword [ebx - 0xc], 0
je 0x42c568
push str.hcp:
xor ecx, ecx
lea esi, [esp + 0x18]
call fcn.00407898
test eax, eax
je 0x42c568
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsNetworkPathW]
test eax, eax
jne 0x42c568
mov eax, dword [ebx - 0xc]
test eax, eax
jl 0x42c633
movzx ecx, word [ebx]
cmp cx, 0x7b
jne 0x42c35c
lea ecx, [eax - 1]
mov eax, esi
call fcn.00402bbf
cmp ax, 0x7d
je 0x42c568
push str.installer
xor ecx, ecx
lea esi, [esp + 0x18]
call fcn.00407898
cmp eax, 0xffffffff
jne 0x42c568
mov esi, 0x82c
push esi
xor ebx, ebx
lea eax, [esp + 0x60]
push ebx
push eax
call fcn.004b62d0
add esp, 0xc
push dword [esp + 0x14]
lea eax, [esp + 0x60]
call fcn.0040cbd2
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x8a4], 0xa
call fcn.00411c45
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x8ac], 0xb
call fcn.0040c9b1
add esp, 0xc
mov byte [esp + 0x8a0], 0xd
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.00402845
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp dword [0x5722a0], ebx
je 0x42c3f4
cmp eax, 3
jne 0x42c545
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.0040f99a
test al, al
jne 0x42c545
push ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x3c], esp
mov ecx, esp
push eax
call fcn.004022fa
call fcn.0040d18c
cmp eax, ebx
jne 0x42c545
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push edi
call fcn.0040254f
push ecx
mov byte [esp + 0x8ac], 0xe
mov ecx, esp
mov dword [esp + 0x64], esp
push edi
call fcn.0040254f
push ecx
mov byte [esp + 0x8b0], 0xf
mov ecx, esp
mov dword [esp + 0x64], esp
push edi
call fcn.0040254f
push ecx
lea eax, [esp + 0x2c]
mov dword [esp + 0x40], esp
mov ecx, esp
push eax
mov byte [esp + 0x8b8], 0x10
call fcn.004022fa
push dword [esp + 0x24]
mov byte [esp + 0x8b8], 0xd
push 0x22
pop ecx
call fcn.0040d5a9
push ecx
mov ebx, eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x30], esp
mov ecx, esp
push eax
call fcn.004022fa
lea esi, [esp + 0x24]
call fcn.0040deb5
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x8a4], 0x11
call fcn.004025ee
mov byte [esp + 0x8a0], 0xd
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.00402845
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.00407277
push ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x30], esp
mov ecx, esp
push eax
call fcn.004022fa
push dword [esp + 0x14]
call fcn.0040dd4c
push ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x30], esp
mov ecx, esp
push eax
call fcn.004022fa
push dword [esp + 0x14]
call fcn.0040dd4c
push ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x30], esp
mov ecx, esp
push eax
call fcn.004022fa
push dword [esp + 0x14]
call fcn.0040dd4c
xor ebx, ebx
mov esi, 0x82c
mov ecx, dword [esp + 0x34]
add ecx, 0xfffffff0
call fcn.00402845
push esi
lea eax, [esp + 0x60]
push ebx
push eax
mov byte [esp + 0x8ac], 8
call fcn.004b62d0
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 0x42c24d
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x10]
call fcn.0040ec4a
mov eax, dword [esp + 0x10]
call fcn.0040d171
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
test eax, eax
jne 0x42c600
call fcn.00402845
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00402845
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.00402845
or dword [esp + 0x8a0], 0xffffffff
lea esi, [esp + 0x3c]
call fcn.0042c960
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.004b228f
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.00402845
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00402845
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.00402845
or dword [esp + 0x8a0], 0xffffffff
lea esi, [esp + 0x3c]
call fcn.0042c960
push 2
pop eax
jmp 0x42c5d5
push 0x80070057
call fcn.00402977
call fcn.004920bc
int3