Function at 0x1400af1f0
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 + 0x28], r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x140297028]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov r14, qword [0x1402acbd0]
lea rax, str.type
lea r8, [rsp + 0x60]
mov qword [r8], rax
mov qword [r8 + 8], 4
lea r12, [rsp + 0x70]
mov rcx, r14
mov rdx, r12
call fcn.140145be0
lea r15, [rsi + 0x10]
cmp byte [rsi + 0x27], 0
jns 0x1400af260
mov rcx, qword [r15]
call fcn.14018039c
mov rax, qword [rsp + 0x80]
mov qword [r15 + 0x10], rax
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [r15], xmm0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movzx ebp, byte [rsi + 0x27]
test bpl, bpl
jns 0x1400af28a
mov rbp, qword [rsi + 0x18]
mov rcx, r14
call fcn.1400b7bb0
test rbp, rbp
je 0x1400af29c
cmp eax, 6
je 0x1400af2b2
call sub.chrome_elf.dll_IsExtensionPointDisableSet
movzx edx, al
shl rdx, 0xc
lea rcx, [rsp + 0x50]
call fcn.14005ecb0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
xor eax, eax
mov qword [rsp + 0x40], rax
lea r13, [rsp + 0x1f0]
mov qword [r13 + 0x10], rax
movaps xmmword [r13], xmm0
mov ecx, 3
mov rdx, r13
call fcn.140055580
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x1e0], rax
movaps xmm0, xmmword [0x140268c70]
movaps xmmword [rsp + 0x1d0], xmm0
lea rax, [0x140277dc0]
lea rdx, [rsp + 0x210]
mov qword [rdx], rax
mov qword [rdx + 8], 0xe
mov rcx, r12
call fcn.140109a70
movzx eax, byte [rsp + 0x87]
mov ecx, eax
and ecx, 0x7f
test al, al
cmovs r12, qword [rsp + 0x70]
lea r8, [rsp + 0x220]
mov qword [r8], r12
cmovs rcx, qword [rsp + 0x78]
mov qword [r8 + 8], rcx
lea rdx, [rsp + 0x1b8]
mov rcx, r13
call fcn.14010a040
cmp byte [rsp + 0x87], 0
jns 0x1400af370
mov rcx, qword [rsp + 0x70]
call fcn.14018039c
lea r13, str.chrome.dll
lea r8, [rsp + 0x220]
mov qword [r8], r13
mov qword [r8 + 8], 0xa
lea r12, [rsp + 0x1b8]
lea rdx, [rsp + 0x1d0]
mov rcx, r12
call fcn.14010a040
cmp byte [r12 + 0x17], 0
jns 0x1400af3b7
mov rcx, qword [rsp + 0x1b8]
call fcn.14018039c
lea r12, [rsp + 0x70]
mov dword [r12 + 0x24], 0
mov word [r12 + 0x28], 0
xorps xmm0, xmm0
movaps xmmword [r12], xmm0
movaps xmmword [r12 + 0x10], xmm0
lea rdx, [rsp + 0x1d0]
mov rcx, r12
mov r8d, 0x21
call fcn.14005c4c0
mov rdi, qword [r12]
mov rcx, r12
call fcn.14015ad10
inc rdi
cmp rdi, 2
jae 0x1400af47e
lea r8, [rsp + 0x1b8]
mov qword [r8], r13
mov qword [r8 + 8], 0xa
lea rcx, [rsp + 0x1f0]
lea rdx, [rsp + 0x70]
call fcn.14010a040
cmp byte [rsp + 0x1e7], 0
jns 0x1400af442
mov rcx, qword [rsp + 0x1d0]
call fcn.14018039c
cmp byte [rsp + 0x207], 0
jns 0x1400af459
mov rcx, qword [rsp + 0x1f0]
call fcn.14018039c
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x30], xmm0
movzx eax, byte [rsp + 0x47]
test al, al
js 0x1400af492
and eax, 0x7f
jmp 0x1400af497
lea rcx, [rsp + 0x70]
lea rdx, [rsp + 0x1d0]
call fcn.1400f6fe0
jmp 0x1400af42b
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1400af5f9
lea r13, [rsp + 0x30]
mov rcx, r13
mov rdx, r12
call fcn.140144e40
cmp byte [rsp + 0x87], 0
jns 0x1400af4bf
mov r12, qword [rsp + 0x70]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp byte [rsp + 0x87], 0
jns 0x1400af4dc
mov rcx, qword [rsp + 0x70]
call fcn.14018039c
movabs r8, 0x7fffffffffffffff
mov rcx, r13
mov dl, 1
call fcn.14005c170
cmp byte [rsp + 0x47], 0
jns 0x1400af4fc
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 0x1400af571
mov qword [rsi + 8], rax
test rbp, rbp
je 0x1400af52b
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.0x1401e9be0.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.0x1401e9be0.0]
mov esi, eax
jmp 0x1400af66a
cmp dword [0x1402acb48], 2
jg 0x1400af65d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str.....chrome_appmain_dll_loader_win.cc
lea rdi, [rsp + 0x70]
mov rcx, rdi
mov r8d, 0x6d
mov r9d, 2
call fcn.1401ed840
lea rcx, [rsp + 0x80]
lea rdx, str.Failed_to_load_Chrome_DLL_from
mov r8d, 0x1f
call fcn.1401bd290
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.140070340
jmp 0x1400af655
cmp dword [0x1402acb48], 2
jg 0x1400af65d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str.....chrome_appmain_dll_loader_win.cc
lea rdi, [rsp + 0x70]
mov rcx, rdi
mov r8d, 0x68
mov r9d, 2
call fcn.1401ed840
lea rcx, [rsp + 0x80]
lea rdx, str.Cannot_find_module
mov r8d, 0x13
call fcn.1401bd290
lea rdx, str.chrome.dll
mov rcx, rax
call fcn.1401ed980
mov rcx, rdi
call fcn.1401ed8c0
mov qword [rsi + 8], 0
mov esi, 7
cmp byte [rsp + 0x47], 0
jns 0x1400af67b
mov rcx, qword [rsp + 0x30]
call fcn.14018039c
movabs rdi, 0xfffffffc00000000
mov rcx, qword [rsp + 0x58]
mov rax, rcx
and rax, rdi
cmp rax, qword [0x1402a6e88]
jne 0x1400af69e
call fcn.1400d83a0
mov qword [rsp + 0x58], 0
mov rcx, qword [rsp + 0x50]
and rdi, rcx
cmp rdi, qword [0x1402a6e88]
jne 0x1400af6bd
call fcn.1400d83a0
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1401830b0
mov eax, esi
add rsp, 0x238
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret