Function at 0x14001c190
Capabilities:
Get common file path

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x15a0]
mov eax, 0x16a0
call fcn.14019e810
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x16d8], rbx
mov qword [rsp + 0x16e0], rsi
mov qword [rsp + 0x16e8], rdi
mov rax, qword [0x14026fdb0]
xor rax, rsp
mov qword [rbp + 0x1590], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor r8d, r8d
lea rdx, str.CheckProcess
lea rcx, [rsp + 0x28]
call fcn.140001190
nop
mov r9, rbx
lea r8, str.szProcessName___s
mov edx, 1
lea rcx, [rsp + 0x28]
call fcn.140001370
mov edx, 0x104
lea rcx, [rbp + 0x1170]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x14001c232
jmp 0x14001c40d
lea r8, [rbp + 0x1170]
lea rdx, str._spsapi.dll
lea rcx, [rbp + 0x1380]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rbp + 0x1380]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r13, rax
test rax, rax
je 0x14001c3f4
lea rdx, str.EnumProcesses
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
lea rdx, str.EnumProcessModules
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
lea rdx, str.GetModuleBaseNameW
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test rbx, rbx
je 0x14001c3f2
test r14, r14
je 0x14001c3f2
test rax, rax
je 0x14001c3f2
xor edi, edi
mov dword [rsp + 0x20], edi
lea r8, [rsp + 0x20]
mov edx, 0x1000
lea rcx, [rsp + 0x60]
call rbx
mov r12d, dword [rsp + 0x20]
shr r12d, 2
test r12d, r12d
je 0x14001c3ce
lea rsi, [rsp + 0x60]
nop dword [rax + rax]
mov r8d, dword [rsi]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14001c37f
xor eax, eax
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], eax
lea r9, [rsp + 0x38]
lea r8d, [rax + 8]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call r14
test eax, eax
je 0x14001c376
xor eax, eax
mov word [rbp + 0xf60], ax
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0xf62]
call fcn.14019d7c0
mov r9d, 0x208
lea r8, [rbp + 0xf60]
mov rdx, qword [rsp + 0x40]
mov rcx, rbx
call r15
mov rdx, qword [rsp + 0x48]
lea rcx, [rbp + 0xf60]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x14001c38f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
add rsi, 4
cmp edi, r12d
jae 0x14001c3ce
jmp 0x14001c2f0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r9d, 1
lea r8, str.return___08x
lea edx, [r9 + 1]
lea rcx, [rsp + 0x28]
call fcn.140001370
nop
lea rcx, [rsp + 0x28]
call fcn.140001320
mov eax, 1
jmp 0x14001c419
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor r9d, r9d
lea r8, str.return___08x
lea edx, [r9 + 2]
lea rcx, [rsp + 0x28]
call fcn.140001370
nop
jmp 0x14001c40d
jmp 0x14001c40d
xor r9d, r9d
lea r8, str.return___08x
lea edx, [r9 + 2]
lea rcx, [rsp + 0x28]
call fcn.140001370
nop
lea rcx, [rsp + 0x28]
call fcn.140001320
xor eax, eax
mov rcx, qword [rbp + 0x1590]
xor rcx, rsp
call fcn.140198b40
lea r11, [rsp + 0x16a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret