Function at 0x42bbfd
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d7950
mov eax, dword fs:[0]
push eax
sub esp, 0x888
mov eax, dword [0x55c6c0]
xor eax, esp
mov dword [esp + 0x880], eax
push ebx
push esi
push edi
mov eax, dword [0x55c6c0]
xor eax, esp
push eax
lea eax, [esp + 0x898]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
call fcn.0042c22f
lea eax, [esp + 0x3c]
push eax
call fcn.004351ba
xor ebx, ebx
add esi, 0x203c
mov dword [esp + 0x8a0], ebx
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
mov edi, 0x52a55c
cmp eax, ebx
je 0x42bca7
push ebx
push ebx
push ebx
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edi
call fcn.0040255d
push ecx
mov byte [esp + 0x8bc], 1
mov dword [esp + 0x40], esp
mov ecx, esp
push esi
call fcn.004025a1
lea ecx, [esp + 0x58]
mov byte [esp + 0x8bc], bl
call fcn.00435353
mov esi, dword [esp + 0x10]
add esi, 0x2038
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
cmp eax, ebx
je 0x42bcf2
push ebx
push ebx
push ebx
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edi
call fcn.0040255d
push ecx
mov byte [esp + 0x8bc], 2
mov dword [esp + 0x40], esp
mov ecx, esp
push esi
call fcn.004025a1
lea ecx, [esp + 0x58]
mov byte [esp + 0x8bc], bl
call fcn.00435353
mov esi, dword [esp + 0x10]
add esi, 0x2040
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
cmp eax, ebx
je 0x42bd3d
push ebx
push ebx
push ebx
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edi
call fcn.0040255d
push ecx
mov byte [esp + 0x8bc], 3
mov dword [esp + 0x40], esp
mov ecx, esp
push esi
call fcn.004025a1
lea ecx, [esp + 0x58]
mov byte [esp + 0x8bc], bl
call fcn.00435353
mov esi, dword [esp + 0x10]
add esi, 0x2030
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
cmp eax, ebx
je 0x42bd88
push ebx
push ebx
push ebx
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edi
call fcn.0040255d
push ecx
mov byte [esp + 0x8bc], 4
mov dword [esp + 0x40], esp
mov ecx, esp
push esi
call fcn.004025a1
lea ecx, [esp + 0x58]
mov byte [esp + 0x8bc], bl
call fcn.00435353
mov esi, dword [esp + 0x10]
add esi, 0x2034
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
je 0x42bdd1
push ebx
push ebx
push ebx
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edi
call fcn.0040255d
push ecx
mov byte [esp + 0x8bc], 5
mov dword [esp + 0x40], esp
mov ecx, esp
push esi
call fcn.004025a1
lea ecx, [esp + 0x58]
mov byte [esp + 0x8bc], bl
call fcn.00435353
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.0048aa29
push eax
lea ecx, [esp + 0x1c]
call fcn.00402840
mov byte [esp + 0x8a0], 6
call fcn.0048aa29
push eax
lea ecx, [esp + 0x18]
call fcn.00402840
mov byte [esp + 0x8a0], 7
call fcn.0048aa29
push eax
lea ecx, [esp + 0x20]
call fcn.00402840
mov byte [esp + 0x8a0], 8
cmp dword [esp + 0x44], ebx
mov dword [esp + 0x28], ebx
jle 0x42c168
mov dword [esp + 0x30], ebx
mov edi, 0x520938
mov eax, dword [esp + 0x10]
call fcn.0040cd89
test eax, eax
jne 0x42c1e0
cmp dword [esp + 0x30], ebx
jl 0x42c224
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x44]
jge 0x42c224
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
add eax, ecx
add eax, 4
push eax
lea ecx, [esp + 0x1c]
call fcn.0040262c
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0xe1
jg 0x42c151
push ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x3c], esp
mov ecx, esp
push eax
call fcn.004025a1
lea ebx, [esp + 0x54]
call fcn.0040e746
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x8a4], 9
call fcn.0040262c
mov byte [esp + 0x8a0], 8
mov ecx, dword [esp + 0x50]
add ecx, 0xfffffff0
call fcn.00402883
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.0040c5f2
add esp, 0xc
call fcn.0040d9c7
mov ebx, dword [esp + 0x14]
cmp dword [ebx - 0xc], 0
je 0x42c14f
push str.hcp:
xor ecx, ecx
lea esi, [esp + 0x18]
call fcn.004077b1
test eax, eax
je 0x42c14f
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsNetworkPathW]
test eax, eax
jne 0x42c14f
mov eax, dword [ebx - 0xc]
test eax, eax
jl 0x42c21a
movzx ecx, word [ebx]
cmp cx, 0x7b
jne 0x42bf43
lea ecx, [eax - 1]
mov eax, esi
call fcn.00402bdb
cmp ax, 0x7d
je 0x42c14f
push str.installer
xor ecx, ecx
lea esi, [esp + 0x18]
call fcn.004077b1
cmp eax, 0xffffffff
jne 0x42c14f
mov esi, 0x82c
push esi
xor ebx, ebx
lea eax, [esp + 0x60]
push ebx
push eax
call fcn.004adda0
add esp, 0xc
push dword [esp + 0x14]
lea eax, [esp + 0x60]
call fcn.0040c7ea
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x8a4], 0xa
call fcn.0041185d
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x8ac], 0xb
call fcn.0040c5f2
add esp, 0xc
mov byte [esp + 0x8a0], 0xd
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.00402883
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp dword [0x55f220], ebx
je 0x42bfdb
cmp eax, 3
jne 0x42c12c
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.0040f5b2
test al, al
jne 0x42c12c
push ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x3c], esp
mov ecx, esp
push eax
call fcn.004025a1
call fcn.0040cda4
cmp eax, ebx
jne 0x42c12c
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push edi
call fcn.0040255d
push ecx
mov byte [esp + 0x8ac], 0xe
mov ecx, esp
mov dword [esp + 0x64], esp
push edi
call fcn.0040255d
push ecx
mov byte [esp + 0x8b0], 0xf
mov ecx, esp
mov dword [esp + 0x64], esp
push edi
call fcn.0040255d
push ecx
lea eax, [esp + 0x2c]
mov dword [esp + 0x40], esp
mov ecx, esp
push eax
mov byte [esp + 0x8b8], 0x10
call fcn.004025a1
push dword [esp + 0x24]
mov byte [esp + 0x8b8], 0xd
push 0x22
pop ecx
call fcn.0040d1c1
push ecx
mov ebx, eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x30], esp
mov ecx, esp
push eax
call fcn.004025a1
lea esi, [esp + 0x24]
call fcn.0040dacd
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x8a4], 0x11
call fcn.0040262c
mov byte [esp + 0x8a0], 0xd
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.00402883
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.00407190
push ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x30], esp
mov ecx, esp
push eax
call fcn.004025a1
push dword [esp + 0x14]
call fcn.0040d964
push ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x30], esp
mov ecx, esp
push eax
call fcn.004025a1
push dword [esp + 0x14]
call fcn.0040d964
push ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x30], esp
mov ecx, esp
push eax
call fcn.004025a1
push dword [esp + 0x14]
call fcn.0040d964
xor ebx, ebx
mov esi, 0x82c
mov ecx, dword [esp + 0x34]
add ecx, 0xfffffff0
call fcn.00402883
push esi
lea eax, [esp + 0x60]
push ebx
push eax
mov byte [esp + 0x8ac], 8
call fcn.004adda0
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 0x42be34
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x10]
call fcn.0040e862
mov eax, dword [esp + 0x10]
call fcn.0040cd89
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
test eax, eax
jne 0x42c1e7
call fcn.00402883
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.00402883
or dword [esp + 0x8a0], 0xffffffff
lea esi, [esp + 0x3c]
call fcn.0042c547
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.004aa206
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.00402883
or dword [esp + 0x8a0], 0xffffffff
lea esi, [esp + 0x3c]
call fcn.0042c547
push 2
pop eax
jmp 0x42c1bc
push 0x80070057
call fcn.004029b5
call fcn.0048a94a
int3