Function at 0x14002af60
Capabilities:
Get disk information
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x680
mov qword [rsp + 0xc8], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x14010bfc0]
xor rax, rsp
mov qword [rsp + 0x670], rax
mov r12, rdx
mov rbp, rcx
lea r8, str.CPrinterUninstaller::FindGluePath____r_n
mov edx, 2
lea r15, [0x14010f570]
mov rcx, r15
call fcn.140001000
xor r14d, r14d
mov esi, r14d
lea rdi, [rbp + 0x98]
mov rcx, rdi
call fcn.1400980d0
cmp rax, r14
jbe 0x14002afdb
lea esi, [r14 + 1]
jmp 0x14002b69f
mov byte [rsp + 0x230], r14b
mov ebx, 0x103
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x231]
call fcn.1400988d0
mov byte [rsp + 0x120], r14b
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x121]
call fcn.1400988d0
mov rax, qword [rbp + 0x88]
mov r9d, dword [rax + 0x770]
lea r8, str.hpzglu_02d.exe
lea r13d, [rbx + 1]
mov rdx, r13
lea rcx, [rsp + 0x230]
call fcn.14009841c
mov byte [rsp + 0x340], r14b
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x341]
call fcn.1400988d0
mov byte [rsp + 0x560], r14b
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x561]
call fcn.1400988d0
mov r11, qword [rbp + 0x88]
mov r8, qword [r11 + 0x1c8]
mov rdx, r13
lea rcx, [rsp + 0x560]
call fcn.1400986e0
mov edx, r13d
lea rcx, [rsp + 0x340]
call fcn.14003ea68
mov ebx, 1
cmp eax, r14d
je 0x14002b1ed
lea ecx, [rbx + 7]
call fcn.140061238
cmp rax, r14
je 0x14002b0c4
lea rcx, [rsp + 0x60]
mov qword [rax], rcx
jmp 0x14002b0c7
mov rax, r14
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x60]
call fcn.140005ed4
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], r14
lea r8, [0x1400c55c0]
mov rdx, r13
lea rcx, [rsp + 0x340]
call fcn.140098ed8
mov r11, qword [rbp + 0x88]
cmp qword [r11 + 0x2e8], 0x10
jb 0x14002b117
mov r8, qword [r11 + 0x2d0]
jmp 0x14002b11e
lea r8, [r11 + 0x2d0]
mov rdx, r13
lea rcx, [rsp + 0x340]
call fcn.140098ed8
mov r9, qword [rbp + 8]
mov r9, qword [r9 + 0x368]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x340]
lea rcx, [rsp + 0x230]
call fcn.140055b88
cmp qword [rsp + 0x90], r14
je 0x14002b1bb
mov rax, qword [rsp + 0x88]
mov rsi, qword [rax]
mov r11, qword [rsp + 0x60]
cmp r11, r14
jne 0x14002b17c
call fcn.14009861c
mov r11, r14
jmp 0x14002b17f
mov r11, qword [r11]
cmp rsi, qword [r11 + 0x28]
jne 0x14002b18a
call fcn.14009861c
cmp qword [rsi + 0x30], 0x10
jb 0x14002b197
mov rcx, qword [rsi + 0x18]
jmp 0x14002b19b
lea rcx, [rsi + 0x18]
mov r8d, r13d
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov r8, rdi
lea rdx, str.Found_Glue_in___s__n
mov rcx, r15
call fcn.14004b9f0
mov esi, ebx
lea rcx, [rsp + 0x60]
call fcn.140007328
mov rcx, qword [rsp + 0x88]
call fcn.14006127c
mov qword [rsp + 0x88], r14
mov rcx, qword [rsp + 0x60]
call fcn.14006127c
cmp esi, r14d
jne 0x14002b69f
lea rcx, [rsp + 0x98]
call fcn.14007035c
nop
mov qword [rsp + reloc.OLEAUT32.dll_SafeArrayDestroy0], 0xf
mov qword [rsp + 0xe8], r14
mov byte [rsp + 0xd8], r14b
lea r13, [0x1400c49dc]
mov rcx, r13
call fcn.1400980d0
mov r8, rax
mov rdx, r13
lea rcx, [rsp + 0xd0]
call fcn.14000352c
nop
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x118], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x110], r14
mov byte [rsp + 0x100], r14b
mov rcx, r13
call fcn.1400980d0
mov r8, rax
mov rdx, r13
lea rcx, [rsp + 0xf8]
call fcn.14000352c
nop
mov byte [rsp + 0x450], r14b
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x451]
call fcn.1400988d0
mov r13d, 0x104
mov dword [rsp + 0x34], r13d
mov rax, qword [rbp + 0x88]
cmp qword [rax + 0x360], 0x10
jb 0x14002b2be
mov r9, qword [rax + 0x348]
jmp 0x14002b2c5
lea r9, [rax + 0x348]
mov qword [rsp + 0x20], r12
lea r8, str.SOFTWARE_sHPZGlue_s
mov rdx, r13
lea rcx, [rsp + 0x120]
call fcn.14009841c
lea rcx, [rsp + 0x120]
call fcn.1400980d0
mov r8, rax
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0xf8]
call fcn.14000352c
lea r8, [rsp + 0x100]
cmp qword [rsp + 0x118], 0x10
cmovae r8, qword [rsp + 0x100]
mov rdx, 0xffffffff80000002
mov r9d, 0x20019
lea rcx, [rsp + 0x38]
call fcn.14000bc38
cmp eax, r14d
jne 0x14002b474
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x450]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.GluePath
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, r14d
jne 0x14002b474
lea rax, [rsp + 0x230]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x450]
lea r8, str._s_s
mov rdx, r13
lea rcx, [rsp + 0x120]
call fcn.14009841c
lea rcx, [rsp + 0x120]
call fcn.1400980d0
mov r8, rax
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0xd0]
call fcn.14000352c
lea rdx, [rsp + 0xd8]
cmp qword [rsp + 0xf0], 0x10
cmovae rdx, qword [rsp + 0xd8]
xor r8d, r8d
lea rcx, [rsp + 0x98]
call fcn.14007045c
cmp eax, r14d
je 0x14002b474
lea rcx, [rsp + 0x98]
call fcn.14006ffa8
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x98]
call fcn.14007081c
mov r8d, r13d
mov rdx, rdi
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
cmp eax, r14d
jg 0x14002b447
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
mov r9, rdi
lea r8, str.Found_Glue_in___s__n
mov edx, ebx
mov rcx, r15
call fcn.140001000
mov r8, rdi
lea rdx, str.Found_Glue_in___s__n
mov rcx, r15
call fcn.14004b9f0
mov esi, ebx
jmp 0x14002b61d
xor r8d, r8d
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x98]
call fcn.14007045c
cmp eax, r14d
je 0x14002b4fb
lea rcx, [rsp + 0x98]
call fcn.14006ffa8
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x98]
call fcn.14007081c
mov r8d, r13d
mov rdx, rdi
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
cmp eax, r14d
jg 0x14002b4e0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
mov r9, rdi
lea r8, str.Found_Glue_in___s__n
mov edx, ebx
mov rcx, r15
call fcn.140001000
mov esi, ebx
jmp 0x14002b61d
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebp, eax
mov dword [rsp + 0x30], 0x5c3a61
cmp eax, r14d
je 0x14002b61d
test bl, bpl
je 0x14002b5ab
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x14002b5ab
movsx r9d, byte [rsp + 0x30]
lea rax, [rsp + 0x230]
mov qword [rsp + 0x20], rax
lea r8, str._c:_s
mov rdx, r13
lea rcx, [rsp + 0x120]
call fcn.14009841c
lea rcx, [rsp + 0x120]
call fcn.1400980d0
mov r8, rax
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0xd0]
call fcn.14000352c
lea rdx, [rsp + 0xd8]
cmp qword [rsp + 0xf0], 0x10
cmovae rdx, qword [rsp + 0xd8]
xor r8d, r8d
lea rcx, [rsp + 0x98]
call fcn.14007045c
cmp eax, r14d
jne 0x14002b5b8
add byte [rsp + 0x30], bl
shr ebp, 1
je 0x14002b61d
jmp 0x14002b514
lea rcx, [rsp + 0x98]
call fcn.14006ffa8
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x98]
call fcn.14007081c
mov r8d, r13d
mov rdx, rdi
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
cmp eax, r14d
jg 0x14002b607
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
mov r9, rdi
lea r8, str.Found_Glue_in___s__n
mov edx, ebx
mov rcx, r15
call fcn.140001000
mov esi, ebx
cmp qword [rsp + 0x118], 0x10
jb 0x14002b635
mov rcx, qword [rsp + 0x100]
call fcn.14006127c
mov ebx, reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x118], rbx
mov qword [rsp + 0x110], r14
mov byte [rsp + 0x100], r14b
mov rcx, qword [rsp + 0x38]
cmp rcx, r14
je 0x14002b662
call fcn.14004e608
nop
cmp qword [rsp + 0xf0], 0x10
jb 0x14002b67a
mov rcx, qword [rsp + 0xd8]
call fcn.14006127c
mov qword [rsp + 0xf0], rbx
mov qword [rsp + 0xe8], r14
mov byte [rsp + 0xd8], r14b
lea rcx, [rsp + 0x98]
call fcn.1400703b4
lea r8, str.CPrinterUninstaller::FindGluePath____r_n
mov edx, 4
mov rcx, r15
call fcn.140001000
mov eax, esi
mov rcx, qword [rsp + 0x670]
xor rcx, rsp
call fcn.140061100
mov rbx, qword [rsp + 0x6d0]
add rsp, 0x680
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret