Function at 0x14000bed0
Capabilities:
Get common file path
Read .ini file

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x10f70
call fcn.1400a28a0
sub rsp, rax
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov qword [rsp + 0x10fc0], rbx
mov rax, qword [0x1400e71f0]
xor rax, rsp
mov qword [rsp + 0x10f60], rax
mov r15, rdx
mov qword [rsp + 0x60], rdx
mov rbx, rcx
mov qword [rsp + 0x98], rdx
lea rcx, [rsp + 0x70]
call fcn.140067970
nop
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x760]
call fcn.140080d50
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x550]
call fcn.140080d50
mov edx, 0x104
lea rcx, [rsp + 0x550]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r13, [rbx + 0x30]
mov qword [rsp + 0x48], r13
mov rax, qword [r13]
lea rdx, [rax - 0x18]
mov rdi, qword [rdx]
or rbp, 0xffffffffffffffff
xor esi, esi
cmp dword [rdx + 8], esi
je 0x14000bfd2
cmp dword [rdx + 0x10], esi
jge 0x14000bfaa
cmp dword [rax - 0xc], esi
jge 0x14000bf9e
mov ecx, 0x80070057
call fcn.140001000
int3
mov dword [rax - 0x10], esi
mov rax, qword [r13]
mov word [rax], si
jmp 0x14000bfd2
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000bfc1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [r13], rax
lea r14, [rbx + 0x38]
mov rax, qword [r14]
lea rdx, [rax - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], esi
je 0x14000c02c
cmp dword [rdx + 0x10], esi
jge 0x14000c005
cmp dword [rax - 0xc], esi
jge 0x14000bffa
mov ecx, 0x80070057
call fcn.140001000
int3
mov dword [rax - 0x10], esi
mov rax, qword [r14]
mov word [rax], si
jmp 0x14000c02c
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000c01c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [r14], rax
lea rcx, [rsp + 0x550]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
cmp word [rsp + rcx*2 + 0x54e], 0x5c
je 0x14000c05d
lea rdx, [0x1400a3ff4]
lea rcx, [rsp + 0x550]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea r12, [rbx + 0x28]
mov qword [rsp + 0x50], r12
mov rcx, qword [r12]
cmp dword [rcx - 0x10], esi
jne 0x14000c166
lea rdx, str.UninstSi.ini
lea rcx, [rsp + 0x550]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x550]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
jne 0x14000c131
mov rax, qword [r12]
lea rdx, [rax - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], esi
je 0x14000c101
cmp dword [rdx + 0x10], esi
jge 0x14000c0d9
cmp dword [rax - 0xc], esi
jge 0x14000c0cd
mov ecx, 0x80070057
call fcn.140001000
int3
mov dword [rax - 0x10], esi
mov rax, qword [r12]
mov word [rax], si
jmp 0x14000c101
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000c0f0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [r12], rax
lea rcx, [rsp + 0x70]
call fcn.140067fc8
nop
mov rdx, qword [r15]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebp
add ebp, 0xffffffff
test ebp, ebp
jg 0x14000c9eb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14000c9eb
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
mov rcx, rbp
lea rdi, [rsp + 0x550]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x550]
mov rcx, r12
call fcn.140003c40
jmp 0x14000c210
lea rdx, [rsp + 0x300]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
jne 0x14000c207
mov rax, qword [r12]
lea rdx, [rax - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], esi
je 0x14000c1d7
cmp dword [rdx + 0x10], esi
jge 0x14000c1af
cmp dword [rax - 0xc], esi
jge 0x14000c1a3
mov ecx, 0x80070057
call fcn.140001000
int3
mov dword [rax - 0x10], esi
mov rax, qword [r12]
mov word [rax], si
jmp 0x14000c1d7
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000c1c6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [r12], rax
lea rcx, [rsp + 0x70]
call fcn.140067fc8
nop
mov rdx, qword [r15]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebp
add ebp, 0xffffffff
test ebp, ebp
jg 0x14000c9eb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14000c9eb
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
xor edx, edx
mov r8d, 0xfffe
lea rcx, [rsp + 0xf60]
call fcn.140080d50
mov rdx, qword [r12]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x7fff
lea r9, [rsp + 0xf60]
lea r8, [0x1400a4510]
xor edx, edx
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x14000c337
mov rax, qword [r13]
lea rdx, [rax - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], esi
je 0x14000c2b1
cmp dword [rdx + 0x10], esi
jge 0x14000c289
cmp dword [rax - 0xc], esi
jge 0x14000c27d
mov ecx, 0x80070057
call fcn.140001000
int3
mov dword [rax - 0x10], esi
mov rax, qword [r13]
mov word [rax], si
jmp 0x14000c2b1
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000c2a0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [r13], rax
mov rax, qword [r14]
lea rdx, [rax - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], esi
je 0x14000c307
cmp dword [rdx + 0x10], esi
jge 0x14000c2e0
cmp dword [rax - 0xc], esi
jge 0x14000c2d5
mov ecx, 0x80070057
call fcn.140001000
int3
mov dword [rax - 0x10], esi
mov rax, qword [r14]
mov word [rax], si
jmp 0x14000c307
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000c2f7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [r14], rax
lea rcx, [rsp + 0x70]
call fcn.140067fc8
nop
mov rdx, qword [r15]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebp
add ebp, 0xffffffff
test ebp, ebp
jg 0x14000c9eb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14000c9eb
call fcn.1400696cc
mov rdx, rax
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
jne 0x14000c356
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0xf60]
cmp word [rax], 0
jne 0x14000c382
cmp word [rax + 2], 0
je 0x14000c388
mov word [rax], 9
add rax, 2
jmp 0x14000c370
mov qword [rsp + 0x68], rsi
lea r8, [rsp + 0x68]
lea rdx, reloc.OLEAUT32.dll_VariantCopy
lea rcx, [rsp + 0xf60]
call fcn.140081d80
mov rsi, rax
test rax, rax
je 0x14000c59f
call fcn.1400696cc
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
je 0x14000c594
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
lea r10, [rax + 0x18]
mov qword [rsp + 0x30], r10
test rsi, rsi
je 0x14000c4bf
test rsi, 0xffffffffffff0000
jne 0x14000c413
movzx edi, si
mov ecx, edi
call fcn.1400696b8
test rax, rax
je 0x14000c51a
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140003a40
jmp 0x14000c51a
xor eax, eax
mov rcx, rbp
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
je 0x14000c4bf
mov ebx, dword [r10 - 0x10]
mov r12, rsi
sub r12, r10
sar r12, 1
mov edx, 1
sub edx, dword [r10 - 8]
mov eax, dword [r10 - 0xc]
sub eax, ecx
or eax, edx
jge 0x14000c461
mov edx, ecx
lea rcx, [rsp + 0x30]
call fcn.140003180
mov r10, qword [rsp + 0x30]
cmp r12, rbx
ja 0x14000c481
movsxd rax, edi
lea rbx, [rax + rax]
lea r8, [r10 + r12*2]
mov r9, rbx
mov rdx, rbx
mov rcx, r10
call fcn.140081c40
jmp 0x14000c499
movsxd rax, edi
lea rbx, [rax + rax]
mov r9, rbx
mov r8, rsi
mov rdx, rbx
mov rcx, r10
call fcn.140080540
test edi, edi
js 0x14000c572
mov rax, qword [rsp + 0x30]
cmp edi, dword [rax - 0xc]
jg 0x14000c572
mov dword [rax - 0x10], edi
mov rax, qword [rsp + 0x30]
mov word [rbx + rax], 0
jmp 0x14000c51a
lea rdx, [r10 - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14000c51a
cmp dword [rdx + 0x10], 0
jge 0x14000c4f1
cmp dword [r10 - 0xc], 0
jl 0x14000c57d
mov dword [r10 - 0x10], 0
mov rax, qword [rsp + 0x30]
mov word [rax], 0
jmp 0x14000c51a
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000c508
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x30]
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x70]
call fcn.140068200
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000c552
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, [rsp + 0x68]
lea rdx, reloc.OLEAUT32.dll_VariantCopy
xor ecx, ecx
call fcn.140081d80
mov rsi, rax
test rax, rax
je 0x14000c588
jmp 0x14000c3b2
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 0x80070057
call fcn.140001000
nop
mov rbx, qword [rsp + 0x40]
mov r12, qword [rsp + 0x50]
jmp 0x14000c59f
mov ecx, 0x80004005
call fcn.140001000
int3
mov dword [rsp + 0x38], 0
xor edi, edi
mov qword [rsp + 0x58], rdi
mov rcx, qword [rsp + 0x80]
test rcx, rcx
jle 0x14000c9a8
nop
mov rdx, qword [r12]
test rdi, rdi
js 0x14000c9a2
cmp rdi, rcx
jge 0x14000c9a2
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x760]
lea r8, [0x1400a4510]
mov rdx, qword [rax + rdi*8]
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov rcx, rbp
lea rdi, [rsp + 0x760]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x14000c679
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14000c703
cmp dword [rdx + 0x10], eax
jge 0x14000c64b
cmp dword [rbx - 0xc], eax
jl 0x14000c960
mov dword [rbx - 0x10], eax
mov word [rbx], ax
jmp 0x14000c703
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000c662
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
jmp 0x14000c703
mov esi, dword [rbx - 0x10]
lea r12, [rsp + 0x760]
sub r12, rbx
sar r12, 1
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14000c6ac
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.140003180
mov rbx, qword [rsp + 0x40]
cmp r12, rsi
ja 0x14000c6cc
movsxd rax, edi
lea rsi, [rax + rax]
lea r8, [rbx + r12*2]
mov r9, rsi
mov rdx, rsi
mov rcx, rbx
call fcn.140081c40
jmp 0x14000c6e9
movsxd rax, edi
lea rsi, [rax + rax]
mov r9, rsi
lea r8, [rsp + 0x760]
mov rdx, rsi
mov rcx, rbx
call fcn.140080540
test edi, edi
js 0x14000c997
cmp edi, dword [rbx - 0xc]
jg 0x14000c997
mov dword [rbx - 0x10], edi
mov word [rsi + rbx], 0
cmp dword [rbx - 0x10], 1
jl 0x14000c92a
lea rdx, str.Delete_Printer_Name
mov rcx, qword [r15]
call fcn.1400807e0
test eax, eax
jne 0x14000c829
xor eax, eax
mov rcx, rbp
lea rdi, [rsp + 0x760]
repne scasw ax, word [rdi]
not rcx
lea r15, [rcx - 1]
lea r12, [rsp + 0x760]
mov rax, qword [r13]
lea rsi, [rsp + 0x760]
sub rsi, rax
sar rsi, 1
mov r13d, dword [rax - 0x10]
lea edi, [r13 + rcx - 1]
mov edx, 1
sub edx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edi
or eax, edx
jge 0x14000c77b
mov edx, edi
mov rcx, qword [rsp + 0x48]
call fcn.140003180
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
cmp rsi, r13
ja 0x14000c78c
lea r12, [rax + rsi*2]
movsxd rdx, r15d
add rdx, rdx
lea rcx, [rax + r13*2]
mov r9, rdx
mov r8, r12
call fcn.140080540
test edi, edi
js 0x14000c976
mov r13, qword [rsp + 0x48]
mov rax, qword [r13]
cmp edi, dword [rax - 0xc]
jg 0x14000c976
mov dword [rax - 0x10], edi
movsxd rcx, edi
mov rax, qword [r13]
mov word [rax + rcx*2], 0
mov rax, qword [r13]
mov esi, dword [rax - 0x10]
lea edi, [rsi + 1]
mov ecx, 1
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edi
or eax, ecx
jge 0x14000c7f0
mov edx, edi
mov rcx, r13
call fcn.140003180
mov rcx, qword [r13]
mov word [rcx + rsi*2], 9
test edi, edi
js 0x14000c96b
mov rax, qword [r13]
cmp edi, dword [rax - 0xc]
jg 0x14000c96b
mov dword [rax - 0x10], edi
movsxd rcx, edi
mov rax, qword [r13]
mov word [rax + rcx*2], 0
mov r15, qword [rsp + 0x60]
jmp 0x14000c92a
lea rdx, str.Delete_Driver_Name
mov rcx, qword [r15]
call fcn.1400807e0
test eax, eax
jne 0x14000c92a
xor eax, eax
mov rcx, rbp
lea rdi, [rsp + 0x760]
repne scasw ax, word [rdi]
not rcx
lea r15, [rcx - 1]
lea r12, [rsp + 0x760]
mov rax, qword [r14]
lea rsi, [rsp + 0x760]
sub rsi, rax
sar rsi, 1
mov r13d, dword [rax - 0x10]
lea edi, [r13 + rcx - 1]
mov edx, 1
sub edx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edi
or eax, edx
jge 0x14000c894
mov edx, edi
mov rcx, r14
call fcn.140003180
mov rax, qword [r14]
cmp rsi, r13
ja 0x14000c8a0
lea r12, [rax + rsi*2]
movsxd rdx, r15d
add rdx, rdx
lea rcx, [rax + r13*2]
mov r9, rdx
mov r8, r12
call fcn.140080540
test edi, edi
js 0x14000c98c
mov rax, qword [r14]
cmp edi, dword [rax - 0xc]
jg 0x14000c98c
mov dword [rax - 0x10], edi
movsxd rcx, edi
mov rax, qword [r14]
mov word [rax + rcx*2], 0
mov rax, qword [r14]
mov esi, dword [rax - 0x10]
lea edi, [rsi + 1]
mov ecx, 1
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edi
or eax, ecx
jge 0x14000c8fc
mov edx, edi
mov rcx, r14
call fcn.140003180
mov rcx, qword [r14]
mov word [rcx + rsi*2], 9
test edi, edi
js 0x14000c981
mov rax, qword [r14]
cmp edi, dword [rax - 0xc]
jg 0x14000c981
mov dword [rax - 0x10], edi
movsxd rcx, edi
mov rax, qword [r14]
mov word [rax + rcx*2], 0
mov r13, qword [rsp + 0x48]
mov r15, qword [rsp + 0x60]
mov r8d, dword [rsp + 0x38]
add r8d, 1
mov dword [rsp + 0x38], r8d
mov rdi, qword [rsp + 0x58]
add rdi, 1
mov qword [rsp + 0x58], rdi
movsxd rax, r8d
mov rcx, qword [rsp + 0x80]
cmp rax, rcx
jge 0x14000c9a8
mov r12, qword [rsp + 0x50]
jmp 0x14000c5c0
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 0x80070057
call fcn.140001000
int3
call fcn.14006766c
nop
lea rdx, [rbx - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000c9c4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x70]
call fcn.140067fc8
nop
mov rdx, qword [r15]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebp
add ebp, 0xffffffff
test ebp, ebp
jg 0x14000c9eb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x10f60]
xor rcx, rsp
call fcn.140081050
mov rbx, qword [rsp + 0x10fc0]
add rsp, 0x10f70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret