Function at 0x140016270
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x2c0], rbx
mov rax, qword [0x1400405b0]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rsi, r9
mov r14d, r8d
mov rbx, rdx
mov rdi, rcx
mov qword [rbp - 0x10], rcx
mov qword [rbp - 8], rdx
mov edx, 0x104
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov qword [rbp + 0x38], 0xf
xor r15d, r15d
mov qword [rbp + 0x30], r15
mov byte [rbp + 0x20], r15b
cmp byte [rbp + 0x60], r15b
jne 0x1400162ea
mov r8d, r15d
jmp 0x1400162fb
lea rax, [rbp + 0x60]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r15b
jne 0x1400162f2
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x20]
call fcn.14000e4a0
nop
lea r8, [0x140031280]
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x40]
call fcn.140001460
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rbp]
call fcn.1400013d0
nop
cmp qword [rbp + 0x58], 0x10
jb 0x14001633e
mov rcx, qword [rbp + 0x40]
call fcn.140017034
mov qword [rbp + 0x58], 0xf
mov qword [rbp + 0x50], r15
mov byte [rbp + 0x40], 0
cmp qword [rbp + 0x38], 0x10
jb 0x14001635e
mov rcx, qword [rbp + 0x20]
call fcn.140017034
mov qword [rbp + 0x38], 0xf
mov qword [rbp + 0x30], r15
mov byte [rbp + 0x20], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x48], 0xf
mov qword [rsp + 0x40], r15
mov byte [rsp + 0x30], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14000e2b0
nop
mov qword [rsp + 0x68], 0xf
mov qword [rsp + 0x60], r15
mov byte [rsp + 0x50], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp]
lea rcx, [rsp + 0x50]
call fcn.14000e2b0
nop
mov dword [rsp + 0x20], r15d
mov r9d, 0x440
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x80]
call fcn.140016750
test eax, eax
je 0x140016472
test r14d, r14d
je 0x14001641e
or edx, 0xffffffff
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test rsi, rsi
je 0x140016413
mov rdx, rsi
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rbp + 0x18], 0x10
jb 0x14001642e
mov rcx, qword [rbp]
call fcn.140017034
mov qword [rbp + 0x18], 0xf
mov qword [rbp + 0x10], r15
mov byte [rbp], 0
cmp qword [rdi + 0x18], 0x10
jb 0x14001644d
mov rcx, qword [rdi]
call fcn.140017034
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r15
mov byte [rdi], 0
cmp qword [rbx + 0x18], 0x10
jb 0x14001646b
mov rcx, qword [rbx]
call fcn.140017034
mov eax, 1
jmp 0x1400164c1
cmp qword [rbp + 0x18], 0x10
jb 0x140016482
mov rcx, qword [rbp]
call fcn.140017034
mov qword [rbp + 0x18], 0xf
mov qword [rbp + 0x10], r15
mov byte [rbp], 0
cmp qword [rdi + 0x18], 0x10
jb 0x1400164a1
mov rcx, qword [rdi]
call fcn.140017034
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r15
mov byte [rdi], 0
cmp qword [rbx + 0x18], 0x10
jb 0x1400164bf
mov rcx, qword [rbx]
call fcn.140017034
xor eax, eax
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], r15
mov byte [rbx], 0
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14001a850
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x280
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret