Function at 0x1400afcc0
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 [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov r14, qword [0x1402b0d20]
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.140149330
lea r15, [rsi + 0x10]
cmp byte [rsi + 0x27], 0
jns 0x1400afd30
mov rcx, qword [r15]
call fcn.14018482c
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 0x1400afd5a
mov rbp, qword [rsi + 0x18]
mov rcx, r14
call fcn.1400b9a10
test rbp, rbp
je 0x1400afd6c
cmp eax, 6
je 0x1400afd82
call sub.chrome_elf.dll_IsExtensionPointDisableSet
movzx edx, al
shl rdx, 0xc
lea rcx, [rsp + 0x50]
call fcn.140061800
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.1400561e0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x1e0], rax
movaps xmm0, xmmword [0x1402724c0]
movaps xmmword [rsp + 0x1d0], xmm0
lea rax, [0x14027bd50]
lea rdx, [rsp + 0x210]
mov qword [rdx], rax
mov qword [rdx + 8], 0xc
mov rcx, r12
call fcn.1401253a0
movzx eax, byte [rsp + 0x87]
test al, al
cmovs r12, qword [rsp + 0x70]
lea r8, [rsp + 0x220]
mov qword [r8], r12
cmovs rax, qword [rsp + 0x78]
mov qword [r8 + 8], rax
lea rdx, [rsp + 0x1b8]
mov rcx, r13
call fcn.140125960
cmp byte [rsp + 0x87], 0
jns 0x1400afe3b
mov rcx, qword [rsp + 0x70]
call fcn.14018482c
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.140125960
cmp byte [r12 + 0x17], 0
jns 0x1400afe82
mov rcx, qword [rsp + 0x1b8]
call fcn.14018482c
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.14005f0b0
mov rdi, qword [r12]
mov rcx, r12
call fcn.14015f4b0
inc rdi
cmp rdi, 2
jae 0x1400afef8
lea r8, [rsp + 0x1b8]
mov qword [r8], r13
mov qword [r8 + 8], 0xa
lea rcx, [rsp + 0x1f0]
lea rdx, [rsp + 0x70]
call fcn.140125960
jmp 0x1400aff0a
lea rcx, [rsp + 0x70]
lea rdx, [rsp + 0x1d0]
call fcn.140109380
cmp byte [rsp + 0x1e7], 0
jns 0x1400aff21
mov rcx, qword [rsp + 0x1d0]
call fcn.14018482c
cmp byte [rsp + 0x207], 0
jns 0x1400aff38
mov rcx, qword [rsp + 0x1f0]
call fcn.14018482c
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x30], xmm0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
movzx eax, byte [rsp + 0x47]
test al, al
jns 0x1400aff5d
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1400b003b
lea r13, [rsp + 0x30]
mov rcx, r13
mov rdx, r12
call fcn.1401487c0
cmp byte [rsp + 0x87], 0
jns 0x1400aff85
mov r12, qword [rsp + 0x70]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp byte [rsp + 0x87], 0
jns 0x1400affa2
mov rcx, qword [rsp + 0x70]
call fcn.14018482c
movabs r8, 0x7fffffffffffffff
mov rcx, r13
mov dl, 1
call fcn.14005ed70
cmp byte [rsp + 0x47], 0
jns 0x1400affc2
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 0x1400b009d
mov qword [rsi + 8], rax
test rbp, rbp
je 0x1400afff5
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.0x1401eda70.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.0x1401eda70.0]
mov esi, eax
jmp 0x1400b012f
cmp dword [0x1402b0c58], 2
jg 0x1400b0122
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.1401f17c0
lea rcx, [rsp + 0x80]
lea rdx, str.Cannot_find_module
mov r8d, 0x13
call fcn.1401c17b0
lea rdx, str.chrome.dll
mov rcx, rax
call fcn.1401f18f0
jmp 0x1400b011a
cmp dword [0x1402b0c58], 2
jg 0x1400b0122
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.1401f17c0
lea rcx, [rsp + 0x80]
lea rdx, str.Failed_to_load_Chrome_DLL_from
mov r8d, 0x1f
call fcn.1401c17b0
lea rcx, [rsp + 0x30]
movzx r8d, byte [rcx + 0x17]
test r8b, r8b
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.1400717d0
mov rcx, rdi
call fcn.1401f1840
mov qword [rsi + 8], 0
mov esi, 7
cmp byte [rsp + 0x47], 0
jns 0x1400b0140
mov rcx, qword [rsp + 0x30]
call fcn.14018482c
movabs rdi, 0xfffffffc00000000
mov rcx, qword [rsp + 0x58]
mov rax, rcx
and rax, rdi
cmp rax, qword [0x1402aaec8]
jne 0x1400b0163
call fcn.1400da480
mov qword [rsp + 0x58], 0
mov rcx, qword [rsp + 0x50]
and rdi, rcx
cmp rdi, qword [0x1402aaec8]
jne 0x1400b0182
call fcn.1400da480
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1401874c0
mov eax, esi
add rsp, 0x238
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret