Function at 0x14009a100
Capabilities:
Set current directory

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x238
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rdx
mov r13, rcx
mov rax, qword [0x1401f5028]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov r12, qword [0x1401fcbd0]
lea rax, [0x1401ce540]
lea r8, [rsp + 0x210]
mov qword [r8], rax
mov qword [r8 + 8], 4
lea rdx, [rsp + 0x78]
mov rcx, r12
call fcn.1400dea30
lea r14, [r13 + 0x10]
cmp byte [r13 + 0x27], 0
jns 0x14009a173
mov rcx, qword [r14]
call fcn.1400f0498
mov rax, qword [rsp + 0x88]
mov qword [r14 + 0x10], rax
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [r14], xmm0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
movzx r15d, byte [r14 + 0x17]
test r15b, r15b
jns 0x14009a19e
mov r15, qword [r13 + 0x18]
cmp r15, 7
jne 0x14009a1cd
mov qword [rsp + 0x20], 7
lea r9, [0x1401d54a4]
mov rcx, r14
xor edx, edx
mov r8, 0xffffffffffffffff
call fcn.1400b8610
test eax, eax
sete sil
jmp 0x14009a1cf
xor esi, esi
mov rcx, r12
call fcn.14009c3c0
test r15, r15
je 0x14009a1e5
test sil, sil
jne 0x14009a1e5
test eax, eax
je 0x14009a1ef
lea rcx, [rsp + 0x60]
call fcn.140043e20
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
xor eax, eax
mov qword [rsp + 0x50], rax
lea rdi, [rsp + 0x210]
mov qword [rdi + 0x10], rax
movaps xmmword [rdi], xmm0
mov ecx, 2
mov rdx, rdi
call fcn.14001f8f0
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbp, [rsp + 0x1f0]
mov qword [rbp + 0x10], rax
movaps xmm0, xmmword [0x1401c8a80]
movaps xmmword [rbp], xmm0
lea rax, [0x1401d5480]
lea r8, [rsp + 0x1e0]
mov qword [r8], rax
mov qword [r8 + 8], 0xd
lea rsi, [rsp + 0x78]
mov rcx, rdi
mov rdx, rsi
call fcn.140010c90
lea rdi, str.chrome.dll
lea r8, [rsp + 0x1d0]
mov qword [r8], rdi
mov qword [r8 + 8], 0xa
mov rcx, rsi
mov rdx, rbp
call fcn.1400db680
mov rcx, rsi
call fcn.1400dcad0
lea rsi, [rsp + 0x78]
mov rcx, rsi
mov rdx, rbp
mov r8d, 0x21
call fcn.140016150
mov rcx, rsi
call fcn.1400defc0
mov ebx, eax
mov rcx, rsi
call fcn.1400ded30
test bl, bl
jne 0x14009a420
lea r8, [rsp + 0x1c0]
mov qword [r8], rdi
mov qword [r8 + 8], 0xa
lea rcx, [rsp + 0x210]
lea rdx, [rsp + 0x78]
call fcn.1400db680
lea rcx, [rsp + 0x1f0]
call fcn.1400dcad0
lea rcx, [rsp + 0x210]
call fcn.1400dcad0
lea rdi, [rsp + 0x40]
lea rbp, [rsp + 0x78]
mov rcx, rdi
mov rdx, rbp
call fcn.1400ea020
mov rcx, rbp
call fcn.1400dcad0
movzx eax, byte [rdi + 0x17]
test al, al
jns 0x14009a32b
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14009a437
mov rcx, rdi
mov rdx, rbp
call fcn.1400e7140
cmp byte [rsp + 0x8f], 0
mov rcx, rbp
jns 0x14009a351
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rcx, rbp
call fcn.1400dcad0
movabs r8, 0x7fffffffffffffff
mov rcx, rdi
mov dl, 1
call fcn.140015d50
mov ebp, eax
cmp byte [rsp + 0x57], 0
jns 0x14009a381
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
xor edx, edx
mov r8d, 8
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
je 0x14009a49d
mov qword [r13 + 8], rax
test r15, r15
je 0x14009a3b4
mov ecx, 0x27f
mov edx, 1
call qword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
mov rax, qword [r13]
lea r9, [rsp + 0x40]
mov rcx, r13
mov rdx, r12
mov r8, r14
call qword [rax + 8]
mov rcx, qword [r13 + 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]
mov r9d, ebp
call rax
mov esi, eax
lea rcx, [rsp + 0x40]
call fcn.1400dcad0
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400f32c0
mov eax, esi
add rsp, 0x238
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x78]
lea rdx, [rsp + 0x1f0]
call fcn.1400dec90
jmp 0x14009a2e7
mov ecx, 2
call fcn.1400e8860
test al, al
je 0x14009a503
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._chrome_app_main_dll_loader_win.cc
lea rsi, [rsp + 0x78]
mov rcx, rsi
mov r8d, 0x68
mov r9d, 2
call fcn.1401438e0
lea rcx, [rsp + 0x88]
lea rdx, str.Cannot_find_module
mov r8d, 0x13
call fcn.1400d6670
lea rdx, str.chrome.dll
mov rcx, rax
call fcn.140143bc0
jmp 0x14009a4fb
mov ecx, 2
call fcn.1400e8860
test al, al
je 0x14009a503
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._chrome_app_main_dll_loader_win.cc
lea rsi, [rsp + 0x78]
mov rcx, rsi
mov r8d, 0x6d
mov r9d, 2
call fcn.1401438e0
lea rcx, [rsp + 0x88]
lea rdx, str.Failed_to_load_Chrome_DLL_from
mov r8d, 0x1f
call fcn.1400d6670
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140020500
mov rcx, rsi
call fcn.1401439d0
mov qword [r13 + 8], 0
mov esi, 7
jmp 0x14009a3f0