Function at 0x140086010
Capabilities:
Set current directory

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x248
movaps xmmword [rsp + 0x230], xmm6
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rdx
mov rsi, rcx
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x228], rax
mov r15, qword [0x140231be8]
lea rax, str.type
lea r8, [rsp + 0x70]
mov qword [r8], rax
mov qword [r8 + 8], 4
lea rdx, [rsp + 0x80]
mov rcx, r15
call fcn.1400e20e0
lea r14, [rsi + 0x10]
cmp byte [rsi + 0x27], 0
jns 0x14008608a
mov rcx, qword [r14]
call fcn.14012cd4c
mov rax, qword [rsp + 0x90]
mov qword [r14 + 0x10], rax
movups xmm0, xmmword [rsp + 0x80]
movups xmmword [r14], xmm0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
movzx edi, byte [rsi + 0x27]
test dil, dil
jns 0x1400860b7
mov rdi, qword [rsi + 0x18]
mov rcx, r15
call fcn.14008b480
test rdi, rdi
je 0x1400860c9
cmp eax, 7
je 0x1400860df
call sub.chrome_elf.dll_IsExtensionPointDisableSet
movzx edx, al
shl rdx, 0xc
lea rcx, [rsp + 0x60]
call fcn.14004a130
xorps xmm6, xmm6
movaps xmmword [rsp + 0x40], xmm6
xor eax, eax
mov qword [rsp + 0x50], rax
lea r12, [rsp + 0x210]
mov qword [r12 + 0x10], rax
movaps xmmword [r12], xmm6
mov ecx, 3
mov rdx, r12
call fcn.14003f2d0
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r13, [rsp + 0x1f0]
mov qword [r13 + 0x10], rax
movaps xmm0, xmmword [0x1401ee3a0]
movaps xmmword [r13], xmm0
lea rax, [0x1401fcda0]
lea r8, [rsp + 0x1e0]
mov qword [r8], rax
mov qword [r8 + 8], 0xd
lea rbp, [rsp + 0x80]
mov rcx, r12
mov rdx, rbp
call fcn.14004a2e0
lea rbx, str.chrome.dll
lea r8, [rsp + 0x1d0]
mov qword [r8], rbx
mov qword [r8 + 8], 0xa
mov rcx, rbp
mov rdx, r13
call fcn.1400cdc20
cmp byte [rbp + 0x17], 0
jns 0x140086194
mov rcx, qword [rsp + 0x80]
call fcn.14012cd4c
lea r12, [rsp + 0x80]
mov dword [r12 + 0x24], 0
mov word [r12 + 0x28], 0
movaps xmmword [r12], xmm6
movaps xmmword [r12 + 0x10], xmm6
lea rdx, [rsp + 0x1f0]
mov rcx, r12
mov r8d, 0x21
call fcn.140045d90
mov r13, qword [r12]
mov rcx, r12
call fcn.1400fbe50
inc r13
cmp r13, 2
jae 0x140086261
lea r8, [rsp + 0x1c0]
mov qword [r8], rbx
mov qword [r8 + 8], 0xa
lea rcx, [rsp + 0x210]
lea rdx, [rsp + 0x80]
call fcn.1400cdc20
cmp byte [rsp + 0x207], 0
jns 0x140086222
mov rcx, qword [rsp + 0x1f0]
call fcn.14012cd4c
cmp byte [rsp + 0x227], 0
jns 0x140086239
mov rcx, qword [rsp + 0x210]
call fcn.14012cd4c
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
movups xmm0, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x40], xmm0
movzx eax, byte [rsp + 0x57]
test al, al
js 0x140086278
and eax, 0x7f
jmp 0x14008627d
lea rcx, [rsp + 0x80]
lea rdx, [rsp + 0x1f0]
call fcn.1400f4790
jmp 0x14008620b
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x1400863d4
lea r13, [rsp + 0x40]
mov rcx, r13
mov rdx, r12
call fcn.1400fd590
cmp byte [rsp + 0x97], 0
jns 0x1400862a8
mov r12, qword [rsp + 0x80]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp byte [rsp + 0x97], 0
jns 0x1400862c8
mov rcx, qword [rsp + 0x80]
call fcn.14012cd4c
lea rdx, str.no_pre_read_main_dll
mov rcx, r15
call fcn.140111ee0
test al, al
jne 0x1400862f1
lea rcx, [rsp + 0x40]
movabs r8, 0x7fffffffffffffff
mov dl, 1
call fcn.140045a30
cmp byte [rsp + 0x57], 0
jns 0x1400862fd
mov r13, qword [rsp + 0x40]
mov rcx, r13
xor edx, edx
mov r8d, 8
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
je 0x140086371
mov qword [rsi + 8], rax
test rdi, rdi
je 0x14008632c
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 [0x140243008]
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 [0x140243008]
mov esi, eax
jmp 0x140086448
cmp dword [0x140231b60], 2
jg 0x14008643b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str.....chrome_appmain_dll_loader_win.cc
lea rdi, [rsp + 0x80]
mov rcx, rdi
mov r8d, 0x70
mov r9d, 2
call fcn.140192850
lea rcx, [rsp + 0x90]
lea rdx, str.Failed_to_load_Chrome_DLL_from
mov r8d, 0x1f
call fcn.140167a60
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14005aae0
jmp 0x140086433
cmp dword [0x140231b60], 2
jg 0x14008643b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str.....chrome_appmain_dll_loader_win.cc
lea rdi, [rsp + 0x80]
mov rcx, rdi
mov r8d, 0x6b
mov r9d, 2
call fcn.140192850
lea rcx, [rsp + 0x90]
lea rdx, str.Cannot_find_module
mov r8d, 0x13
call fcn.140167a60
lea rdx, str.chrome.dll
mov rcx, rax
call fcn.1401908e0
mov rcx, rdi
call fcn.1401928d0
mov qword [rsi + 8], 0
mov esi, 7
cmp byte [rsp + 0x57], 0
jns 0x140086459
mov rcx, qword [rsp + 0x40]
call fcn.14012cd4c
movabs rdi, 0xfffffffc00000000
mov rcx, qword [rsp + 0x68]
mov rax, rcx
and rax, rdi
cmp rax, qword [0x140219dc8]
jne 0x14008647c
call fcn.1400ad190
mov qword [rsp + 0x68], 0
mov rcx, qword [rsp + 0x60]
and rdi, rcx
cmp rdi, qword [0x140219dc8]
jne 0x14008649b
call fcn.1400ad190
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.14012f6f0
mov eax, esi
movaps xmm6, xmmword [rsp + 0x230]
add rsp, 0x248
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret