Function at 0x140051a80
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 rbx, r8
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140135028]
xor rax, rsp
mov qword [rsp + 0x238], rax
mov r14, qword [0x14014d7f0]
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.140087630
lea r15, [rsi + 0x10]
cmp byte [rsi + 0x27], 0
jns 0x140051af3
mov rcx, qword [r15]
call fcn.14009b57c
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 0x140051b1d
mov rbp, qword [rsi + 0x18]
mov rcx, r14
call fcn.140055e10
test rbp, rbp
je 0x140051b2f
cmp eax, 6
je 0x140051b45
call sub.opera_elf.dll_IsExtensionPointDisableSet
movzx edx, al
shl rdx, 0xc
lea rcx, [rsp + 0x50]
call fcn.14002f9e0
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.14002d2f0
movabs r12, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x210], r12
movaps xmm6, xmmword [0x14011bbd0]
movaps xmmword [rsp + 0x200], xmm6
call fcn.140055ca0
cmp byte [rax + 0x17], 0
js 0x140051d5b
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x210], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x200], xmm0
lea rax, [rsp + 0x200]
movzx edx, byte [rax + 0x17]
mov ecx, edx
and ecx, 0x7f
test dl, dl
cmovs rcx, qword [rax + 8]
mov qword [rsp + 0x1f0], r12
cmovs rax, qword [rax]
movaps xmmword [rsp + 0x1e0], xmm6
mov qword [rsp + 0x1d0], rax
mov qword [rsp + 0x1d8], rcx
test rcx, rcx
js 0x140051f93
mov qword [rsp + 0x28], rdi
test rax, rax
jne 0x140051c0c
test rcx, rcx
jne 0x140051f96
lea rcx, [rsp + 0x220]
lea r12, [rsp + 0x70]
lea r8, [rsp + 0x1d0]
mov rdx, r12
call fcn.1400368e0
lea r13, str.opera_browser.dll
lea r8, [rsp + 0x1c0]
mov qword [r8], r13
mov qword [r8 + 8], 0x11
lea rdx, [rsp + 0x1e0]
mov rcx, r12
call fcn.140075fa0
cmp byte [r12 + 0x17], 0
jns 0x140051c65
mov rcx, qword [rsp + 0x70]
call fcn.14009b57c
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 + 0x1e0]
mov rcx, r12
mov r8d, 0x21
call fcn.14000a2c0
mov rdi, qword [r12]
mov rcx, r12
call fcn.140081470
inc rdi
cmp rdi, 2
jae 0x140051d47
lea r8, [rsp + 0x1b0]
mov qword [r8], r13
mov qword [r8 + 8], 0x11
lea rcx, [rsp + 0x220]
lea rdx, [rsp + 0x70]
call fcn.140075fa0
cmp byte [rsp + 0x1f7], 0
jns 0x140051cf4
mov rcx, qword [rsp + 0x1e0]
call fcn.14009b57c
cmp byte [rsp + 0x217], 0
jns 0x140051d0b
mov rcx, qword [rsp + 0x200]
call fcn.14009b57c
cmp byte [rsp + 0x237], 0
jns 0x140051d22
mov rcx, qword [rsp + 0x220]
call fcn.14009b57c
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x30], xmm0
movzx eax, byte [rsp + 0x47]
test al, al
js 0x140051d74
and eax, 0x7f
jmp 0x140051d79
lea rcx, [rsp + 0x70]
lea rdx, [rsp + 0x1e0]
call fcn.14006e420
jmp 0x140051cdd
mov rdx, qword [rax]
mov r8, qword [rax + 8]
lea rcx, [rsp + 0x200]
call fcn.14006e600
jmp 0x140051bb4
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x140051ed3
lea r13, [rsp + 0x30]
mov rcx, r13
mov rdx, r12
call fcn.140088ba0
cmp byte [rsp + 0x87], 0
jns 0x140051da1
mov r12, qword [rsp + 0x70]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp byte [rsp + 0x87], 0
jns 0x140051dbe
mov rcx, qword [rsp + 0x70]
call fcn.14009b57c
movabs r8, 0x7fffffffffffffff
mov rcx, r13
mov dl, 1
call fcn.140009f70
cmp byte [rsp + 0x47], 0
jns 0x140051dde
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 0x140051f40
mov qword [rsi + 8], rax
test rbp, rbp
je 0x140051e11
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 [0x140159008]
mov rcx, qword [rsi + 8]
lea rdx, str.ChromeMain
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
mov r8, rbx
call qword [0x140159008]
mov esi, eax
cmp byte [rsp + 0x47], 0
jns 0x140051e63
mov rcx, qword [rsp + 0x30]
call fcn.14009b57c
movabs rdi, 0xfffffffc00000000
mov rcx, qword [rsp + 0x58]
mov rax, rcx
and rax, rdi
cmp rax, qword [0x140135e48]
jne 0x140051e86
call fcn.14005f0c0
mov qword [rsp + 0x58], 0
mov rcx, qword [rsp + 0x50]
and rdi, rcx
cmp rdi, qword [0x140135e48]
jne 0x140051ea5
call fcn.14005f0c0
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.14009d810
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
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, 0x6e
mov r9d, 2
call fcn.1400f4a20
lea rcx, [rsp + 0x80]
lea rdx, str.Cannot_find_module
mov r8d, 0x13
call fcn.1400cd700
lea rdx, str.opera_browser.dll
mov rcx, rax
call fcn.1400cd6a0
mov rcx, rdi
call fcn.1400f4aa0
mov qword [rsi + 8], 0
mov esi, 7
jmp 0x140051e52
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, 0x73
mov r9d, 2
call fcn.1400f4a20
lea rcx, [rsp + 0x80]
lea rdx, str.Failed_to_load_Opera_DLL_from
mov r8d, 0x1e
call fcn.1400cd700
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.1400362d0
jmp 0x140051f26
int3
int3