Function at 0x140017bd0
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 [0x1400425e0]
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 0x140017c4a
mov r8d, r15d
jmp 0x140017c5b
lea rax, [rbp + 0x60]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r15b
jne 0x140017c52
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x20]
call fcn.14000e9b0
nop
lea r8, [0x1400332e0]
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x40]
call fcn.1400014a0
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rbp]
call fcn.140001410
nop
cmp qword [rbp + 0x58], 0x10
jb 0x140017c9e
mov rcx, qword [rbp + 0x40]
call fcn.140018d84
mov qword [rbp + 0x58], 0xf
mov qword [rbp + 0x50], r15
mov byte [rbp + 0x40], 0
cmp qword [rbp + 0x38], 0x10
jb 0x140017cbe
mov rcx, qword [rbp + 0x20]
call fcn.140018d84
mov qword [rbp + 0x38], 0xf
mov qword [rbp + 0x30], r15
mov byte [rbp + 0x20], 0
mov dword [rbp - 0x80], r15d
xor edx, edx
lea r8d, [rdx + 0x6c]
lea rcx, [rbp - 0x7c]
call fcn.140019790
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.14000e7c0
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.14000e7c0
nop
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
mov r9d, 0x440
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x80]
call fcn.1400180a0
test eax, eax
je 0x140017dea
test r14d, r14d
je 0x140017d96
or edx, 0xffffffff
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test rsi, rsi
je 0x140017d8b
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 0x140017da6
mov rcx, qword [rbp]
call fcn.140018d84
mov qword [rbp + 0x18], 0xf
mov qword [rbp + 0x10], r15
mov byte [rbp], 0
cmp qword [rdi + 0x18], 0x10
jb 0x140017dc5
mov rcx, qword [rdi]
call fcn.140018d84
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r15
mov byte [rdi], 0
cmp qword [rbx + 0x18], 0x10
jb 0x140017de3
mov rcx, qword [rbx]
call fcn.140018d84
mov eax, 1
jmp 0x140017e39
cmp qword [rbp + 0x18], 0x10
jb 0x140017dfa
mov rcx, qword [rbp]
call fcn.140018d84
mov qword [rbp + 0x18], 0xf
mov qword [rbp + 0x10], r15
mov byte [rbp], 0
cmp qword [rdi + 0x18], 0x10
jb 0x140017e19
mov rcx, qword [rdi]
call fcn.140018d84
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r15
mov byte [rdi], 0
cmp qword [rbx + 0x18], 0x10
jb 0x140017e37
mov rcx, qword [rbx]
call fcn.140018d84
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.14001c4b0
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x280
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret