Function at 0x140062020
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov ebp, r9d
mov rbx, r8
mov r12, rdx
mov rsi, rcx
mov rdi, qword [rsp + 0xe0]
mov rax, qword [0x14051d038]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov ecx, 0x118
call fcn.1402dd130
mov r14, rax
test rdi, rdi
je 0x14006207a
mov eax, 1
lock xadd dword [rdi + 8], eax
cmp eax, 0x7fffffff
je 0x14006232f
lea r15, [rsp + 0x28]
mov rcx, r15
mov rdx, rbx
call fcn.14005b3f0
mov rcx, r14
mov rdx, r12
mov r8d, ebp
xor r9d, r9d
call fcn.14005b140
lea rax, [0x1404834a0]
mov qword [r14 + 0x50], rax
lea r12, [r14 + 0x58]
lea rdx, str.ChannelWin
lea r8, str.....mojocorechannel_win.cc
lea r13, [rsp + 0x50]
mov rcx, r13
mov r9d, 0x42
call fcn.14026d510
mov rcx, r12
mov rdx, r13
call fcn.140147570
lea rax, [0x140484d18]
mov qword [r14], rax
lea rax, [0x140483490]
mov qword [r14 + 0x50], rax
lea rax, [0x140483718]
mov qword [r14 + 0x58], rax
mov al, byte [r15 + 1]
mov byte [r14 + 0x80], al
mov qword [r14 + 0x88], r14
test r14, r14
je 0x140062123
mov eax, 1
lock xadd dword [r14 + 8], eax
cmp eax, 0x7fffffff
je 0x140062332
mov qword [r14 + 0x90], 0
mov qword [r14 + 0x98], rdi
test rdi, rdi
je 0x14006214f
mov eax, 1
lock xadd dword [rdi + 8], eax
cmp eax, 0x7fffffff
je 0x140062335
lea rcx, [r14 + 0xa0]
call fcn.140147560
mov byte [r14 + 0xc0], 0
lea rcx, [r14 + 0xc8]
call fcn.1402386c0
lea rcx, [r14 + 0xd0]
call fcn.140147560
xorps xmm0, xmm0
movups xmmword [r14 + 0xf0], xmm0
movups xmmword [r14 + 0x100], xmm0
mov dword [r14 + 0x110], 1
lea rdx, [rsp + 0x30]
lea r15, [rsp + 0x40]
mov rcx, r15
call fcn.1401661b0
lea r12, [rsp + 0x50]
mov rcx, r12
mov rdx, r15
call fcn.140274ff0
mov dword [r12], 0
mov r15, qword [r12 + 8]
mov qword [r12 + 8], 0
test r15, r15
je 0x140062300
cmp r15, 0xffffffffffffffff
je 0x14006231f
call fcn.14026d530
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
call fcn.14026d530
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea r12, [r15 + 1]
cmp r12, 2
jb 0x14006220d
call fcn.14026d530
cmp qword [r14 + 0x90], r15
je 0x14006224c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [r14 + 0x90]
inc rax
cmp rax, 2
jae 0x1400622df
cmp r12, 2
jb 0x140062244
mov qword [r14 + 0x90], r15
call fcn.14026d530
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsp + 0x50]
call fcn.1402751c0
lea rcx, [rsp + 0x40]
call fcn.1401661f0
mov rax, qword [r14 + 0x90]
inc rax
cmp rax, 1
jbe 0x140062338
lea rcx, [rsp + 0x28]
call fcn.14005b420
test rdi, rdi
je 0x14006228d
lock dec dword [rdi + 8]
je 0x140062312
mov qword [rsi], r14
test r14, r14
je 0x1400622ab
mov eax, 1
lock xadd dword [r14 + 8], eax
cmp eax, 0x7fffffff
je 0x14006233b
mov rcx, rbx
call fcn.14005b420
test rdi, rdi
je 0x1400622be
lock dec dword [rdi + 8]
je 0x140062308
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1402ddd70
mov rax, rsi
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.14026d530
mov rcx, qword [r14 + 0x90]
call fcn.140252540
mov qword [r14 + 0x90], 0
jmp 0x140062232
xor r15d, r15d
jmp 0x1400621fe
mov rcx, rdi
call fcn.14025daa0
jmp 0x1400622be
mov rcx, rdi
call fcn.14025daa0
jmp 0x14006228d
xor r15d, r15d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
jmp 0x1400621f6
int3
int3
int3
int3
int3