Function at 0x1400b17e0
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 [0x14029c028]
xor rax, rsp
mov qword [rsp + 0x228], rax
mov r14, qword [0x1402b7668]
lea rax, str.type
lea r8, [rsp + 0x70]
mov qword [r8], rax
mov qword [r8 + 8], 4
lea rdx, [rsp + 0x80]
mov rcx, r14
call fcn.140147ff0
lea r15, [rsi + 0x10]
cmp byte [rsi + 0x27], 0
jns 0x1400b185a
mov rcx, qword [r15]
call fcn.140184dbc
mov rax, qword [rsp + 0x90]
mov qword [r15 + 0x10], rax
movups xmm0, xmmword [rsp + 0x80]
movups xmmword [r15], xmm0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
movzx edi, byte [rsi + 0x27]
test dil, dil
jns 0x1400b1887
mov rdi, qword [rsi + 0x18]
mov rcx, r14
call fcn.1400bd340
test rdi, rdi
je 0x1400b1899
cmp eax, 6
je 0x1400b18af
call sub.chrome_elf.dll_IsExtensionPointDisableSet
movzx edx, al
shl rdx, 0xc
lea rcx, [rsp + 0x60]
call fcn.14005df90
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.140051b80
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r13, [rsp + 0x1f0]
mov qword [r13 + 0x10], rax
movaps xmm0, xmmword [0x14026dc70]
movaps xmmword [r13], xmm0
lea rax, [0x14027f8c0]
lea r8, [rsp + 0x1e0]
mov qword [r8], rax
mov qword [r8 + 8], 0xe
lea rbp, [rsp + 0x80]
mov rcx, r12
mov rdx, rbp
call fcn.14005c820
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.140121f90
cmp byte [rbp + 0x17], 0
jns 0x1400b1964
mov rcx, qword [rsp + 0x80]
call fcn.140184dbc
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.14005a850
mov r13, qword [r12]
mov rcx, r12
call fcn.14015bb50
inc r13
cmp r13, 2
jae 0x1400b1a31
lea r8, [rsp + 0x1c0]
mov qword [r8], rbx
mov qword [r8 + 8], 0xa
lea rcx, [rsp + 0x210]
lea rdx, [rsp + 0x80]
call fcn.140121f90
cmp byte [rsp + 0x207], 0
jns 0x1400b19f2
mov rcx, qword [rsp + 0x1f0]
call fcn.140184dbc
cmp byte [rsp + 0x227], 0
jns 0x1400b1a09
mov rcx, qword [rsp + 0x210]
call fcn.140184dbc
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 0x1400b1a48
and eax, 0x7f
jmp 0x1400b1a4d
lea rcx, [rsp + 0x80]
lea rdx, [rsp + 0x1f0]
call fcn.14010ba40
jmp 0x1400b19db
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x1400b1b92
lea r13, [rsp + 0x40]
mov rcx, r13
mov rdx, r12
call fcn.140149d80
cmp byte [rsp + 0x97], 0
jns 0x1400b1a78
mov r12, qword [rsp + 0x80]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp byte [rsp + 0x97], 0
jns 0x1400b1a98
mov rcx, qword [rsp + 0x80]
call fcn.140184dbc
movabs r8, 0x7fffffffffffffff
mov rcx, r13
mov dl, 1
call fcn.14005a500
cmp byte [rsp + 0x57], 0
jns 0x1400b1ab8
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 0x1400b1b2f
mov qword [rsi + 8], rax
test rdi, rdi
je 0x1400b1ae7
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 + 0x40]
mov rcx, rsi
mov rdx, r14
mov r8, r15
call qword [0x1402ca008]
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 [0x1402ca008]
mov esi, eax
jmp 0x1400b1c06
cmp dword [0x1402b75e0], 2
jg 0x1400b1bf9
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, 0x6d
mov r9d, 2
call fcn.1401fa650
lea rcx, [rsp + 0x90]
lea rdx, str.Failed_to_load_Chrome_DLL_from
mov r8d, 0x1f
call fcn.1401c2dd0
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140072150
jmp 0x1400b1bf1
cmp dword [0x1402b75e0], 2
jg 0x1400b1bf9
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, 0x68
mov r9d, 2
call fcn.1401fa650
lea rcx, [rsp + 0x90]
lea rdx, str.Cannot_find_module
mov r8d, 0x13
call fcn.1401c2dd0
lea rdx, str.chrome.dll
mov rcx, rax
call fcn.1401f8630
mov rcx, rdi
call fcn.1401fa6d0
mov qword [rsi + 8], 0
mov esi, 7
cmp byte [rsp + 0x57], 0
jns 0x1400b1c17
mov rcx, qword [rsp + 0x40]
call fcn.140184dbc
movabs rdi, 0xfffffffc00000000
mov rcx, qword [rsp + 0x68]
mov rax, rcx
and rax, rdi
cmp rax, qword [0x14029ce48]
jne 0x1400b1c3a
call fcn.1400de590
mov qword [rsp + 0x68], 0
mov rcx, qword [rsp + 0x60]
and rdi, rcx
cmp rdi, qword [0x14029ce48]
jne 0x1400b1c59
call fcn.1400de590
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.1401879f0
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