Function at 0x140070ce0
Capabilities:
Set current directory

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x268
movaps xmmword [rsp + 0x250], xmm6
mov qword [rsp + 0x28], r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x140174028]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov r14, qword [0x140186af0]
lea rax, str.type
lea r8, [rsp + 0x60]
mov qword [r8], rax
mov qword [r8 + 8], 4
lea r12, [rsp + 0x70]
mov rcx, r14
mov rdx, r12
call fcn.1400a4540
lea r15, [rsi + 0x10]
cmp byte [rsi + 0x27], 0
jns 0x140070d58
mov rcx, qword [r15]
call fcn.1400bab7c
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 0x140070d82
mov rbp, qword [rsi + 0x18]
mov rcx, r14
call fcn.140074440
test rbp, rbp
je 0x140070d94
cmp eax, 6
je 0x140070daa
call sub.opera_elf.dll_IsExtensionPointDisableSet
movzx edx, al
shl rdx, 0xc
lea rcx, [rsp + 0x50]
call fcn.14002fc00
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
xor eax, eax
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x210]
mov qword [rdx + 0x10], rax
movaps xmmword [rdx], xmm0
mov ecx, 3
call fcn.14002d0e0
movabs r13, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x200], r13
movaps xmm6, xmmword [0x14015bb90]
movaps xmmword [rsp + 0x1f0], xmm6
call fcn.1400742d0
cmp byte [rax + 0x17], 0
js 0x140070ff1
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x200], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x1f0], xmm0
lea rax, [rsp + 0x1f0]
movzx ecx, byte [rax + 0x17]
mov r8d, ecx
and r8d, 0x7f
test cl, cl
mov rcx, qword [rax]
cmovns rcx, rax
mov qword [rsp + 0x1e0], r13
cmovs r8, qword [rax + 8]
movaps xmmword [rsp + 0x1d0], xmm6
lea rdx, [rsp + 0x228]
mov qword [rdx], rcx
mov qword [rdx + 8], r8
mov rcx, r12
call fcn.1400aad10
movzx eax, byte [rsp + 0x87]
mov ecx, eax
and ecx, 0x7f
test al, al
cmovs r12, qword [rsp + 0x70]
lea r8, [rsp + 0x238]
mov qword [r8], r12
cmovs rcx, qword [rsp + 0x78]
mov qword [r8 + 8], rcx
lea rcx, [rsp + 0x210]
lea rdx, [rsp + 0x1b8]
call fcn.1400aba60
cmp byte [rsp + 0x87], 0
jns 0x140070eb4
mov rcx, qword [rsp + 0x70]
call fcn.1400bab7c
lea r13, str.opera_browser.dll
lea r8, [rsp + 0x238]
mov qword [r8], r13
mov qword [r8 + 8], 0x11
lea r12, [rsp + 0x1b8]
lea rdx, [rsp + 0x1d0]
mov rcx, r12
call fcn.1400aba60
cmp byte [r12 + 0x17], 0
jns 0x140070efb
mov rcx, qword [rsp + 0x1b8]
call fcn.1400bab7c
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 + 0x1d0]
mov rcx, r12
mov r8d, 0x21
call fcn.140009470
mov rdi, qword [r12]
mov rcx, r12
call fcn.1400984c0
inc rdi
cmp rdi, 2
jae 0x140070fdd
lea r8, [rsp + 0x1b8]
mov qword [r8], r13
mov qword [r8 + 8], 0x11
lea rcx, [rsp + 0x210]
lea rdx, [rsp + 0x70]
call fcn.1400aba60
cmp byte [rsp + 0x1e7], 0
jns 0x140070f8a
mov rcx, qword [rsp + 0x1d0]
call fcn.1400bab7c
cmp byte [rsp + 0x207], 0
jns 0x140070fa1
mov rcx, qword [rsp + 0x1f0]
call fcn.1400bab7c
cmp byte [rsp + 0x227], 0
jns 0x140070fb8
mov rcx, qword [rsp + 0x210]
call fcn.1400bab7c
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 0x14007100a
and eax, 0x7f
jmp 0x14007100f
lea rcx, [rsp + 0x70]
lea rdx, [rsp + 0x1d0]
call fcn.14008bf20
jmp 0x140070f73
mov rdx, qword [rax]
mov r8, qword [rax + 8]
lea rcx, [rsp + 0x1f0]
call fcn.14008b500
jmp 0x140070e19
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x140071169
lea r13, [rsp + 0x30]
mov rcx, r13
mov rdx, r12
call fcn.1400a5a90
cmp byte [rsp + 0x87], 0
jns 0x140071037
mov r12, qword [rsp + 0x70]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp byte [rsp + 0x87], 0
jns 0x140071054
mov rcx, qword [rsp + 0x70]
call fcn.1400bab7c
movabs r8, 0x7fffffffffffffff
mov rcx, r13
mov dl, 1
call fcn.1400092b0
cmp byte [rsp + 0x47], 0
jns 0x140071074
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 0x1400711d6
mov qword [rsi + 8], rax
test rbp, rbp
je 0x1400710a7
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 [case.0x14010edb0.0]
mov rcx, qword [rsi + 8]
lea rdx, str.ChromeMain
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rsp + 0x50]
mov rcx, rbx
mov r8, qword [rsp + 0x28]
call qword [case.0x14010edb0.0]
mov esi, eax
cmp byte [rsp + 0x47], 0
jns 0x1400710f9
mov rcx, qword [rsp + 0x30]
call fcn.1400bab7c
movabs rdi, 0xfffffffc00000000
mov rcx, qword [rsp + 0x58]
mov rax, rcx
and rax, rdi
cmp rax, qword [0x140183548]
jne 0x14007111c
call fcn.14007d5f0
mov qword [rsp + 0x58], 0
mov rcx, qword [rsp + 0x50]
and rdi, rcx
cmp rdi, qword [0x140183548]
jne 0x14007113b
call fcn.14007d5f0
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.1400bce30
mov eax, esi
movaps xmm6, xmmword [rsp + 0x250]
add rsp, 0x268
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.140110b90
lea rcx, [rsp + 0x80]
lea rdx, str.Cannot_find_module
mov r8d, 0x13
call fcn.1400f3910
lea rdx, str.opera_browser.dll
mov rcx, rax
call fcn.1400f38b0
mov rcx, rdi
call fcn.140110c10
mov qword [rsi + 8], 0
mov esi, 7
jmp 0x1400710e8
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.140110b90
lea rcx, [rsp + 0x80]
lea rdx, str.Failed_to_load_Opera_DLL_from
mov r8d, 0x1e
call fcn.1400f3910
lea rcx, [rsp + 0x30]
movzx edx, byte [rcx + 0x17]
mov r8d, edx
and r8d, 0x7f
test dl, dl
mov r9, qword [rcx]
cmovns r9, rcx
lea rdx, [rsp + 0x210]
mov qword [rdx], r9
cmovs r8, qword [rcx + 8]
mov qword [rdx + 8], r8
mov rcx, rax
call fcn.140036180
jmp 0x1400711bc