Function at 0x140086030
Capabilities:
Get common file path

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1590]
mov eax, 0x1690
call fcn.14024c240
sub rsp, rax
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x16c0], rbx
mov qword [rsp + 0x16d0], rsi
mov qword [rsp + 0x16d8], rdi
mov rax, qword [0x140398250]
xor rax, rsp
mov qword [rbp + 0x1580], rax
mov rbx, rdx
mov qword [rsp + 0x40], rdx
xor r8d, r8d
lea rdx, str.CBaseFuncSub::FS_CheckProcess
lea rcx, [rsp + 0x20]
call fcn.1400075a0
nop
mov r9, rbx
lea r8, str.szProcessName___s
mov edx, 1
lea rcx, [rsp + 0x20]
call fcn.140007780
mov edx, 0x104
lea rcx, [rbp + 0x1160]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x1400860ea
xor r9d, r9d
lea r8, str.return___08x
lea edx, [rax + 2]
lea rcx, [rsp + 0x20]
call fcn.140007780
nop
jmp 0x1400862e6
lea r9, str.psapi.dll
lea r8, [rbp + 0x1160]
lea rdx, [0x1402dd6b0]
lea rcx, [rbp + 0x1370]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rbp + 0x1370]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r13, rax
test rax, rax
je 0x1400862cd
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 0x1400862b2
test r14, r14
je 0x1400862b2
test rax, rax
je 0x1400862b2
xor edi, edi
mov dword [rsp + 0x30], edi
lea r8, [rsp + 0x30]
mov edx, 0x400
lea rcx, [rsp + 0x50]
call rbx
mov r12d, dword [rsp + 0x30]
shr r12d, 2
test r12d, r12d
je 0x14008628e
lea rsi, [rsp + 0x50]
nop word [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 0x14008623f
xor eax, eax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x34], eax
lea r9, [rsp + 0x34]
lea r8d, [rax + 8]
lea rdx, [rsp + 0x38]
mov rcx, rbx
call r14
test eax, eax
je 0x140086236
xor eax, eax
mov word [rbp + 0xf50], ax
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0xf52]
call fcn.14024b970
mov r9d, 0x104
lea r8, [rbp + 0xf50]
mov rdx, qword [rsp + 0x38]
mov rcx, rbx
call r15
mov rdx, qword [rsp + 0x40]
lea rcx, [rbp + 0xf50]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x14008624f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
add rsi, 4
cmp edi, r12d
jae 0x14008628e
jmp 0x1400861b0
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 + 0x20]
call fcn.140007780
nop
lea rcx, [rsp + 0x20]
call fcn.140007730
mov eax, 1
jmp 0x1400862f2
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 + 0x20]
call fcn.140007780
nop
jmp 0x1400862e6
xor r9d, r9d
lea r8, str.return___08x
lea edx, [r9 + 2]
lea rcx, [rsp + 0x20]
call fcn.140007780
nop
jmp 0x1400862e6
xor r9d, r9d
lea r8, str.return___08x
lea edx, [r9 + 2]
lea rcx, [rsp + 0x20]
call fcn.140007780
nop
lea rcx, [rsp + 0x20]
call fcn.140007730
xor eax, eax
mov rcx, qword [rbp + 0x1580]
xor rcx, rsp
call fcn.140245660
lea r11, [rsp + 0x1690]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret