Function at 0x140070910
Capabilities:
Set current directory

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x300
movaps xmmword [rsp + 0x2f0], xmm6
mov rsi, rcx
mov rax, qword [0x140174028]
xor rax, rsp
mov qword [rsp + 0x2e8], rax
call sub.opera_elf.dll_IsBrowserProcess
movabs r15, 0xaaaaaaaaaaaaaaaa
test al, al
je 0x140070a52
lea rdi, [rsp + 0x92]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400bef60
mov word [rdi - 2], 0
lea rdi, [rsp + 0x90]
xor ecx, ecx
mov rdx, rdi
mov r8d, 0x105
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [rax - 1]
cmp ecx, 0x103
ja 0x140070a52
mov eax, eax
lea rdx, [rsp + 0x30]
mov qword [rdx], rdi
mov qword [rdx + 8], rax
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.1400b2990
lea rbx, [rsp + 0x58]
mov rcx, rdi
mov rdx, rbx
call fcn.1400a5a90
lea rdi, [rsp + 0x2a0]
mov qword [rdi + 0x40], r15
movaps xmm0, xmmword [0x14015bb90]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, [0x14016062b]
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x70]
mov rcx, r14
mov r9d, 0x42c
call fcn.140093320
mov rcx, rdi
mov rdx, r14
xor r8d, r8d
call fcn.1400987b0
cmp byte [rbx + 0x17], 0
jns 0x140070a1f
mov rbx, qword [rsp + 0x58]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rcx, rdi
call fcn.14007d9b0
cmp byte [rsp + 0x6f], 0
jns 0x140070a41
mov rcx, qword [rsp + 0x58]
call fcn.1400bab7c
cmp byte [rsp + 0x57], 0
jns 0x140070a52
mov rcx, qword [rsp + 0x40]
call fcn.1400bab7c
call sub.opera_elf.dll_SignalInitializeCrashReporting
call sub.opera_elf.dll_IsBrowserProcess
test al, al
je 0x140070a67
mov byte [0x140184e10], 1
lea rcx, [0x14010ef80]
call fcn.1400bb6d4
mov dword [0x1401869b0], 1
mov byte [0x1401869ac], 1
xor ecx, ecx
xor edx, edx
call fcn.1400a90a0
mov rcx, qword [0x140186af0]
lea rdi, [rsp + 0x2a0]
mov qword [rdi + 0x10], r15
movaps xmm0, xmmword [0x14015bb90]
movaps xmmword [rdi], xmm0
lea rax, str.type
lea r8, [rsp + 0x20]
mov qword [r8], rax
mov qword [r8 + 8], 4
mov rdx, rdi
call fcn.1400a4540
mov qword [rsp + 0x70], r15
mov rax, qword [fcn.14007e570]
lea rcx, [0x1400b9ff0]
cmp rax, rcx
jne 0x140070c8e
lea rbx, [rsp + 0x90]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
movabs rcx, 0x8637bd05af6
cmp rax, rcx
jg 0x140070cb2
imul rax, rax, 0xf4240
cqo
idiv qword [0x140186968]
mov qword [rsp + 0x70], rax
xorps xmm6, xmm6
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
mov qword [rsp + 0xb0], 0
mov rbx, qword [0x140186b08]
movabs rax, 0xfffffffc00000000
and rax, rbx
cmp rax, qword [0x140183548]
je 0x140070ca5
lea rax, [rsp + 0x90]
mov qword [rax + 0x28], rbx
mov qword [0x140186b08], rax
mov ecx, 0x28
call fcn.1400babfc
mov rbx, rax
movups xmmword [rax + 8], xmm6
movups xmmword [rax + 0x18], xmm6
lea rax, [0x14015af60]
mov qword [rbx], rax
mov r8, qword [rsp + 0x70]
mov rcx, rbx
mov rdx, rsi
call fcn.140070ce0
mov esi, eax
test rbx, rbx
je 0x140070bd2
lea rax, fcn.1400f5db0
mov qword [rbx], rax
cmp byte [rbx + 0x27], 0
jns 0x140070bca
mov rcx, qword [rbx + 0x10]
call fcn.1400bab7c
mov rcx, rbx
call fcn.1400bab7c
movzx ecx, byte [rsp + 0x2b7]
mov eax, ecx
and eax, 0x7f
test cl, cl
cmovs rax, qword [rsp + 0x2a8]
cmovs rdi, qword [rsp + 0x2a0]
test rax, rax
js 0x140070cd9
test rdi, rdi
jne 0x140070c0a
test rax, rax
jne 0x140070cdc
cmp rax, 5
je 0x140070c29
cmp rax, 7
jne 0x140070c41
mov eax, dword [rdi]
xor eax, dword [str.utility]
mov ecx, dword [rdi + 3]
xor ecx, dword [0x14015bf5c]
jmp 0x140070c3d
mov eax, dword [rdi]
xor eax, dword [str.ppapi]
mov cl, byte [rdi + 4]
xor cl, byte [0x14015bf52]
movzx ecx, cl
or ecx, eax
je 0x140070c9e
lea rcx, [rsp + 0x90]
call fcn.140036d30
cmp byte [rsp + 0x2b7], 0
jns 0x140070c65
mov rcx, qword [rsp + 0x2a0]
call fcn.1400bab7c
mov rcx, qword [rsp + 0x2e8]
xor rcx, rsp
call fcn.1400bce30
mov eax, esi
movaps xmm6, xmmword [rsp + 0x2f0]
add rsp, 0x300
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, [rsp + 0x70]
call qword [case.0x14010edb0.0]
jmp 0x140070b28
mov ecx, esi
call fcn.140073da0
mov rcx, rbx
call fcn.14007cc60
jmp 0x140070b68
mov rcx, qword [0x140186968]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x140070b23
int3
int3