Function at 0x140052ce0
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 [0x140346038]
xor rax, rsp
mov qword [rsp + 0x228], rax
call fcn.14012ddb0
mov r14, rax
lea rax, str.type
lea r8, [rsp + 0x70]
mov qword [r8], rax
mov qword [r8 + 8], 4
lea rdx, [rsp + 0x80]
mov rcx, r14
call fcn.1400c6d70
lea r15, [rsi + 0x10]
cmp byte [rsi + 0x27], 0
js 0x1400531e2
mov rax, qword [rsp + 0x90]
mov qword [r15 + 0x10], rax
movups xmm0, xmmword [rsp + 0x80]
movups xmmword [r15], xmm0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
movzx eax, byte [rsi + 0x27]
test al, al
js 0x1400531ef
mov rdx, qword [rsi + 0x18]
mov rdi, rax
mov rcx, r15
test al, al
jns 0x140052d97
mov rcx, qword [r15]
mov rax, rdx
test rax, rax
js 0x1400531fb
test rcx, rcx
jne 0x140052dae
test rax, rax
jne 0x1400532a9
cmp rax, 7
jne 0x140052f5d
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, r14
call fcn.14012de90
test al, al
jne 0x140053227
mov rcx, r14
call fcn.140053c01
cmp eax, 6
setne al
test rdi, rdi
je 0x1400530cd
or bpl, al
jne 0x1400530cd
movabs rbx, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x40]
mov qword [rcx + 0x10], rbx
movaps xmm6, xmmword [0x1402fccc0]
movaps xmmword [rcx], xmm6
call fcn.1400d8550
lea r13, [rsp + 0x210]
mov qword [r13 + 0x10], rbx
movaps xmmword [r13], xmm6
mov rcx, r13
call fcn.1400d8550
mov ecx, 3
mov rdx, r13
call fcn.140133340
lea r12, [rsp + 0x1f0]
mov qword [r12 + 0x10], rbx
movaps xmmword [r12], xmm6
lea rax, str.117.0.2045.31
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.1400e7e90
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.1400cb0d0
mov rcx, rbp
call fcn.1400d8480
lea r13, [rsp + 0x80]
mov rcx, r13
mov rdx, r12
mov r8d, 0x21
call fcn.1400532f0
mov rcx, r13
call fcn.1400e6270
mov ebp, eax
mov rcx, r13
call fcn.140066cf0
test bpl, bpl
jne 0x1400530e8
lea r8, [rsp + 0x1c0]
mov qword [r8], rbx
mov qword [r8 + 8], 0xa
lea rcx, [rsp + 0x210]
lea rdx, [rsp + 0x80]
call fcn.1400cb0d0
lea rcx, [rsp + 0x1f0]
call fcn.1400d8480
lea rcx, [rsp + 0x210]
call fcn.1400d8480
lea r12, [rsp + 0x40]
lea r13, [rsp + 0x80]
mov rcx, r12
mov rdx, r13
call fcn.1400d8440
mov rcx, r13
call fcn.1400d8480
movzx eax, byte [r12 + 0x17]
test al, al
js 0x140052f64
and eax, 0x7f
jmp 0x140052f69
xor ebp, ebp
jmp 0x140052dcd
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x140053102
lea r12, [rsp + 0x40]
mov rcx, r12
mov rdx, r13
call fcn.1400df8d0
cmp byte [rsp + 0x97], 0
mov rcx, r13
jns 0x140052f97
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rcx, r13
call fcn.1400d8480
mov rcx, r13
call fcn.14013ee36
cmp byte [rsp + 0x97], 0
jns 0x140052fbf
mov r13, qword [rsp + 0x80]
mov rcx, r13
call fcn.140053390
xor al, 1
mov ecx, eax
call fcn.1400532e0
cmp byte [rsp + 0x97], 0
jns 0x140052fe7
mov rcx, qword [rsp + 0x80]
call fcn.140153bcc
movabs r8, 0x7fffffffffffffff
mov rcx, r12
mov dl, 1
call fcn.1400f8440
cmp byte [rsp + 0x57], 0
jns 0x140053007
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 0x14005317f
mov qword [rsi + 8], rax
test rdi, rdi
je 0x14005303a
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 + 0x40]
mov rcx, rsi
mov rdx, r14
mov r8, r15
call qword [0x14037e008]
mov rcx, qword [rsi + 8]
lea rdx, str.ChromeMain
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
call fcn.14012ddb0
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
mov r9, rax
mov rax, rsi
call qword [0x14037e008]
mov esi, eax
lea rcx, [rsp + 0x40]
call fcn.1400d8480
lea rcx, [rsp + 0x60]
call fcn.14013eef0
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.140156fe0
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
call sub.msedge_elf.dll_IsExtensionPointDisableSet
movzx edx, al
shl rdx, 0xc
lea rcx, [rsp + 0x60]
call fcn.140054676
jmp 0x140052e04
lea rcx, [rsp + 0x80]
lea rdx, [rsp + 0x1f0]
call fcn.1400e2490
jmp 0x140052f14
mov ecx, 2
call fcn.14008daf0
test al, al
je 0x14005316d
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, 0x75
mov r9d, 2
call fcn.14009c6a0
lea rcx, [rsp + 0x90]
lea rdx, str.Cannot_find_module
mov r8d, 0x13
call fcn.140097cc9
lea rdx, str.msedge.dll
mov rcx, rax
call fcn.1402403e0
mov rcx, rdi
call fcn.14009c720
mov qword [rsi + 8], 0
mov esi, 7
jmp 0x14005308b
mov ecx, 2
call fcn.14008daf0
test al, al
je 0x14005316d
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, 0x7a
mov r9d, 2
call fcn.14009c6a0
lea rcx, [rsp + 0x90]
lea rdx, str.Failed_to_load_Chrome_DLL_from
mov r8d, 0x1f
call fcn.140097cc9
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14014bff0
jmp 0x140053165
mov rcx, qword [r15]
call fcn.140153bcc
jmp 0x140052d57
mov rdx, qword [rsi + 0x18]
mov rdi, rdx
jmp 0x140052d8a
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.1401bf470
mov ecx, 2
call fcn.14008daf0
test al, al
je 0x140053290
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, 0x95
mov r9d, 2
call fcn.14009c6a0
lea rcx, [rsp + 0x90]
lea rdx, str.Browser_state_checked_and_exiting.
mov r8d, 0x22
call fcn.140097cc9
mov rcx, rax
mov edx, 0xa0
call fcn.14009e738
mov rcx, r12
call fcn.14009c720
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xa0
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x140052de4
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.1401bf470
int3