Function at 0x14004b214
Capabilities:
Set current directory
Terminate process

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 [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x228], rax
call fcn.1400eb880
mov r15, rax
lea rax, str.type
lea r8, [rsp + 0x70]
mov qword [r8], rax
mov qword [r8 + 8], 4
lea rdx, [rsp + 0x80]
mov rcx, r15
call fcn.140094f60
lea r14, [rsi + 0x10]
cmp byte [rsi + 0x27], 0
js 0x14004b61c
mov rax, qword [rsp + 0x90]
mov qword [r14 + 0x10], rax
movups xmm0, xmmword [rsp + 0x80]
movups xmmword [r14], xmm0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
movzx eax, byte [rsi + 0x27]
test al, al
js 0x14004b629
mov rdx, qword [rsi + 0x18]
mov rdi, rax
mov rcx, r14
test al, al
jns 0x14004b2cb
mov rcx, qword [r14]
mov rax, rdx
test rax, rax
js 0x14004b64f
test rcx, rcx
jne 0x14004b2e2
test rax, rax
jne 0x14004b7dd
cmp rax, 7
jne 0x14004b493
mov eax, 0x76726573
xor eax, dword [rcx]
mov edx, 0x65636976
xor edx, dword [rcx + 3]
or edx, eax
sete bpl
lea rdx, str.check_state_and_terminate
mov rcx, r15
call fcn.1400eb890
test al, al
jne 0x14004b75b
mov rcx, r15
call fcn.14003982e
cmp eax, 7
setne al
test rdi, rdi
je 0x14004b5f6
or bpl, al
jne 0x14004b5f6
movabs rbx, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x40]
mov qword [rcx + 0x10], rbx
movaps xmm6, xmmword [0x14029bb90]
movaps xmmword [rcx], xmm6
call fcn.1400a4a50
lea r13, [rsp + 0x210]
mov qword [r13 + 0x10], rbx
movaps xmmword [r13], xmm6
mov rcx, r13
call fcn.1400a4a50
mov ecx, 3
mov rdx, r13
call fcn.1400a3df0
lea r12, [rsp + 0x1f0]
mov qword [r12 + 0x10], rbx
movaps xmmword [r12], xmm6
lea rax, [0x1402a5ff8]
lea r8, [rsp + 0x1e0]
mov qword [r8], rax
mov qword [r8 + 8], 0xd
lea rbp, [rsp + 0x80]
mov rcx, r13
mov rdx, rbp
call fcn.1400a8620
lea rbx, str.msedge.dll
lea r8, [rsp + 0x1d0]
mov qword [r8], rbx
mov qword [r8 + 8], 0xa
mov rcx, rbp
mov rdx, r12
call fcn.1400a86d0
mov rcx, rbp
call fcn.1400f0250
lea r13, [rsp + 0x80]
mov rcx, r13
mov rdx, r12
mov r8d, 0x21
call fcn.14004b860
mov rcx, r13
call fcn.14009b160
mov ebp, eax
mov rcx, r13
call fcn.140059b60
test bpl, bpl
jne 0x14004b635
lea r8, [rsp + 0x1c0]
mov qword [r8], rbx
mov qword [r8 + 8], 0xa
lea rcx, [rsp + 0x210]
lea rdx, [rsp + 0x80]
call fcn.1400a86d0
lea rcx, [rsp + 0x1f0]
call fcn.1400f0250
lea rcx, [rsp + 0x210]
call fcn.1400f0250
lea r12, [rsp + 0x40]
lea r13, [rsp + 0x80]
mov rcx, r12
mov rdx, r13
call fcn.1400a3db0
mov rcx, r13
call fcn.1400f0250
movzx eax, byte [r12 + 0x17]
test al, al
jns 0x14004b49a
mov rax, qword [rsp + 0x48]
jmp 0x14004b49d
xor ebp, ebp
jmp 0x14004b301
and eax, 0x7f
test rax, rax
je 0x14004b67b
lea r12, [rsp + 0x40]
mov rcx, r12
mov rdx, r13
call fcn.1400a0f20
cmp byte [rsp + 0x97], 0
mov rcx, r13
jns 0x14004b4cb
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rcx, r13
call fcn.1400f0250
lea rdx, str.reduced_read_edge_dll
mov rcx, r15
call fcn.1400eb890
test al, al
jne 0x14004b610
call fcn.14004b80a
test al, al
jne 0x14004b5e0
movabs r8, 0x7fffffffffffffff
mov rcx, r12
mov dl, 1
call fcn.1400bbdf0
cmp byte [rsp + 0x57], 0
jns 0x14004b51d
mov r12, qword [rsp + 0x40]
mov rcx, r12
xor edx, edx
mov r8d, 8
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
je 0x14004b6f8
mov qword [rsi + 8], rax
test rdi, rdi
je 0x14004b550
mov ecx, 0x27f
mov edx, 1
call qword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
mov rax, qword [rsi]
mov rax, qword [rax + 8]
lea r8, [rsp + 0x40]
mov rcx, rsi
mov rdx, r14
call qword [0x140318008]
mov rcx, qword [rsi + 8]
lea rdx, str.ChromeMain
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
call fcn.1400eb880
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
mov r9, rax
mov rax, rsi
call qword [0x140318008]
mov esi, eax
lea rcx, [rsp + 0x40]
call fcn.1400f0250
lea rcx, [rsp + 0x60]
call fcn.14004b88e
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.14010fba0
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
lea rcx, str.msEnableReducedPVMByCOFF
call fcn.14004c6ba
test al, al
je 0x14004b4fd
jmp 0x14004b610
call sub.msedge_elf.dll_IsExtensionPointDisableSet
movzx edx, al
shl edx, 0xc
lea rcx, [rsp + 0x60]
call fcn.14004c8e6
jmp 0x14004b338
mov cl, 1
call fcn.1401c3e20
jmp 0x14004b4fd
mov rcx, qword [r14]
call fcn.14010cc0c
jmp 0x14004b28b
mov rdx, qword [rsi + 0x18]
mov rdi, rdx
jmp 0x14004b2be
lea rcx, [rsp + 0x80]
lea rdx, [rsp + 0x1f0]
call fcn.1400f2080
jmp 0x14004b448
lea rax, str.string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len___static_cast_size_type__numeric_limits_difference_type_::max___
mov r8d, 0x13a
call fcn.140165620
mov ecx, 2
call fcn.14005e390
test al, al
je 0x14004b6e6
call sub.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, 0x82
mov r9d, 2
call fcn.1401cdc40
lea rcx, [rsp + 0x90]
lea rdx, str.Cannot_find_module
mov r8d, 0x13
call fcn.14017d289
lea rdx, str.msedge.dll
mov rcx, rax
call fcn.1401cb460
mov rcx, rdi
call fcn.1401cdcc0
mov qword [rsi + 8], 0
mov esi, 7
jmp 0x14004b59e
mov ecx, 2
call fcn.14005e390
test al, al
je 0x14004b6e6
call sub.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, 0x87
mov r9d, 2
call fcn.1401cdc40
lea rcx, [rsp + 0x90]
lea rdx, str.Failed_to_load_Chrome_DLL_from
mov r8d, 0x1f
call fcn.14017d289
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.1400fdfa0
jmp 0x14004b6de
mov ecx, 2
call fcn.14005e390
test al, al
je 0x14004b7c4
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str.....chrome_appmain_dll_loader_win.cc
lea r12, [rsp + 0x80]
mov rcx, r12
mov r8d, 0xa1
mov r9d, 2
call fcn.1401cdc40
lea rcx, [rsp + 0x90]
lea rdx, str.Browser_state_checked_and_exiting.
mov r8d, 0x22
call fcn.14017d289
mov rcx, rax
mov edx, 0xa0
call fcn.14010bf7a
mov rcx, r12
call fcn.1401cdcc0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xa0
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x14004b318
lea rax, str.string_view::string_view__CharT___size_t_:_received_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len__0____s___nullptr
mov r8d, 0x13c
call fcn.140165620
int3