Function at 0x1400061e8
Capabilities:
Get common file path
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x30
mov rdi, rcx
mov ecx, 0x2719
call fcn.140004694
mov r12d, 0x1770
mov rdx, rdi
test eax, eax
mov ecx, r12d
setne r14b
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x1400062ee
mov rcx, rdi
call fcn.140016330
test rax, rax
je 0x1400062e4
mov rcx, rdi
call fcn.1400187cc
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetLongPathNameA]
mov ebp, eax
test eax, eax
jle 0x1400062da
lea ebx, [rax + 0xa]
movsxd rcx, ebx
call fcn.140016208
mov r8d, ebx
mov rcx, rdi
mov rdx, rax
mov rsi, rax
mov r13b, 1
call qword [sym.imp.KERNEL32.dll_GetLongPathNameA]
test eax, eax
je 0x1400062cd
mov edx, 0x3f
mov rcx, rsi
call fcn.140016304
test rax, rax
je 0x14000629a
xor r13b, r13b
jmp 0x1400062cd
test r14b, r14b
je 0x1400062cd
cmp ebp, r12d
jge 0x1400062cd
mov rdx, rsi
mov rcx, rdi
call fcn.1400182d0
test eax, eax
je 0x1400062cd
lea rcx, str.using_long_path__S
mov rdx, rsi
call fcn.1400116b0
mov rdx, rsi
mov rcx, rdi
call fcn.140016900
mov rcx, rsi
call fcn.1400166c0
test r13b, r13b
je 0x1400062ee
mov rcx, rdi
call fcn.140005e98
jmp 0x1400062e6
xor al, al
test al, al
jne 0x1400067e5
lea rcx, [0x1400348c8]
mov r8d, r12d
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x1400063d5
lea rdx, [0x1400348b0]
mov rcx, rdi
call fcn.140016860
test rax, rax
je 0x1400063d5
mov rcx, rdi
call fcn.140016330
test rax, rax
je 0x1400063cb
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetLongPathNameA]
mov ebp, eax
test eax, eax
jle 0x1400063c1
lea ebx, [rax + 0xa]
movsxd rcx, ebx
call fcn.140016208
mov r8d, ebx
mov rcx, rdi
mov rdx, rax
mov rsi, rax
mov r13b, 1
call qword [sym.imp.KERNEL32.dll_GetLongPathNameA]
test eax, eax
je 0x1400063b4
mov edx, 0x3f
mov rcx, rsi
call fcn.140016304
test rax, rax
je 0x140006381
xor r13b, r13b
jmp 0x1400063b4
test r14b, r14b
je 0x1400063b4
cmp ebp, r12d
jge 0x1400063b4
mov rdx, rsi
mov rcx, rdi
call fcn.1400182d0
test eax, eax
je 0x1400063b4
lea rcx, str.using_long_path__S
mov rdx, rsi
call fcn.1400116b0
mov rdx, rsi
mov rcx, rdi
call fcn.140016900
mov rcx, rsi
call fcn.1400166c0
test r13b, r13b
je 0x1400063d5
mov rcx, rdi
call fcn.140005e98
jmp 0x1400063cd
xor al, al
test al, al
jne 0x1400067e5
lea rcx, [0x1400348a0]
mov r8d, r12d
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x1400064d5
mov rcx, rdi
call fcn.140016330
mov ebx, r12d
mov rcx, rdi
sub ebx, eax
call fcn.140016330
lea rcx, [0x140034890]
lea rdx, [rdi + rax]
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x1400064d5
mov rcx, rdi
call fcn.140016330
test rax, rax
je 0x1400064cb
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetLongPathNameA]
mov ebp, eax
test eax, eax
jle 0x1400064c1
lea ebx, [rax + 0xa]
movsxd rcx, ebx
call fcn.140016208
mov r8d, ebx
mov rcx, rdi
mov rdx, rax
mov rsi, rax
mov r13b, 1
call qword [sym.imp.KERNEL32.dll_GetLongPathNameA]
test eax, eax
je 0x1400064b4
mov edx, 0x3f
mov rcx, rsi
call fcn.140016304
test rax, rax
je 0x140006481
xor r13b, r13b
jmp 0x1400064b4
test r14b, r14b
je 0x1400064b4
cmp ebp, r12d
jge 0x1400064b4
mov rdx, rsi
mov rcx, rdi
call fcn.1400182d0
test eax, eax
je 0x1400064b4
lea rcx, str.using_long_path__S
mov rdx, rsi
call fcn.1400116b0
mov rdx, rsi
mov rcx, rdi
call fcn.140016900
mov rcx, rsi
call fcn.1400166c0
test r13b, r13b
je 0x1400064d5
mov rcx, rdi
call fcn.140005e98
jmp 0x1400064cd
xor al, al
test al, al
jne 0x1400067e5
call fcn.140005b58
mov rax, qword [0x140045230]
test rax, rax
je 0x1400065f8
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x23]
mov qword [rsp + 0x20], rdi
call rax
test eax, eax
jne 0x1400065f8
mov rcx, rdi
call fcn.140016330
test rax, rax
je 0x1400065f8
lea rdx, [0x140034880]
mov rcx, rdi
call fcn.140016860
mov rcx, rdi
call fcn.1400187cc
lea rdx, [0x140034878]
mov rcx, rdi
call fcn.140016860
mov rcx, rdi
call fcn.140016330
test rax, rax
je 0x1400065ee
mov rcx, rdi
call fcn.1400187cc
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetLongPathNameA]
mov ebp, eax
test eax, eax
jle 0x1400065e4
lea ebx, [rax + 0xa]
movsxd rcx, ebx
call fcn.140016208
mov r8d, ebx
mov rcx, rdi
mov rdx, rax
mov rsi, rax
mov r13b, 1
call qword [sym.imp.KERNEL32.dll_GetLongPathNameA]
test eax, eax
je 0x1400065d7
mov edx, 0x3f
mov rcx, rsi
call fcn.140016304
test rax, rax
je 0x1400065a4
xor r13b, r13b
jmp 0x1400065d7
test r14b, r14b
je 0x1400065d7
cmp ebp, r12d
jge 0x1400065d7
mov rdx, rsi
mov rcx, rdi
call fcn.1400182d0
test eax, eax
je 0x1400065d7
lea rcx, str.using_long_path__S
mov rdx, rsi
call fcn.1400116b0
mov rdx, rsi
mov rcx, rdi
call fcn.140016900
mov rcx, rsi
call fcn.1400166c0
test r13b, r13b
je 0x1400065f8
mov rcx, rdi
call fcn.140005e98
jmp 0x1400065f0
xor al, al
test al, al
jne 0x1400067e5
mov edx, r12d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x14000663d
lea rdx, [0x140034878]
mov rcx, rdi
call fcn.140016860
test rax, rax
je 0x14000663d
mov rcx, rdi
call fcn.140016330
test rax, rax
je 0x140006633
mov rcx, rdi
call fcn.140005e98
jmp 0x140006635
xor al, al
test al, al
jne 0x1400067e5
lea rdx, [0x140034870]
mov rcx, rdi
call fcn.140016900
test rax, rax
je 0x140006672
mov rcx, rdi
call fcn.140016330
test rax, rax
je 0x140006668
mov rcx, rdi
call fcn.140005e98
jmp 0x14000666a
xor al, al
test al, al
jne 0x1400067e5
lea rdx, [0x140034868]
mov rcx, rdi
call fcn.140016900
test rax, rax
je 0x1400066a7
mov rcx, rdi
call fcn.140016330
test rax, rax
je 0x14000669d
mov rcx, rdi
call fcn.140005e98
jmp 0x14000669f
xor al, al
test al, al
jne 0x1400067e5
mov edx, r12d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x1400066d8
mov rcx, rdi
call fcn.140016330
test rax, rax
je 0x1400066ce
mov rcx, rdi
call fcn.140005e98
jmp 0x1400066d0
xor al, al
test al, al
jne 0x1400067e5
lea rdx, [0x140034868]
mov rcx, rdi
call fcn.140016900
test rax, rax
je 0x140006715
mov rcx, rdi
call fcn.140016330
test rax, rax
je 0x14000670b
mov rcx, rdi
call fcn.1400187cc
mov rcx, rdi
call fcn.140005e98
jmp 0x14000670d
xor al, al
test al, al
jne 0x1400067e5
mov rdx, rdi
mov ecx, r12d
mov byte [0x14004c772], 1
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x140006744
mov r9b, r14b
xor r8d, r8d
mov dl, 1
mov rcx, rdi
call fcn.140006028
test al, al
jne 0x1400067e5
lea rcx, [0x1400348c8]
mov r8d, r12d
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x140006783
lea rdx, [0x1400348b0]
mov rcx, rdi
call fcn.140016860
test rax, rax
je 0x140006783
mov r9b, r14b
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.140006028
test al, al
jne 0x1400067e5
lea rcx, [0x1400348a0]
mov r8d, r12d
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x1400067d9
mov rcx, rdi
call fcn.140016330
mov rcx, rdi
sub r12d, eax
call fcn.140016330
lea rcx, [0x140034890]
lea rdx, [rdi + rax]
mov r8d, r12d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x1400067d9
mov r9b, r14b
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.140006028
test al, al
jne 0x1400067e5
xor edx, edx
mov ecx, 0x3f7
call fcn.140004f90
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop r13
pop r12
ret