Function at 0x42fc98
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e31f5
mov eax, dword fs:[0]
push eax
sub esp, 0x888
mov eax, dword [0x57b750]
xor eax, esp
mov dword [esp + 0x880], eax
push ebx
push esi
push edi
mov eax, dword [0x57b750]
xor eax, esp
push eax
lea eax, [esp + 0x898]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
call fcn.004302cc
lea eax, [esp + 0x3c]
push eax
call fcn.00446467
xor ebx, ebx
add esi, 0x203c
mov dword [esp + 0x8a0], ebx
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
mov edi, 0x52e508
cmp eax, ebx
je 0x42fd42
push ebx
push ebx
push ebx
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edi
call fcn.004024df
push ecx
mov byte [esp + 0x8bc], 1
mov dword [esp + 0x40], esp
mov ecx, esp
push esi
call fcn.0040228a
lea ecx, [esp + 0x58]
mov byte [esp + 0x8bc], bl
call fcn.004465e4
mov esi, dword [esp + 0x10]
add esi, 0x2038
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
cmp eax, ebx
je 0x42fd8d
push ebx
push ebx
push ebx
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edi
call fcn.004024df
push ecx
mov byte [esp + 0x8bc], 2
mov dword [esp + 0x40], esp
mov ecx, esp
push esi
call fcn.0040228a
lea ecx, [esp + 0x58]
mov byte [esp + 0x8bc], bl
call fcn.004465e4
mov esi, dword [esp + 0x10]
add esi, 0x2040
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
cmp eax, ebx
je 0x42fdd8
push ebx
push ebx
push ebx
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edi
call fcn.004024df
push ecx
mov byte [esp + 0x8bc], 3
mov dword [esp + 0x40], esp
mov ecx, esp
push esi
call fcn.0040228a
lea ecx, [esp + 0x58]
mov byte [esp + 0x8bc], bl
call fcn.004465e4
mov esi, dword [esp + 0x10]
add esi, 0x2030
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
cmp eax, ebx
je 0x42fe23
push ebx
push ebx
push ebx
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edi
call fcn.004024df
push ecx
mov byte [esp + 0x8bc], 4
mov dword [esp + 0x40], esp
mov ecx, esp
push esi
call fcn.0040228a
lea ecx, [esp + 0x58]
mov byte [esp + 0x8bc], bl
call fcn.004465e4
mov esi, dword [esp + 0x10]
add esi, 0x2034
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
je 0x42fe6c
push ebx
push ebx
push ebx
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edi
call fcn.004024df
push ecx
mov byte [esp + 0x8bc], 5
mov dword [esp + 0x40], esp
mov ecx, esp
push esi
call fcn.0040228a
lea ecx, [esp + 0x58]
mov byte [esp + 0x8bc], bl
call fcn.004465e4
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.00499991
push eax
lea ecx, [esp + 0x1c]
call fcn.004727f7
mov byte [esp + 0x8a0], 6
call fcn.00499991
push eax
lea ecx, [esp + 0x18]
call fcn.004727f7
mov byte [esp + 0x8a0], 7
call fcn.00499991
push eax
lea ecx, [esp + 0x20]
call fcn.004727f7
mov byte [esp + 0x8a0], 8
cmp dword [esp + 0x44], ebx
mov dword [esp + 0x28], ebx
jle 0x430205
mov dword [esp + 0x30], ebx
mov edi, 0x523938
mov eax, dword [esp + 0x10]
call fcn.00410f23
test eax, eax
jne 0x43027d
cmp dword [esp + 0x30], ebx
jl 0x4302c1
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x44]
jge 0x4302c1
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
add eax, ecx
add eax, 4
push eax
lea ecx, [esp + 0x1c]
call fcn.0040257e
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0xe1
jg 0x4301ee
push ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x3c], esp
mov ecx, esp
push eax
call fcn.0040228a
lea ebx, [esp + 0x54]
call fcn.004128e0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x8a4], 9
call fcn.0040257e
mov byte [esp + 0x8a0], 8
mov ecx, dword [esp + 0x50]
add ecx, 0xfffffff0
call fcn.004027b0
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.0040f56d
add esp, 0xc
call fcn.00411b61
mov ebx, dword [esp + 0x14]
cmp dword [ebx - 0xc], 0
je 0x4301ec
push str.hcp:
xor ecx, ecx
lea esi, [esp + 0x18]
call fcn.004072a5
test eax, eax
je 0x4301ec
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsNetworkPathW]
test eax, eax
jne 0x4301ec
mov eax, dword [ebx - 0xc]
test eax, eax
jl 0x4302b7
movzx ecx, word [ebx]
cmp cx, 0x7b
jne 0x42ffde
lea ecx, [eax - 1]
mov eax, esi
call fcn.00402afd
cmp ax, 0x7d
je 0x4301ec
push str.installer
xor ecx, ecx
lea esi, [esp + 0x18]
call fcn.004072a5
cmp eax, 0xffffffff
jne 0x4301ec
mov esi, 0x82c
push esi
xor ebx, ebx
lea eax, [esp + 0x60]
push ebx
push eax
call fcn.004be850
add esp, 0xc
push dword [esp + 0x14]
lea eax, [esp + 0x60]
call fcn.00410984
push 0x5c
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x8a8], 0xa
call fcn.004159f9
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x8ac], 0xb
call fcn.0040f56d
add esp, 0xc
mov byte [esp + 0x8a0], 0xd
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.004027b0
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp dword [0x57da14], ebx
je 0x430078
cmp eax, 3
jne 0x4301c9
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.0041374c
test al, al
jne 0x4301c9
push ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x3c], esp
mov ecx, esp
push eax
call fcn.0040228a
call fcn.00410f3e
cmp eax, ebx
jne 0x4301c9
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push edi
call fcn.004024df
push ecx
mov byte [esp + 0x8ac], 0xe
mov ecx, esp
mov dword [esp + 0x64], esp
push edi
call fcn.004024df
push ecx
mov byte [esp + 0x8b0], 0xf
mov ecx, esp
mov dword [esp + 0x64], esp
push edi
call fcn.004024df
push ecx
lea eax, [esp + 0x2c]
mov dword [esp + 0x40], esp
mov ecx, esp
push eax
mov byte [esp + 0x8b8], 0x10
call fcn.0040228a
push dword [esp + 0x24]
mov byte [esp + 0x8b8], 0xd
push 0x22
pop ecx
call fcn.0041135b
push ecx
mov ebx, eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x30], esp
mov ecx, esp
push eax
call fcn.0040228a
lea esi, [esp + 0x24]
call fcn.00411c67
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x8a4], 0x11
call fcn.0040257e
mov byte [esp + 0x8a0], 0xd
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.004027b0
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.00406c5a
push ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x30], esp
mov ecx, esp
push eax
call fcn.0040228a
push dword [esp + 0x14]
call fcn.00411afe
push ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x30], esp
mov ecx, esp
push eax
call fcn.0040228a
push dword [esp + 0x14]
call fcn.00411afe
push ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x30], esp
mov ecx, esp
push eax
call fcn.0040228a
push dword [esp + 0x14]
call fcn.00411afe
xor ebx, ebx
mov esi, 0x82c
mov ecx, dword [esp + 0x34]
add ecx, 0xfffffff0
call fcn.004027b0
push esi
lea eax, [esp + 0x60]
push ebx
push eax
mov byte [esp + 0x8ac], 8
call fcn.004be850
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 0x42fecf
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x10]
call fcn.004129fc
mov eax, dword [esp + 0x10]
call fcn.00410f23
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
test eax, eax
jne 0x430284
call fcn.004027b0
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004027b0
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.004027b0
or dword [esp + 0x8a0], 0xffffffff
lea esi, [esp + 0x3c]
call fcn.004305e4
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.004b96ff
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.004027b0
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004027b0
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.004027b0
or dword [esp + 0x8a0], 0xffffffff
lea esi, [esp + 0x3c]
call fcn.004305e4
push 2
pop eax
jmp 0x430259
push 0x80070057
call fcn.004028d7
call fcn.004998d4
int3