Function at 0x1400b01a0
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 [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x228], rax
mov r14, qword [0x1402b6668]
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.1401489a0
lea r15, [rsi + 0x10]
cmp byte [rsi + 0x27], 0
jns 0x1400b021a
mov rcx, qword [r15]
call fcn.1401833ec
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 0x1400b0247
mov rdi, qword [rsi + 0x18]
mov rcx, r14
call fcn.1400bc0c0
test rdi, rdi
je 0x1400b0259
cmp eax, 6
je 0x1400b026f
call sub.chrome_elf.dll_IsExtensionPointDisableSet
movzx edx, al
shl rdx, 0xc
lea rcx, [rsp + 0x60]
call fcn.14005e0a0
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.140050770
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r13, [rsp + 0x1f0]
mov qword [r13 + 0x10], rax
movaps xmm0, xmmword [0x14026cc70]
movaps xmmword [r13], xmm0
lea rax, [0x14027e8c0]
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.14005c540
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.140122400
cmp byte [rbp + 0x17], 0
jns 0x1400b0324
mov rcx, qword [rsp + 0x80]
call fcn.1401833ec
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.14005a570
mov r13, qword [r12]
mov rcx, r12
call fcn.140158840
inc r13
cmp r13, 2
jae 0x1400b03f1
lea r8, [rsp + 0x1c0]
mov qword [r8], rbx
mov qword [r8 + 8], 0xa
lea rcx, [rsp + 0x210]
lea rdx, [rsp + 0x80]
call fcn.140122400
cmp byte [rsp + 0x207], 0
jns 0x1400b03b2
mov rcx, qword [rsp + 0x1f0]
call fcn.1401833ec
cmp byte [rsp + 0x227], 0
jns 0x1400b03c9
mov rcx, qword [rsp + 0x210]
call fcn.1401833ec
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 0x1400b0408
and eax, 0x7f
jmp 0x1400b040d
lea rcx, [rsp + 0x80]
lea rdx, [rsp + 0x1f0]
call fcn.1400ffb30
jmp 0x1400b039b
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x1400b0552
lea r13, [rsp + 0x40]
mov rcx, r13
mov rdx, r12
call fcn.140123a80
cmp byte [rsp + 0x97], 0
jns 0x1400b0438
mov r12, qword [rsp + 0x80]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp byte [rsp + 0x97], 0
jns 0x1400b0458
mov rcx, qword [rsp + 0x80]
call fcn.1401833ec
movabs r8, 0x7fffffffffffffff
mov rcx, r13
mov dl, 1
call fcn.14005a220
cmp byte [rsp + 0x57], 0
jns 0x1400b0478
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 0x1400b04ef
mov qword [rsi + 8], rax
test rdi, rdi
je 0x1400b04a7
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 [0x1402c9008]
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 [0x1402c9008]
mov esi, eax
jmp 0x1400b05c6
cmp dword [0x1402b65e0], 2
jg 0x1400b05b9
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.1401f99b0
lea rcx, [rsp + 0x90]
lea rdx, str.Failed_to_load_Chrome_DLL_from
mov r8d, 0x1f
call fcn.1401c1300
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140070ae0
jmp 0x1400b05b1
cmp dword [0x1402b65e0], 2
jg 0x1400b05b9
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.1401f99b0
lea rcx, [rsp + 0x90]
lea rdx, str.Cannot_find_module
mov r8d, 0x13
call fcn.1401c1300
lea rdx, str.chrome.dll
mov rcx, rax
call fcn.1401f79e0
mov rcx, rdi
call fcn.1401f9a30
mov qword [rsi + 8], 0
mov esi, 7
cmp byte [rsp + 0x57], 0
jns 0x1400b05d7
mov rcx, qword [rsp + 0x40]
call fcn.1401833ec
movabs rdi, 0xfffffffc00000000
mov rcx, qword [rsp + 0x68]
mov rax, rcx
and rax, rdi
cmp rax, qword [0x14029be48]
jne 0x1400b05fa
call fcn.1400dca60
mov qword [rsp + 0x68], 0
mov rcx, qword [rsp + 0x60]
and rdi, rcx
cmp rdi, qword [0x14029be48]
jne 0x1400b0619
call fcn.1400dca60
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.140186020
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