Function at 0x14006c090
Capabilities:
Set current directory

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x268]
sub rsp, 0x350
mov rax, qword [0x1400d61c0]
xor rax, rsp
mov qword [rbp + 0x240], rax
call fcn.14006e920
lea rcx, [rsp + 0x70]
call fcn.14006c5b0
xor r12d, r12d
test al, al
jne 0x14006c0e6
or rax, 0xffffffffffffffff
jmp 0x14006c3e2
call fcn.14006eb80
call fcn.14006faa0
test al, al
je 0x14006c0dd
call fcn.14006f8f0
mov rcx, rax
call fcn.140071990
call fcn.140071da0
test al, al
je 0x14006c0dd
call fcn.14006d760
call fcn.14006fcc0
mov rcx, rax
call fcn.14006fd70
test al, al
je 0x14006c0dd
lea rcx, [rbp - 0x78]
call fcn.14006fc20
mov ebx, dword [rsp + 0x70]
lea rcx, [rbp - 0x78]
mov edx, ebx
call fcn.14006fcd0
test al, al
jne 0x14006c147
lea rcx, [rbp - 0x78]
call fcn.14006fc30
jmp 0x14006c0dd
mov edi, 0x26
mov dword [rsp + 0x20], ebx
mov edx, edi
lea r9, str.OperaCrashReporterInitEvent
lea r8, str._s_u
lea rcx, [rbp + 0x1f0]
call fcn.14006c980
test eax, eax
jle 0x14006c13c
lea r8, [rbp + 0x1f0]
mov word [rbp + 0x23a], r12w
xor edx, edx
lea ecx, [rdi - 0x24]
call qword [sym.imp.KERNEL32.dll_OpenEventW]
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x78], r12
mov rdx, rax
call fcn.14006c910
mov rbx, qword [rsp + 0x78]
or r14, 0xffffffffffffffff
test rbx, rbx
je 0x14006c3d6
cmp rbx, r14
je 0x14006c3d6
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r9, str..pipeOperaCrashReporter
mov edx, edi
lea r8, str._s_u
mov dword [rsp + 0x20], eax
lea rcx, [rbp + 0x1a0]
call fcn.14006c980
test eax, eax
jg 0x14006c1f3
call fcn.14001e9c0
mov rcx, rbx
call fcn.14001f7e0
jmp 0x14006c3d6
mov word [rbp + 0x1ea], r12w
call fcn.14006f970
cmp qword [rax + 0x18], 8
jb 0x14006c20a
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
je 0x14006c1e1
xor eax, eax
mov dword [rbp - 0x60], r12d
mov qword [rbp - 0x58], rax
mov r15, r12
mov qword [rbp - 0x50], rax
mov rdi, r12
call fcn.140022640
cmp eax, 3
jl 0x14006c29e
xor r9d, r9d
mov qword [rsp + 0x78], r12
lea r8, [rsp + 0x78]
mov qword [rbp - 0x48], r12
lea rcx, str.S:_ML__NW___S_1_16_4096_
mov dword [rsp + 0x70], r12d
mov dword [rbp - 0x80], r12d
lea edx, [r9 + 1]
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
je 0x14006c28b
mov rcx, qword [rsp + 0x78]
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x48]
lea rdx, [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorSacl]
test eax, eax
je 0x14006c28b
cmp dword [rsp + 0x70], r12d
je 0x14006c28b
mov rdi, qword [rsp + 0x78]
mov dword [rbp - 0x60], 0x18
lea r15, [rbp - 0x60]
mov qword [rbp - 0x58], rdi
mov dword [rbp - 0x50], r12d
xor ecx, ecx
call fcn.14006c500
mov sil, al
call fcn.14006f8e0
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.140076c40
mov byte [rbp + 0x38], sil
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], r12
mov word [rbp - 0x40], r12w
cmp word [rbp + 0x1a0], r12w
jne 0x14006c2dd
mov r8, r12
jmp 0x14006c2f1
lea rax, [rbp + 0x1a0]
mov r8, r14
inc r8
cmp word [rax + r8*2], r12w
jne 0x14006c2e7
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp - 0x40]
call fcn.14000b820
mov qword [rsp + 0x60], r12
lea rax, [rbp - 0x20]
mov byte [rsp + 0x58], r12b
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x50], r12
lea rcx, [rbp + 0x40]
mov qword [rsp + 0x48], r12
xor r9d, r9d
mov qword [rsp + 0x40], r12
mov r8, r15
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], rax
lea rax, [0x14006be60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
call fcn.14007c990
xor r8d, r8d
lea rcx, [rbp - 0x40]
mov dl, 1
call fcn.1400030f0
lea rcx, [rbp + 0x40]
call fcn.14007da50
test al, al
jne 0x14006c390
lea rcx, [rbp + 0x40]
call fcn.14007cbe0
lea rcx, [rbp - 0x20]
call fcn.140076cf0
test rdi, rdi
je 0x14006c1e1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14006c1e1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetEvent]
call fcn.14001e9c0
mov rcx, rbx
call fcn.14001f7e0
call fcn.14006fcc0
mov rcx, rax
call fcn.14006fed0
lea rcx, [rbp + 0x40]
call fcn.14007cbe0
lea rcx, [rbp - 0x20]
call fcn.140076cf0
test rdi, rdi
je 0x14006c3d3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r14d, r12d
lea rcx, [rbp - 0x78]
call fcn.14006fc30
mov eax, r14d
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.1400812a0
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret