Function at 0x1400bbde0
Capabilities:
Set current directory

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x208
mov qword [rsp + 0x28], r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x200], rax
mov r14, qword [0x1402a0c90]
lea rax, str.type
lea r8, [rsp + 0x90]
mov qword [r8], rax
mov qword [r8 + 8], 4
lea rdx, [rsp + 0xa0]
mov rcx, r14
call fcn.14001ab30
lea r15, [rsi + 0x10]
cmp byte [rsi + 0x27], 0
jns 0x1400bbe53
mov rcx, qword [r15]
call fcn.14017b254
movabs r12, 0x7fffffffffffffff
mov rax, qword [rsp + 0xb0]
mov qword [r15 + 0x10], rax
movups xmm0, xmmword [rsp + 0xa0]
movups xmmword [r15], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r13, [rsp + 0x70]
mov qword [r13 + 0x10], rax
movaps xmm0, xmmword [0x140270690]
movaps xmmword [r13], xmm0
lea rax, str.icudtl.dat
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], 0xa
mov rcx, r13
call fcn.1400bc250
mov rcx, r13
mov dl, 1
mov r8, r12
call fcn.14004d3e0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movzx edi, byte [rsi + 0x27]
test dil, dil
jns 0x1400bbed5
mov rdi, qword [rsi + 0x18]
mov rcx, r14
call fcn.1400cb770
test rdi, rdi
je 0x1400bbeeb
cmp eax, 6
je 0x1400bbfab
call sub.chrome_elf.dll_IsExtensionPointDisableSet
cmp qword [0x1402a50a8], 0
jne 0x1400bc234
mov ebp, eax
mov r13, qword [0x1402a4450]
test r13, r13
jne 0x1400bbf77
mov ecx, 0x58
call fcn.14017b1d8
lea rcx, str.p2_r_
mov qword [rax], rcx
xorps xmm0, xmm0
movups xmmword [rax + 8], xmm0
movups xmmword [rax + 0x18], xmm0
movups xmmword [rax + 0x28], xmm0
movups xmmword [rax + 0x40], xmm0
mov qword [rax + 0x50], 0
mov qword [0x1402a4450], rax
lea rcx, [0x140068030]
call fcn.14017ce7c
mov r13, qword [0x1402a4450]
mov qword [rsp + 0x50], r13
test r13, r13
jne 0x1400bbf7c
cmp qword [0x1402a50a8], 0
je 0x1400bc228
call fcn.1402013a0
jmp 0x1400bc22a
mov qword [rsp + 0x50], r13
movzx edx, bpl
shl rdx, 0xc
mov rax, qword [r13]
mov rax, qword [rax + 0x48]
mov rcx, r13
call qword [case.0x1401e7f70.0]
mov rax, qword [r13]
mov rax, qword [rax + 0x50]
mov edx, 0x403
mov rcx, r13
call qword [case.0x1401e7f70.0]
lea rax, str.chrome.dll
lea rdx, [rsp + 0x1e0]
mov qword [rdx], rax
mov qword [rdx + 8], 0xa
lea rbp, [rsp + 0xa0]
mov rcx, rbp
call fcn.1400bc250
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rbp]
movaps xmmword [rsp + 0x30], xmm0
movzx eax, byte [rsp + 0x47]
test al, al
jns 0x1400bbff7
mov rax, qword [rsp + 0x38]
jmp 0x1400bbffa
and eax, 0x7f
test rax, rax
je 0x1400bc0d7
lea r13, [rsp + 0x30]
mov rcx, r13
mov rdx, rbp
call fcn.14014ae20
cmp byte [rsp + 0xb7], 0
jns 0x1400bc025
mov rbp, qword [rsp + 0xa0]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp byte [rsp + 0xb7], 0
jns 0x1400bc045
mov rcx, qword [rsp + 0xa0]
call fcn.14017b254
mov rcx, r13
mov dl, 1
mov r8, r12
call fcn.14004d3e0
cmp byte [rsp + 0x47], 0
jns 0x1400bc05e
mov r13, qword [rsp + 0x30]
mov rcx, r13
xor edx, edx
mov r8d, 8
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
je 0x1400bc13f
mov qword [rsi + 8], rax
test rdi, rdi
je 0x1400bc091
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 + 0x30]
mov rcx, rsi
mov rdx, r14
mov r8, r15
call qword [case.0x1401e7f70.0]
mov rcx, qword [rsi + 8]
lea rdx, str.ChromeMain
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rsp + 0x50]
mov rcx, rbx
mov r8, qword [rsp + 0x28]
call qword [case.0x1401e7f70.0]
mov esi, eax
jmp 0x1400bc1dd
cmp dword [0x1402a0cb8], 2
jg 0x1400bc1d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str.....chrome_appmain_dll_loader_win.cc
lea rdi, [rsp + 0xa0]
mov rcx, rdi
mov r8d, 0x6b
mov r9d, 2
call fcn.1401dfc50
lea rcx, [rsp + 0xb0]
lea rdx, str.Cannot_find_module
mov r8d, 0x13
call fcn.1401b98e0
lea rdx, str.chrome.dll
mov rcx, rax
call fcn.1401dfd90
jmp 0x1400bc1c8
cmp dword [0x1402a0cb8], 2
jg 0x1400bc1d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str.....chrome_appmain_dll_loader_win.cc
lea rdi, [rsp + 0xa0]
mov rcx, rdi
mov r8d, 0x70
mov r9d, 2
call fcn.1401dfc50
lea rcx, [rsp + 0xb0]
lea rdx, str.Failed_to_load_Chrome_DLL_from
mov r8d, 0x1f
call fcn.1401b98e0
lea rcx, [rsp + 0x30]
movzx edx, byte [rcx + 0x17]
mov r8d, edx
and r8d, 0x7f
test dl, dl
mov r9, qword [rcx]
cmovns r9, rcx
lea rdx, [rsp + 0x1f0]
mov qword [rdx], r9
cmovs r8, qword [rcx + 8]
mov qword [rdx + 8], r8
mov rcx, rax
call fcn.1400722a0
mov rcx, rdi
call fcn.1401dfcd0
mov qword [rsi + 8], 0
mov esi, 7
cmp byte [rsp + 0x47], 0
jns 0x1400bc1ee
mov rcx, qword [rsp + 0x30]
call fcn.14017b254
cmp byte [rsp + 0x87], 0
jns 0x1400bc202
mov rcx, qword [rsp + 0x70]
call fcn.14017b254
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.14017e7b0
mov eax, esi
add rsp, 0x208
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
mov qword [rsp + 0x58], rax
jmp 0x1400bbfab
mov qword [rsp + 0x50], 0
jmp 0x1400bbf6d