Function at 0x140068da4
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x5b0]
sub rsp, 0x6b0
mov rax, qword [0x140094940]
xor rax, rsp
mov qword [rbp + 0x5a0], rax
and qword [rsp + 0x40], 0
mov r14, rdx
and qword [rsp + 0x70], 0
mov rsi, rcx
and qword [rsp + 0x68], 0
mov rcx, qword [str.___t_]
lea r13, str.___t_
lea rdi, [0x140084580]
mov ebx, 5
lea r15d, [rbx - 3]
cmp rcx, r13
je 0x140068e32
test byte [rcx + 0x1c], r15b
je 0x140068e32
cmp byte [rcx + 0x19], bl
jb 0x140068e32
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x10]
mov r8, rdi
call fcn.140001010
mov rcx, qword [str.___t_]
test rsi, rsi
je 0x1400691b0
test r14, r14
je 0x1400691b0
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, bl
jb 0x140068ffd
call fcn.14006739c
test eax, eax
jne 0x140068ffd
xor eax, eax
lea rcx, [rbp - 0x80]
xor edx, edx
mov qword [rsp + 0x50], rax
mov r8d, 0x20a
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x60], eax
call sub.msvcrt.dll_memset
xor edx, edx
lea rcx, [rbp + 0x190]
mov r8d, 0x410
call sub.msvcrt.dll_memset
mov edx, 0x105
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x140068edd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x1400691d8
test byte [rcx + 0x1c], r15b
je 0x1400691d8
cmp byte [rcx + 0x19], r15b
jb 0x1400691d8
mov edx, 0x17
jmp 0x1400691c9
lea r9, [rbp - 0x80]
mov edx, 0x208
lea r8, str._sFXSSVC.EXE
lea rcx, [rbp + 0x190]
call fcn.1400028c0
test eax, eax
jns 0x140068f33
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x140068f29
test byte [rcx + 0x1c], r15b
je 0x140068f29
cmp byte [rcx + 0x19], r15b
jb 0x140068f29
mov rcx, qword [rcx + 0x10]
mov edx, 0x18
mov r9d, eax
mov r8, rdi
call fcn.140001030
mov eax, 0x10b
jmp 0x1400691da
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x14
lea rcx, [rbp + 0x190]
call fcn.140063104
mov ebx, eax
test eax, 0xfffffffd
je 0x140068f83
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x1400691d8
test byte [rcx + 0x1c], r15b
je 0x1400691d8
cmp byte [rcx + 0x19], r15b
jb 0x1400691d8
mov edx, 0x19
jmp 0x1400691c9
mov eax, 5
cmp ax, word [rsp + 0x58]
jne 0x140068ffd
cmp r15w, word [rsp + 0x5a]
jne 0x140068ffd
mov eax, 0x6f0
cmp ax, word [rsp + 0x5c]
je 0x140068faf
mov eax, 0xa28
cmp ax, word [rsp + 0x5c]
jne 0x140068ffd
call fcn.140068c38
test rax, rax
jne 0x140068fef
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x1400691d8
test byte [rcx + 0x1c], r15b
je 0x1400691d8
cmp byte [rcx + 0x19], r15b
jb 0x1400691d8
mov edx, 0x1a
jmp 0x1400691c9
and qword [r14], 0
mov qword [rsi], rax
xor eax, eax
jmp 0x1400691da
lea rax, [rsp + 0x40]
mov r9d, 0x111
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftFaxClientServiceStartup
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
je 0x140069058
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x1400691d8
test byte [rcx + 0x1c], r15b
je 0x1400691d8
cmp byte [rcx + 0x19], r15b
jb 0x1400691d8
mov edx, 0x1b
jmp 0x1400691c9
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea ebx, [r9 + 1]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rdi, rax
test rax, rax
jne 0x1400690a8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x14006917c
test byte [rcx + 0x1c], r15b
je 0x14006917c
cmp byte [rcx + 0x19], r15b
jb 0x14006917c
lea edx, [rdi + 0x1c]
jmp 0x140069169
mov rcx, qword [rsp + 0x40]
xor edx, edx
mov r9, rdi
mov dword [rsp + 0x20], ebx
lea r8d, [rdx + 4]
call qword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
mov ebx, eax
test eax, eax
je 0x1400690f1
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x14006917c
test byte [rcx + 0x1c], r15b
je 0x14006917c
cmp byte [rcx + 0x19], r15b
jb 0x14006917c
mov edx, 0x1d
jmp 0x140069169
lea rax, [rsp + 0x48]
xor ecx, ecx
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x70]
mov dword [rsp + 0x28], 4
lea rdx, [0x140081628]
call fcn.14006899c
mov ebx, eax
test eax, eax
jne 0x140069190
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call fcn.140068b3c
cmp dword [rsp + 0x48], 4
jne 0x140069180
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x140069180
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x14006917c
test byte [rcx + 0x1c], r15b
je 0x14006917c
cmp byte [rcx + 0x19], r15b
jb 0x14006917c
mov edx, 0x1e
mov rcx, qword [rcx + 0x10]
lea r8, [0x140084580]
mov r9d, eax
call fcn.140001030
test ebx, ebx
jne 0x140069190
mov rax, qword [rsp + 0x40]
mov qword [rsi], rdi
mov qword [r14], rax
jmp 0x140068ff6
test rdi, rdi
je 0x14006919e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400691d8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400691d8
mov ebx, 0x57
cmp rcx, r13
je 0x1400691d8
test byte [rcx + 0x1c], r15b
je 0x1400691d8
cmp byte [rcx + 0x19], r15b
jb 0x1400691d8
lea edx, [rbx - 0x41]
mov rcx, qword [rcx + 0x10]
mov r9d, ebx
mov r8, rdi
call fcn.140001030
mov eax, ebx
mov rcx, qword [rbp + 0x5a0]
xor rcx, rsp
call fcn.140077900
lea r11, [rsp + 0x6b0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret