Function at 0x1400208a6
Capabilities:
Get common file path
Get disk information
Get process image filename
Query environment variable

Disassembly:
jmp 0x14003a760
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x1048
call fcn.14001f438
sub rsp, rax
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x2ea
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1068]
mov rax, qword [0x1400a6e78]
xor rax, rbp
mov qword [rbp + 0x1010], rax
lea rcx, [0x1400b30f4]
call fcn.140020883
mov rcx, qword [rbp + 0x1040]
call fcn.14001f23f
movzx eax, al
test eax, eax
je 0x14003a7cd
xor al, al
jmp 0x14003aa3f
mov r8, qword [rbp + 0x1040]
mov edx, 0x104
lea rcx, [rbp + 0x8d0]
call fcn.1400203d8
mov edx, 0x104
lea rcx, [rbp + 0x8d0]
call fcn.14003ac50
mov qword [rbp + 0xaf8], 0
lea r8, [rbp + 0xaf8]
mov edx, 0x104
lea rcx, [rbp + 0x8d0]
call fcn.14001f929
cmp dword [rbp + 0x1048], 0xffffffff
jne 0x14003a851
mov qword [rbp + 0xb18], 0
lea r8, [rbp + 0xb18]
mov edx, 0x104
mov rcx, qword [rbp + 0x1040]
call fcn.14001f929
mov eax, dword [rbp + 0xb18]
mov dword [rbp + 0x1048], eax
mov edx, 0x104
lea rcx, [rbp + 0x470]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, 0x104
lea rdx, [rbp + 0x6a0]
mov rcx, rax
call fcn.14001f2f8
mov eax, eax
mov qword [rbp + 0xb38], rax
mov edx, 0x104
lea rcx, [rbp + 0x6a0]
call fcn.14003ac50
lea r8, [rbp + 0xb38]
mov edx, 0x104
lea rcx, [rbp + 0x6a0]
call fcn.14001f929
mov r8d, 0x104
lea rdx, [rbp + 0x10]
lea rcx, str.SystemDrive
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jbe 0x14003aa3d
mov r8d, 0x104
lea rdx, [rbp + 0x240]
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jbe 0x14003aa3d
lea r8, str.WindowsSystem32_
mov edx, 0x104
lea rcx, [rbp + 0x240]
call fcn.14001fb90
mov qword [rbp + 0xb58], 0
lea r8, [rbp + 0xb58]
mov edx, 0x104
lea rcx, [rbp + 0x240]
call fcn.14001f929
mov eax, dword [rbp + 0x1048]
cmp qword [rbp + 0xb58], rax
jae 0x14003a948
mov rax, qword [rbp + 0xb58]
mov qword [rbp + 0x1008], rax
jmp 0x14003a955
mov eax, dword [rbp + 0x1048]
mov qword [rbp + 0x1008], rax
xor edx, edx
mov rax, qword [rbp + 0x1008]
mov ecx, 2
div rcx
mov r8d, eax
mov rdx, qword [rbp + 0x1040]
lea rcx, [rbp + 0x240]
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x14003a988
xor al, al
jmp 0x14003aa3f
lea r8, [0x14006e76c]
mov edx, 0x104
lea rcx, [rbp + 0x470]
call fcn.14001fb90
mov qword [rbp + 0xb78], 0
lea r8, [rbp + 0xb78]
mov edx, 0x104
lea rcx, [rbp + 0x470]
call fcn.14001f929
mov rax, qword [rbp + 0xaf8]
cmp qword [rbp + 0xb78], rax
jae 0x14003a9e3
mov rax, qword [rbp + 0xb78]
mov qword [rbp + 0x1008], rax
jmp 0x14003a9f1
mov rax, qword [rbp + 0xaf8]
mov qword [rbp + 0x1008], rax
xor edx, edx
mov rax, qword [rbp + 0x1008]
mov ecx, 2
div rcx
mov r8d, eax
lea rdx, [rbp + 0x8d0]
lea rcx, [rbp + 0x470]
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x14003aa21
xor al, al
jmp 0x14003aa3f
lea rdx, [rbp + 0x8d0]
lea rcx, [rbp + 0x6a0]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x14003aa3d
xor al, al
jmp 0x14003aa3f
mov al, 1
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14006df30]
call fcn.1400203ce
mov rax, rdi
mov rcx, qword [rbp + 0x1010]
xor rcx, rbp
call fcn.14001fb4f
lea rsp, [rbp + 0x1028]
pop rdi
pop rbp
ret