Function at 0x140001e70
Capabilities:
Get common file path
Set current directory

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x318
movaps xmmword [rsp + 0x300], xmm6
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rdx
mov rsi, rcx
mov rax, qword [0x1401fdbb8]
xor rax, rsp
mov qword [rsp + 0x2f8], rax
call fcn.14006a0e0
mov r15, rax
lea rcx, [0x1401b181e]
mov qword [rsp + 0x70], rcx
call fcn.1401997a0
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0xf0]
lea r8, [rsp + 0x70]
mov rcx, r15
call fcn.14006aa80
lea r14, [rsi + 0x10]
test byte [rsi + 0x10], 1
je 0x140001ef0
mov rcx, qword [rsi + 0x20]
call fcn.140173cf0
mov rax, qword [rsp + 0x100]
mov qword [r14 + 0x10], rax
movups xmm0, xmmword [rsp + 0xf0]
movups xmmword [r14], xmm0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
movzx ebx, byte [r14]
test bl, 1
jne 0x140001f1d
shr ebx, 1
jmp 0x140001f21
mov rbx, qword [rsi + 0x18]
mov rcx, r15
call fcn.140070da0
test rbx, rbx
je 0x140001f33
cmp eax, 7
je 0x140001f48
call sub.nw_elf.dll_IsExtensionPointDisableSet
movzx edx, al
shl edx, 0xc
lea rcx, [rsp + 0x60]
call fcn.140002b80
movabs rdi, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rdi
movaps xmm6, xmmword [section..rdata]
movaps xmmword [rsp + 0x40], xmm6
lea rcx, [rsp + 0x40]
call fcn.14004bfa0
lea r12, str.nw.dll
mov rcx, r12
call fcn.140199a54
mov r13, rax
mov qword [rsp + 0xe0], rdi
movaps xmmword [rsp + 0xd0], xmm6
lea rbp, [rsp + 0xd0]
mov rcx, rbp
call fcn.14004bfa0
mov ecx, 3
mov rdx, rbp
call fcn.14004b080
mov qword [rsp + 0xc0], rdi
movaps xmmword [rsp + 0xb0], xmm6
lea rcx, str.127.0.6533.73
mov qword [rsp + 0xa0], rcx
call fcn.1401997a0
mov qword [rsp + 0xa8], rax
lea rdi, [rsp + 0xf0]
lea r8, [rsp + 0xa0]
mov rcx, rbp
mov rdx, rdi
call fcn.1400679b0
mov qword [rsp + 0x90], r12
mov qword [rsp + 0x98], r13
lea rbp, [rsp + 0xb0]
lea r8, [rsp + 0x90]
mov rcx, rdi
mov rdx, rbp
call fcn.140066a50
mov rcx, rdi
call fcn.1400653b0
lea rdi, [rsp + 0xf0]
mov rcx, rdi
mov rdx, rbp
mov r8d, 0x21
call fcn.140068410
mov rcx, rdi
call fcn.140048160
mov ebp, eax
mov rcx, rdi
call fcn.140068580
test bpl, bpl
je 0x14000206d
lea rcx, [rsp + 0xf0]
lea rdx, [rsp + 0xb0]
call fcn.1400652a0
jmp 0x14000209a
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x88], r13
lea rcx, [rsp + 0xd0]
lea rdx, [rsp + 0xf0]
lea r8, [rsp + 0x80]
call fcn.140066a50
lea rcx, [rsp + 0xb0]
call fcn.1400653b0
lea rcx, [rsp + 0xd0]
call fcn.1400653b0
lea rcx, [rsp + 0x40]
lea rdi, [rsp + 0xf0]
mov rdx, rdi
call fcn.140065430
mov rcx, rdi
call fcn.1400653b0
movzx eax, byte [rsp + 0x40]
test al, 1
je 0x140002135
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14000213c
lea rdi, [rsp + 0xf0]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1401772e0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ebp, eax
lea rcx, [rsp + 0x40]
lea r12, [rsp + 0xd0]
mov rdx, r12
call fcn.140065da0
test byte [rsp + 0xd0], 1
je 0x1400021a8
mov rcx, qword [rsp + 0xe0]
jmp 0x1400021b0
shr eax, 1
test rax, rax
jne 0x1400020e4
mov ecx, 2
call fcn.140060510
test al, al
je 0x1400022ee
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str.....chrome_appmain_dll_loader_win.cc
lea rdi, [rsp + 0xf0]
mov rcx, rdi
mov r8d, 0x80
mov r9d, 2
call fcn.1400619a0
lea rcx, [rsp + 0x100]
lea rdx, str.Cannot_find_module
mov r8d, 0x13
call fcn.140001af0
lea rdx, str.nw.dll
mov rcx, rax
call fcn.140051d20
jmp 0x1400022e6
lea rcx, [rsp + 0xd2]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rcx, r12
call fcn.1400653b0
test rbx, rbx
je 0x1400021d6
lea rdx, str.no_pre_read_main_dll
mov rcx, r15
call fcn.14006aa00
test al, al
jne 0x1400021ef
lea rcx, [rsp + 0x40]
movabs r9, 0x7fffffffffffffff
mov dl, 1
xor r8d, r8d
call fcn.14004a260
test byte [rsp + 0x40], 1
je 0x1400021fd
mov rcx, qword [rsp + 0x50]
jmp 0x140002202
lea rcx, [rsp + 0x42]
xor edx, edx
mov r8d, 8
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov r15, rax
test ebp, ebp
je 0x140002225
lea rcx, [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test r15, r15
je 0x140002285
mov qword [rsi + 8], r15
test rbx, rbx
je 0x140002243
mov ecx, 0x27f
mov edx, 1
call qword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
mov rax, qword [rsi]
mov rax, qword [rax + 8]
lea r8, [rsp + 0x40]
mov rcx, rsi
mov rdx, r14
call qword [0x1401ec708]
mov rcx, qword [rsi + 8]
lea rdx, str.ChromeMain
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
call qword [0x1401ec708]
mov esi, eax
jmp 0x1400022fb
mov ecx, 2
call fcn.140060510
test al, al
je 0x1400022ee
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str.....chrome_appmain_dll_loader_win.cc
lea rdi, [rsp + 0xf0]
mov rcx, rdi
mov r8d, 0x85
mov r9d, 2
call fcn.1400619a0
lea rcx, [rsp + 0x100]
lea rdx, str.Failed_to_load_NW_DLL_from
mov r8d, 0x1b
call fcn.140001af0
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140051dc0
mov rcx, rdi
call fcn.140061a90
mov qword [rsi + 8], 0
mov esi, 7
lea rcx, [rsp + 0x40]
call fcn.1400653b0
mov rcx, qword [rsp + 0x2f8]
xor rcx, rsp
call fcn.140174050
mov eax, esi
movaps xmm6, xmmword [rsp + 0x300]
add rsp, 0x318
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret