Function at 0x14000d350
Capabilities:
Set current directory

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x238
movaps xmmword [rsp + 0x220], xmm6
mov qword [rsp + 0x28], r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1402b4040]
xor rax, rsp
mov qword [rsp + 0x218], rax
mov r14, qword [0x1402c6c48]
lea rax, str.type
lea r8, [rsp + 0x60]
mov qword [r8], rax
mov qword [r8 + 8], 4
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.140146760
lea rdi, [rsi + 0x10]
cmp byte [rsi + 0x27], 0
js 0x14000d731
mov rax, qword [rsp + 0x80]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rdi], xmm0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movsx rbp, byte [rsi + 0x27]
test rbp, rbp
js 0x14000d714
mov rcx, r14
call fcn.14000dd60
test rbp, rbp
je 0x14000d6fa
cmp eax, 7
jne 0x14000d6fa
xorps xmm6, xmm6
movaps xmmword [rsp + 0x30], xmm6
xor eax, eax
mov qword [rsp + 0x40], rax
lea r15, [rsp + 0x200]
mov qword [r15 + 0x10], rax
movaps xmmword [r15], xmm6
mov ecx, 3
mov rdx, r15
call fcn.14004c420
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r12, [rsp + 0x1e0]
mov qword [r12 + 0x10], rax
movaps xmm0, xmmword [0x140270080]
movaps xmmword [r12], xmm0
lea rax, [0x140275058]
lea r8, [rsp + 0x1d0]
mov qword [r8], rax
mov qword [r8 + 8], reloc.WLDAP32.dll_Ordinal_14
lea r13, [rsp + 0x70]
mov rcx, r15
mov rdx, r13
call fcn.140051c70
lea rdi, str.chrome.dll
lea r8, [rsp + 0x1c0]
mov qword [r8], rdi
mov qword [r8 + 8], 0xa
mov rcx, r13
mov rdx, r12
call fcn.140156450
cmp byte [r13 + 0x17], 0
jns 0x14000d4b4
mov rcx, qword [rsp + 0x70]
call fcn.14018fb90
lea r15, [rsp + 0x70]
mov dword [r15 + 0x24], 0
mov word [r15 + 0x28], 0
movaps xmmword [r15], xmm6
movaps xmmword [r15 + 0x10], xmm6
lea rdx, [rsp + 0x1e0]
mov rcx, r15
mov r8d, 0x21
call fcn.14000d820
mov r12, qword [r15]
mov rcx, r15
call fcn.140156d60
inc r12
cmp r12, 2
jae 0x14000d6c5
lea r8, [rsp + 0x1b0]
mov qword [r8], rdi
mov qword [r8 + 8], 0xa
lea rcx, [rsp + 0x200]
lea rdx, [rsp + 0x70]
call fcn.140156450
cmp byte [rsp + 0x1f7], 0
jns 0x14000d53b
mov rcx, qword [rsp + 0x1e0]
call fcn.14018fb90
cmp byte [rsp + 0x217], 0
jns 0x14000d552
mov rcx, qword [rsp + 0x200]
call fcn.14018fb90
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x30], xmm0
movsx rax, byte [rsp + 0x47]
test rax, rax
jns 0x14000d579
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x14000d73e
lea r12, [rsp + 0x30]
mov rcx, r12
mov rdx, r15
call fcn.140155540
cmp byte [rsp + 0x87], 0
jns 0x14000d5a1
mov r15, qword [rsp + 0x70]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp byte [rsp + 0x87], 0
jns 0x14000d5be
mov rcx, qword [rsp + 0x70]
call fcn.14018fb90
test rbp, rbp
je 0x14000d6dc
lea rdx, str.no_pre_read_main_dll
mov rcx, r14
call fcn.140146600
test al, al
je 0x14000d6dc
cmp byte [rsp + 0x47], 0
jns 0x14000d5ea
mov r12, qword [rsp + 0x30]
mov rcx, r12
xor edx, edx
mov r8d, 8
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
je 0x14000d7b8
mov qword [rsi + 8], rax
test rbp, rbp
je 0x14000d621
mov ecx, 0x27f
mov edx, 1
call qword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
mov rax, qword [rsi + 8]
lea rdx, str.ChromeMain
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rsp + 0x50]
mov rcx, rbx
mov r8, qword [rsp + 0x28]
call qword [0x1402a4f40]
mov esi, eax
cmp byte [rsp + 0x47], 0
jns 0x14000d657
mov rcx, qword [rsp + 0x30]
call fcn.14018fb90
movabs rdi, 0xfffffffc00000000
mov rcx, qword [rsp + 0x58]
mov rax, rcx
and rax, rdi
cmp rax, qword [0x1402b6788]
je 0x14000d71d
mov qword [rsp + 0x58], 0
mov rcx, qword [rsp + 0x50]
and rdi, rcx
cmp rdi, qword [0x1402b6788]
je 0x14000d727
mov rcx, qword [rsp + 0x218]
xor rcx, rsp
call fcn.140192360
mov eax, esi
movaps xmm6, xmmword [rsp + 0x220]
add rsp, 0x238
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x70]
lea rdx, [rsp + 0x1e0]
call fcn.140146500
jmp 0x14000d524
lea rcx, [rsp + 0x30]
movabs r9, 0x7fffffffffffffff
mov dl, 1
xor r8d, r8d
call fcn.14000d8b0
jmp 0x14000d5de
call sub.chrome_elf.dll_IsExtensionPointDisableSet
movzx edx, al
shl edx, 0xc
lea rcx, [rsp + 0x50]
call fcn.14000dc30
jmp 0x14000d405
mov rbp, qword [rsi + 0x18]
jmp 0x14000d3eb
call fcn.1400fdce0
jmp 0x14000d679
call fcn.1400fdce0
jmp 0x14000d697
mov rcx, qword [rdi]
call fcn.14018fb90
jmp 0x14000d3c1
mov ecx, 2
call fcn.14018df00
test al, al
je 0x14000d7a6
call sub.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, 0x77
mov r9d, 2
call fcn.1401f9570
lea rcx, [rsp + 0x80]
lea rdx, str.Cannot_find_module
mov r8d, 0x13
call fcn.140172f40
lea rdx, str.chrome.dll
mov rcx, rax
call fcn.1401f6b20
mov rcx, rdi
call fcn.1401f95e0
mov qword [rsi + 8], 0
mov esi, 7
jmp 0x14000d646
mov ecx, 2
call fcn.14018df00
test al, al
je 0x14000d7a6
call sub.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, Ordinal_127
mov r9d, 2
call fcn.1401f9570
lea rcx, [rsp + 0x80]
lea rdx, str.Failed_to_load_Chrome_DLL_from
mov r8d, 0x1f
call fcn.140172f40
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140069610
jmp 0x14000d79e