Function at 0x14007150c
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 [0x14009b978]
xor rax, rsp
mov qword [rbp + 0x5a0], rax
and qword [rsp + 0x40], 0
mov r14, rdx
and qword [rsp + 0x58], 0
mov rsi, rcx
and qword [rsp + 0x50], 0
mov rcx, qword [0x14009b020]
lea r13, [0x14009b020]
lea rdi, [0x14008ec50]
mov ebx, 5
lea r15d, [rbx - 3]
cmp rcx, r13
je 0x14007159a
test byte [rcx + 0x1c], r15b
je 0x14007159a
cmp byte [rcx + 0x19], bl
jb 0x14007159a
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x10]
mov r8, rdi
call fcn.1400042fc
mov rcx, qword [0x14009b020]
test rsi, rsi
je 0x14007196c
test r14, r14
je 0x14007196c
call qword [sym.imp.KERNEL32.dll_GetVersion]
nop dword [rax + rax]
cmp al, bl
jb 0x140071776
call fcn.14006f2d0
test eax, eax
jne 0x140071776
xorps xmm0, xmm0
lea rcx, [rbp - 0x80]
xor edx, edx
mov r8d, 0x20a
movdqu xmmword [rsp + 0x64], xmm0
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]
nop dword [rax + rax]
test eax, eax
jne 0x140071650
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b020]
cmp rcx, r13
je 0x140071994
test byte [rcx + 0x1c], r15b
je 0x140071994
cmp byte [rcx + 0x19], r15b
jb 0x140071994
mov edx, 0x17
jmp 0x140071985
lea r9, [rbp - 0x80]
mov edx, 0x208
lea r8, str._sFXSSVC.EXE
lea rcx, [rbp + 0x190]
call fcn.140004280
test eax, eax
jns 0x1400716a6
mov rcx, qword [0x14009b020]
cmp rcx, r13
je 0x14007169c
test byte [rcx + 0x1c], r15b
je 0x14007169c
cmp byte [rcx + 0x19], r15b
jb 0x14007169c
mov rcx, qword [rcx + 0x10]
mov edx, 0x18
mov r9d, eax
mov r8, rdi
call fcn.140004328
mov eax, 0x10b
jmp 0x140071996
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x14
lea rcx, [rbp + 0x190]
call fcn.14006a6bc
mov ebx, eax
test eax, 0xfffffffd
je 0x1400716f6
mov rcx, qword [0x14009b020]
cmp rcx, r13
je 0x140071994
test byte [rcx + 0x1c], r15b
je 0x140071994
cmp byte [rcx + 0x19], r15b
jb 0x140071994
mov edx, 0x19
jmp 0x140071985
mov eax, 5
cmp ax, word [rsp + 0x68]
jne 0x140071776
cmp r15w, word [rsp + 0x6a]
jne 0x140071776
mov eax, 0x6f0
cmp ax, word [rsp + 0x6c]
je 0x140071722
mov eax, 0xa28
cmp ax, word [rsp + 0x6c]
jne 0x140071776
call fcn.14007091c
test rax, rax
jne 0x140071768
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b020]
cmp rcx, r13
je 0x140071994
test byte [rcx + 0x1c], r15b
je 0x140071994
cmp byte [rcx + 0x19], r15b
jb 0x140071994
mov edx, 0x1a
jmp 0x140071985
and qword [r14], 0
mov qword [rsi], rax
xor eax, eax
jmp 0x140071996
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]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x1400717d7
mov rcx, qword [0x14009b020]
cmp rcx, r13
je 0x140071994
test byte [rcx + 0x1c], r15b
je 0x140071994
cmp byte [rcx + 0x19], r15b
jb 0x140071994
mov edx, 0x1b
jmp 0x140071985
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea ebx, [r9 + 1]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x140071833
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b020]
cmp rcx, r13
je 0x14007194a
test byte [rcx + 0x1c], r15b
je 0x14007194a
cmp byte [rcx + 0x19], r15b
jb 0x14007194a
lea edx, [rdi + 0x1c]
jmp 0x140071937
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]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x1400718b5
mov rcx, qword [0x14009b020]
cmp rcx, r13
je 0x140071887
test byte [rcx + 0x1c], r15b
je 0x140071887
cmp byte [rcx + 0x19], r15b
jb 0x140071887
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008ec50]
mov edx, 0x1d
mov r9d, eax
call fcn.1400046fc
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140071994
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
jmp 0x140071994
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x58]
mov dword [rsp + 0x28], 4
lea rdx, [0x14008bcf8]
call fcn.140070be0
mov ebx, eax
test eax, eax
jne 0x140071887
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.140070ac4
cmp dword [rsp + 0x48], 4
jne 0x14007195c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop dword [rax + rax]
test eax, eax
jne 0x14007195c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b020]
cmp rcx, r13
je 0x14007194a
test byte [rcx + 0x1c], r15b
je 0x14007194a
cmp byte [rcx + 0x19], r15b
jb 0x14007194a
mov edx, 0x1e
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008ec50]
mov r9d, eax
call fcn.1400046fc
test ebx, ebx
je 0x14007195c
test rdi, rdi
je 0x140071896
jmp 0x140071887
mov rax, qword [rsp + 0x40]
mov qword [rsi], rdi
mov qword [r14], rax
jmp 0x14007176f
mov ebx, 0x57
cmp rcx, r13
je 0x140071994
test byte [rcx + 0x1c], r15b
je 0x140071994
cmp byte [rcx + 0x19], r15b
jb 0x140071994
lea edx, [rbx - 0x41]
mov rcx, qword [rcx + 0x10]
mov r9d, ebx
mov r8, rdi
call fcn.1400046fc
mov eax, ebx
mov rcx, qword [rbp + 0x5a0]
xor rcx, rsp
call fcn.1400018f0
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