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

Disassembly:
jmp 0x14003bb40
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x1048
call fcn.140020424
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 [0x1400a7e78]
xor rax, rbp
mov qword [rbp + 0x1010], rax
lea rcx, [0x1400b4100]
call fcn.140021842
mov rcx, qword [rbp + 0x1040]
call fcn.14002023f
movzx eax, al
test eax, eax
je 0x14003bbad
xor al, al
jmp 0x14003be1f
mov r8, qword [rbp + 0x1040]
mov edx, 0x104
lea rcx, [rbp + 0x8d0]
call fcn.1400213ba
mov edx, 0x104
lea rcx, [rbp + 0x8d0]
call fcn.14003c030
mov qword [rbp + 0xaf8], 0
lea r8, [rbp + 0xaf8]
mov edx, 0x104
lea rcx, [rbp + 0x8d0]
call fcn.140020924
cmp dword [rbp + 0x1048], 0xffffffff
jne 0x14003bc31
mov qword [rbp + 0xb18], 0
lea r8, [rbp + 0xb18]
mov edx, 0x104
mov rcx, qword [rbp + 0x1040]
call fcn.140020924
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.1400202ee
mov eax, eax
mov qword [rbp + 0xb38], rax
mov edx, 0x104
lea rcx, [rbp + 0x6a0]
call fcn.14003c030
lea r8, [rbp + 0xb38]
mov edx, 0x104
lea rcx, [rbp + 0x6a0]
call fcn.140020924
mov r8d, 0x104
lea rdx, [rbp + 0x10]
lea rcx, str.SystemDrive
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jbe 0x14003be1d
mov r8d, 0x104
lea rdx, [rbp + 0x240]
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jbe 0x14003be1d
lea r8, str.WindowsSystem32_
mov edx, 0x104
lea rcx, [rbp + 0x240]
call fcn.140020b8b
mov qword [rbp + 0xb58], 0
lea r8, [rbp + 0xb58]
mov edx, 0x104
lea rcx, [rbp + 0x240]
call fcn.140020924
mov eax, dword [rbp + 0x1048]
cmp qword [rbp + 0xb58], rax
jae 0x14003bd28
mov rax, qword [rbp + 0xb58]
mov qword [rbp + 0x1008], rax
jmp 0x14003bd35
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 0x14003bd68
xor al, al
jmp 0x14003be1f
lea r8, [0x14006f85c]
mov edx, 0x104
lea rcx, [rbp + 0x470]
call fcn.140020b8b
mov qword [rbp + 0xb78], 0
lea r8, [rbp + 0xb78]
mov edx, 0x104
lea rcx, [rbp + 0x470]
call fcn.140020924
mov rax, qword [rbp + 0xaf8]
cmp qword [rbp + 0xb78], rax
jae 0x14003bdc3
mov rax, qword [rbp + 0xb78]
mov qword [rbp + 0x1008], rax
jmp 0x14003bdd1
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 0x14003be01
xor al, al
jmp 0x14003be1f
lea rdx, [rbp + 0x8d0]
lea rcx, [rbp + 0x6a0]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x14003be1d
xor al, al
jmp 0x14003be1f
mov al, 1
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14006f020]
call fcn.1400213b0
mov rax, rdi
mov rcx, qword [rbp + 0x1010]
xor rcx, rbp
call fcn.140020b4a
lea rsp, [rbp + 0x1028]
pop rdi
pop rbp
ret