Function at 0x1400024b4
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, 0x328
movaps xmmword [rsp + 0x310], xmm6
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x40], rdx
mov rsi, rcx
mov rax, qword [0x1401e5d38]
xor rax, rsp
mov qword [rsp + 0x308], rax
call fcn.140032320
mov rbx, rax
lea rcx, [0x1401906ae]
lea rdi, [rsp + 0x80]
mov qword [rdi], rcx
call fcn.140178880
mov qword [rdi + 8], rax
lea rdx, [rsp + 0x100]
mov rcx, rbx
mov r8, rdi
call fcn.140032a20
lea r15, [rsi + 0x10]
test byte [rsi + 0x10], 1
je 0x140002537
mov rcx, qword [rsi + 0x20]
call fcn.140153cd8
mov rax, qword [rsp + 0x110]
mov qword [r15 + 0x10], rax
movups xmm0, xmmword [rsp + 0x100]
movups xmmword [r15], xmm0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
test byte [r15], 1
jne 0x14000256a
mov rcx, r15
call fcn.140001bec
mov rdi, rax
jmp 0x14000256e
mov rdi, qword [rsi + 0x18]
mov qword [rsp + 0x30], rbx
mov rcx, rbx
call fcn.1400662bc
mov qword [rsp + 0x38], rdi
test rdi, rdi
je 0x14000258a
cmp eax, 6
je 0x1400025a0
call sub.nw_elf.dll_IsExtensionPointDisableSet
movzx edx, al
shl rdx, 0xc
lea rcx, [rsp + 0x70]
call fcn.140002a8c
movabs r14, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x50]
mov qword [rcx + 0x10], r14
movaps xmm6, xmmword [section..rdata]
movaps xmmword [rcx], xmm6
call fcn.140038820
lea r13, str.nw.dll
mov rcx, r13
call fcn.140178b34
mov rbp, rax
lea rbx, [rsp + 0xe0]
mov qword [rbx + 0x10], r14
movaps xmmword [rbx], xmm6
mov rcx, rbx
call fcn.140038820
mov ecx, 3
mov rdx, rbx
call fcn.140048580
lea rdi, [rsp + 0xc0]
mov qword [rdi + 0x10], r14
movaps xmmword [rdi], xmm6
lea rcx, str.108.0.5359.95
lea r12, [rsp + 0xb0]
mov qword [r12], rcx
call fcn.140178880
mov qword [r12 + 8], rax
lea r14, [rsp + 0x100]
mov rcx, rbx
mov rdx, r14
mov r8, r12
call fcn.140039dd0
lea r8, [rsp + 0xa0]
mov qword [r8], r13
mov qword [r8 + 8], rbp
mov rcx, r14
mov rdx, rdi
call fcn.1400394d0
mov rcx, r14
call fcn.1400388c0
lea rbx, [rsp + 0x100]
mov rcx, rbx
mov rdx, rdi
mov r8d, 0x21
call fcn.1400385d0
mov rcx, rbx
call fcn.1400564a0
mov edi, eax
mov rcx, rbx
call fcn.140038780
test dil, dil
je 0x1400026a3
lea rcx, [rsp + 0x100]
lea rdx, [rsp + 0xc0]
call fcn.140038840
jmp 0x1400026c7
lea r8, [rsp + 0x90]
mov qword [r8], r13
mov qword [r8 + 8], rbp
lea rcx, [rsp + 0xe0]
lea rdx, [rsp + 0x100]
call fcn.1400394d0
lea rcx, [rsp + 0xc0]
call fcn.1400388c0
lea rcx, [rsp + 0xe0]
call fcn.1400388c0
lea rdi, [rsp + 0x50]
lea rbx, [rsp + 0x100]
mov rcx, rdi
mov rdx, rbx
call fcn.1400388f0
mov rcx, rbx
call fcn.1400388c0
movzx eax, byte [rdi]
test al, 1
je 0x14000270f
mov rax, qword [rsp + 0x58]
jmp 0x140002712
shr rax, 1
test rax, rax
je 0x140002768
lea rdi, [rsp + 0x100]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140157190
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ebp, eax
lea rdi, [rsp + 0x50]
lea r13, [rsp + 0xe0]
mov rcx, rdi
mov rdx, r13
call fcn.140039130
test byte [r13], 1
je 0x1400027d4
mov rcx, qword [rsp + 0xf0]
jmp 0x1400027dc
mov ecx, 2
call fcn.14003bed0
test al, al
je 0x140002908
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str.....chrome_appmain_dll_loader_win.cc
lea rdi, [rsp + 0x100]
mov rcx, rdi
mov r8d, 0x71
mov r9d, 2
call fcn.14003d4b0
lea rcx, [rsp + 0x110]
lea rdx, str.Cannot_find_module
mov r8d, 0x13
call fcn.140002063
lea rdx, str.nw.dll
mov rcx, rax
call fcn.14003d660
jmp 0x140002900
lea rcx, [rsp + 0xe2]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rcx, r13
call fcn.1400388c0
movabs r8, 0x7fffffffffffffff
mov rcx, rdi
mov dl, 1
call fcn.140056080
test byte [rsp + 0x50], 1
je 0x14000280c
mov rcx, qword [rsp + 0x60]
jmp 0x140002811
lea rcx, [rsp + 0x52]
mov rbx, qword [rsp + 0x30]
xor edx, edx
mov r8d, 8
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test ebp, ebp
je 0x140002839
lea rcx, [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test rdi, rdi
je 0x14000289f
mov qword [rsi + 8], rdi
cmp qword [rsp + 0x38], 0
je 0x14000285a
mov ecx, 0x27f
mov edx, 1
call qword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
mov rax, qword [rsi]
mov rax, qword [rax + 8]
lea r9, [rsp + 0x50]
mov rcx, rsi
mov rdx, rbx
mov r8, r15
call qword [0x1401ff008]
mov rcx, qword [rsi + 8]
lea rdx, str.ChromeMain
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
call qword [0x1401ff008]
mov esi, eax
jmp 0x140002915
mov ecx, 2
call fcn.14003bed0
test al, al
je 0x140002908
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str.....chrome_appmain_dll_loader_win.cc
lea rdi, [rsp + 0x100]
mov rcx, rdi
mov r8d, 0x76
mov r9d, 2
call fcn.14003d4b0
lea rcx, [rsp + 0x110]
lea rdx, str.Failed_to_load_NW_DLL_from
mov r8d, 0x1b
call fcn.140002063
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.14003d6c0
mov rcx, rdi
call fcn.14003d5a0
mov qword [rsi + 8], 0
mov esi, 7
lea rcx, [rsp + 0x50]
call fcn.1400388c0
mov rcx, qword [rsp + 0x308]
xor rcx, rsp
call fcn.140154030
mov eax, esi
movaps xmm6, xmmword [rsp + 0x310]
add rsp, 0x328
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret