Function at 0x140002260
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x14005f020]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
movzx ebx, r9b
mov rsi, rcx
mov qword [rsp + 0x50], rcx
cmp qword [rdx + 0x18], 8
jb 0x1400022a6
mov rdx, qword [rdx]
lea rax, [0x140054508]
mov qword [rcx], rax
xor r12d, r12d
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
mov r8d, 0xc8
add rcx, 0x18
call fcn.140007d20
test bl, bl
je 0x1400022d8
lea rcx, [rsi + 0x18]
call fcn.140007e50
nop
lea rax, [0x140054500]
mov qword [rsi], rax
mov rax, qword [rbp + 0x240]
mov qword [rsi + 0x20], rax
mov qword [rsi + 0x28], r12
mov qword [rsi + 0x38], r12
mov qword [rsi + 0x40], 7
mov word [rsi + 0x28], r12w
mov rcx, rsi
call fcn.140006380
mov rax, qword [rsi + 8]
test rax, rax
je 0x140002322
mov rax, qword [rax]
xor ecx, ecx
mov rax, qword [rax + 0x40]
call qword [case.0x14001392e.0]
lea rcx, [rbp - 0x60]
call fcn.140001fa0
nop
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
mov r14, qword [rbp - 0x50]
sub rax, r14
cmp rax, 0x12
jb 0x140002707
lea r13, [rbp - 0x60]
mov r15, qword [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae r13, r15
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
lea r12, [r14 + 0x12]
mov ebx, 7
lea rdi, [rsp + 0x60]
lea eax, [rbx + 3]
cmp r12, rbx
jbe 0x1400023ae
mov rbx, r12
or rbx, 7
cmp rbx, rcx
jbe 0x140002391
mov rbx, rcx
jmp 0x140002398
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x60]
call fcn.140006050
mov rdi, rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], rbx
lea rbx, [r14 + r14]
mov r8, rbx
mov rdx, r13
mov rcx, rdi
call fcn.140021d20
movups xmm0, xmmword [str.x64TVMonitor.inf]
movups xmmword [rbx + rdi], xmm0
movups xmm1, xmmword [0x140052fd8]
movups xmmword [rbx + rdi + 0x10], xmm1
mov eax, dword [0x140052fe8]
mov dword [rbx + rdi + 0x20], eax
xor eax, eax
mov word [rdi + r12*2], ax
xor r12d, r12d
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], r12b
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.1400049a0
lea rbx, [0x14005fc80]
lea rax, [0x14005fd00]
mov r13, qword [rbp - 0x68]
mov rdi, qword [rbp - 0x70]
mov r14, qword [rbp - 0x80]
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbp - 0x80]
cmp r13, 0x10
cmovae rdx, r14
mov r8, qword [rbx + 0x10]
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14000245d
mov rcx, qword [rbx]
cmp r8, rdi
jne 0x140002472
call fcn.1400225f0
test eax, eax
je 0x140002481
lea rax, [0x14005fd00]
add rbx, 0x20
cmp rbx, rax
je 0x1400026ec
jmp 0x140002440
mov edx, 0x104
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r12w
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400024b4
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x30]
call fcn.1400055e0
nop
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rax, 5
jb 0x14000251e
lea rdi, [rcx + 5]
mov qword [rsp + 0x40], rdi
lea rbx, [rsp + 0x30]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x30]
lea rcx, [rbx + rcx*2]
mov r8d, 0xa
lea rdx, str.inf_
call fcn.140021d20
mov word [rbx + rdi*2], r12w
lea rax, [rsp + 0x30]
jmp 0x14000253f
mov qword [rsp + 0x20], 5
lea r9, str.inf_
xor r8d, r8d
lea edx, [r8 + 5]
lea rcx, [rsp + 0x30]
call fcn.140006190
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
lea rdx, [rbp - 0x80]
lea rcx, [rsi + 0x28]
call fcn.1400054a0
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x1400025ac
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400025a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000270d
call fcn.14001f790
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1400025ef
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400025e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002713
call fcn.14001f790
nop
cmp r13, 0x10
jb 0x140002627
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x14000261e
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002719
mov rcx, r14
call fcn.14001f790
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140002669
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002664
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000271f
call fcn.14001f790
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r12w
mov rax, qword [rbp - 0x48]
cmp rax, 8
jb 0x1400026b9
lea rdx, [rax*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x1400026b0
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400026e6
mov rcx, r15
call fcn.14001f790
nop
mov rax, rsi
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.14001f770
mov rbx, qword [rsp + 0x330]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14002b368
nop
lea r8, str.CDriverInstaller::c_tor__:_Provided_TVMonitor.inf_file_is_unknown_to_the_loader__Add_to_DB_
mov edx, 0xc8
lea rcx, [rsi + 0x18]
call fcn.140007ee0
call fcn.14002a9d4
nop
call fcn.140001f80
nop
call fcn.14002b368
nop
call fcn.14002b368
nop
call fcn.14002b368
nop
call fcn.14002b368
int3