Function at 0x140054a20
Capabilities:
Set current directory

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x258
movaps xmmword [rsp + 0x240], xmm6
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x14013b040]
xor rax, rsp
mov qword [rsp + 0x238], rax
mov r14, qword [0x14014cb50]
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.14007f660
lea r15, [rsi + 0x10]
cmp byte [rsi + 0x27], 0
jns 0x140054a93
mov rcx, qword [r15]
call fcn.14009d26c
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
movsx r13, byte [rsi + 0x27]
test r13, r13
jns 0x140054abe
mov r13, qword [rsi + 0x18]
mov rcx, r14
call fcn.14000a650
test r13, r13
je 0x140054ad0
cmp eax, 7
je 0x140054ae5
call sub.opera_elf.dll_IsExtensionPointDisableSet
movzx edx, al
shl edx, 0xc
lea rcx, [rsp + 0x50]
call fcn.140033d70
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
xor eax, eax
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x220]
mov qword [rdx + 0x10], rax
movaps xmmword [rdx], xmm0
mov ecx, 3
call fcn.140031990
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x210], r15
movaps xmm6, xmmword [0x14011c0c0]
movaps xmmword [rsp + 0x200], xmm6
call fcn.1400559d0
cmp byte [rax + 0x17], 0
js 0x140054e3b
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x210], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x200], xmm0
lea rax, [rsp + 0x200]
movsx rcx, byte [rax + 0x17]
test rcx, rcx
cmovs rcx, qword [rax + 8]
mov qword [rsp + 0x1f0], r15
cmovs rax, qword [rax]
movaps xmmword [rsp + 0x1e0], xmm6
mov qword [rsp + 0x1d0], rax
mov qword [rsp + 0x1d8], rcx
test rcx, rcx
js 0x140054f7b
sete cl
test rax, rax
setne al
or al, cl
je 0x140054f7e
lea rcx, [rsp + 0x220]
lea r15, [rsp + 0x70]
lea r8, [rsp + 0x1d0]
mov rdx, r15
call fcn.140013160
lea r12, str.opera_browser.dll
lea r8, [rsp + 0x1c0]
mov qword [r8], r12
mov qword [r8 + 8], 0x11
lea rdx, [rsp + 0x1e0]
mov rcx, r15
call fcn.14008d6b0
cmp byte [r15 + 0x17], 0
jns 0x140054bff
mov rcx, qword [rsp + 0x70]
call fcn.14009d26c
lea r15, [rsp + 0x70]
mov dword [r15 + 0x24], 0
mov word [r15 + 0x28], 0
xorps xmm0, xmm0
movaps xmmword [r15], xmm0
movaps xmmword [r15 + 0x10], xmm0
lea rdx, [rsp + 0x1e0]
mov rcx, r15
mov r8d, 0x21
call fcn.14003abb0
mov rbp, qword [r15]
mov rcx, r15
call fcn.14007e670
inc rbp
cmp rbp, 2
jae 0x140054e54
lea r8, [rsp + 0x1b0]
mov qword [r8], r12
mov qword [r8 + 8], 0x11
lea rcx, [rsp + 0x220]
lea rdx, [rsp + 0x70]
call fcn.14008d6b0
cmp byte [rsp + 0x1f7], 0
jns 0x140054c89
mov rcx, qword [rsp + 0x1e0]
call fcn.14009d26c
cmp byte [rsp + 0x217], 0
jns 0x140054ca0
mov rcx, qword [rsp + 0x200]
call fcn.14009d26c
cmp byte [rsp + 0x237], 0
jns 0x140054cb7
mov rcx, qword [rsp + 0x220]
call fcn.14009d26c
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x30], xmm0
movsx rax, byte [rsp + 0x47]
test rax, rax
jns 0x140054cde
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x140054e9f
lea r12, [rsp + 0x30]
mov rcx, r12
mov rdx, r15
call fcn.140083c50
cmp byte [rsp + 0x87], 0
jns 0x140054d06
mov r15, qword [rsp + 0x70]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp byte [rsp + 0x87], 0
jns 0x140054d23
mov rcx, qword [rsp + 0x70]
call fcn.14009d26c
test r13, r13
je 0x140054d3b
lea rdx, str.no_pre_read_main_dll
mov rcx, r14
call fcn.14007f530
test al, al
jne 0x140054d54
lea rcx, [rsp + 0x30]
movabs r9, 0x7fffffffffffffff
mov dl, 1
xor r8d, r8d
call fcn.140009ce0
cmp byte [rsp + 0x47], 0
jns 0x140054d60
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 0x140054f22
mov qword [rsi + 8], rax
test r13, r13
je 0x140054d97
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, rdi
call qword [0x14012fc00]
mov esi, eax
cmp byte [rsp + 0x47], 0
jns 0x140054dcb
mov rcx, qword [rsp + 0x30]
call fcn.14009d26c
movabs rdi, 0xfffffffc00000000
mov rcx, qword [rsp + 0x58]
mov rax, rcx
and rax, rdi
cmp rax, qword [0x14013d588]
jne 0x140054dee
call fcn.14005a8b0
mov qword [rsp + 0x58], 0
mov rcx, qword [rsp + 0x50]
and rdi, rcx
cmp rdi, qword [0x14013d588]
jne 0x140054e0d
call fcn.14005a8b0
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.14009f1f0
mov eax, esi
movaps xmm6, xmmword [rsp + 0x240]
add rsp, 0x258
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, qword [rax]
mov r8, qword [rax + 8]
lea rcx, [rsp + 0x200]
call fcn.140069a40
jmp 0x140054b54
cmp byte [rsp + 0x1f7], 0
jns 0x140054e7d
mov rdx, qword [rsp + 0x1e0]
mov r8, qword [rsp + 0x1e8]
lea rcx, [rsp + 0x70]
call fcn.140069af0
jmp 0x140054c72
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x80], rax
movaps xmm0, xmmword [rsp + 0x1e0]
movaps xmmword [rsp + 0x70], xmm0
jmp 0x140054c72
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str.....operadesktopchrome_importschrome_appmain_dll_loader_win.cc
lea rdi, [rsp + 0x70]
mov rcx, rdi
mov r8d, 0x7d
mov r9d, 2
call fcn.1400eedf0
lea rbx, [rsp + 0x80]
lea rdx, str.Cannot_find_module
mov r8d, 0x13
mov rcx, rbx
call fcn.14008ce70
lea rdx, str.opera_browser.dll
mov rcx, rax
call fcn.1400eda50
lea rax, [0x14011b320]
mov qword [rbx - 0x10], rax
mov rcx, rdi
call fcn.1400eee60
mov rcx, rdi
call fcn.140003cf0
mov qword [rsi + 8], 0
mov esi, 7
jmp 0x140054dba
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str.....operadesktopchrome_importschrome_appmain_dll_loader_win.cc
lea rdi, [rsp + 0x70]
mov rcx, rdi
mov r8d, 0x82
mov r9d, 2
call fcn.1400eedf0
lea rbx, [rsp + 0x80]
lea rdx, str.Failed_to_load_Opera_DLL_from
mov r8d, 0x1e
mov rcx, rbx
call fcn.14008ce70
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14003a610
jmp 0x140054ef5
int3
int3