Function at 0x14000f5a0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov ebp, r9d
mov rbx, r8
mov r15, rdx
mov rsi, rcx
mov rdi, qword [rsp + 0x100]
mov rax, qword [0x140287028]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov ecx, 0x130
call fcn.140172a4c
mov r14, rax
test rdi, rdi
je 0x14000f5ef
lock inc dword [rdi + 8]
mov al, byte [rbx + 2]
lea r12, [rsp + 0x38]
mov byte [r12 - 6], al
movzx eax, word [rbx]
mov word [r12 - 8], ax
lea rdx, [rbx + 8]
mov rcx, r12
call fcn.14011be90
lea r13, [rsp + 0x48]
lea rdx, [rbx + 0x18]
mov rcx, r13
call fcn.14011be90
mov rcx, r14
mov rdx, r15
mov r8d, ebp
xor r9d, r9d
call fcn.14000fbc0
lea rax, [0x14025dce8]
mov qword [r14 + 0x38], rax
lea rdx, str.ChannelWin
lea r8, str.....mojocorechannel_win.cc
lea r15, [rsp + 0x70]
mov rcx, r15
mov r9d, 0x5a
call fcn.14011b9f0
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [r14 + 0x58], xmm1
movups xmmword [r14 + 0x48], xmm0
lea rax, [0x14025f8f8]
mov qword [r14], rax
lea rax, [0x14025dcd8]
mov qword [r14 + 0x38], rax
lea rax, [0x14025de78]
mov qword [r14 + 0x40], rax
mov al, byte [r13 - 0x17]
mov byte [r14 + 0x68], al
mov qword [r14 + 0x70], r14
test r14, r14
je 0x14000f6a8
lock inc dword [r14 + 8]
mov qword [r14 + 0x78], 0
mov byte [r14 + 0x80], 0
mov qword [r14 + 0x88], rdi
test rdi, rdi
je 0x14000f6c8
lock inc dword [rdi + 8]
xorps xmm0, xmm0
movups xmmword [r14 + 0xc0], xmm0
movups xmmword [r14 + 0xb0], xmm0
movups xmmword [r14 + 0xa0], xmm0
movups xmmword [r14 + 0x90], xmm0
mov word [r14 + 0xd0], 0
movups xmmword [r14 + 0xd8], xmm0
movups xmmword [r14 + 0xe8], xmm0
movups xmmword [r14 + 0xf8], xmm0
movups xmmword [r14 + 0x108], xmm0
mov qword [r14 + 0x118], 0
mov r15, qword [0x140299b10]
test r15, r15
jne 0x14000fa03
xor ebp, ebp
mov rax, qword [0x14028a5a0]
and rax, rbp
cmp rax, qword [0x14028a588]
je 0x14000fa34
lea r15, [r14 + 0x78]
mov qword [r14 + 0x120], rbp
mov dword [r14 + 0x128], 1
mov rax, qword [rsp + 0x50]
inc rax
cmp rax, 2
jae 0x14000fa41
lea r13, [rsp + 0x58]
mov rcx, r13
mov rdx, r12
call fcn.14011be90
lea r12, [rsp + 0x70]
mov rcx, r12
mov rdx, r13
call fcn.14011be90
mov dword [r12], 0
mov r13, qword [r12 + 8]
mov qword [r12 + 8], 0
test r13, r13
je 0x14000fb06
cmp r13, 0xffffffffffffffff
je 0x14000fb0e
call fcn.1400f24d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
call fcn.1400f24d0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea r12, [r13 + 1]
cmp r12, 2
jb 0x14000f7e3
call fcn.1400f24d0
cmp qword [r15], r13
je 0x14000f816
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [r15]
inc rax
cmp rax, 2
jae 0x14000f8e2
cmp r12, 2
jb 0x14000f80e
mov qword [r15], r13
call fcn.1400f24d0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsp + 0x78]
inc rax
cmp rax, 2
jae 0x14000f962
mov rax, qword [rsp + 0x60]
inc rax
cmp rax, 2
jae 0x14000f97f
mov rax, qword [r15]
inc rax
cmp rax, 1
jbe 0x14000fb1e
mov rax, qword [rsp + 0x50]
inc rax
cmp rax, 2
jae 0x14000f993
mov rax, qword [rsp + 0x40]
inc rax
cmp rax, 2
jae 0x14000f9b0
test rdi, rdi
je 0x14000f87d
lock dec dword [rdi + 8]
je 0x14000fb21
mov qword [rsi], r14
test r14, r14
je 0x14000f88a
lock inc dword [r14 + 8]
mov rax, qword [rbx + 0x20]
inc rax
cmp rax, 2
jae 0x14000f9cd
mov rax, qword [rbx + 0x10]
inc rax
cmp rax, 2
jae 0x14000f9e8
test rdi, rdi
je 0x14000f8bb
lock dec dword [rdi + 8]
je 0x14000fb2e
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1401756e0
mov rax, rsi
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400f24d0
mov rdx, qword [r15]
cmp qword [0x1402a1a18], 0
je 0x14000f913
mov rcx, qword [0x1402a1a18]
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [case.0x1401d7990.0]
mov qword [r15], 0
jmp 0x14000f800
mov qword [rsp + 0x28], rdx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14026b3c1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000fb3b
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14000f95c
call qword [case.0x1401d7990.0]
mov rcx, rax
xor edx, edx
call fcn.14003cbf0
mov rdx, qword [rsp + 0x28]
jmp 0x14000f8f4
xor ecx, ecx
mov dl, 1
jmp 0x14000f950
call fcn.1400f24d0
mov rcx, qword [rsp + 0x78]
call fcn.1401571e0
mov qword [rsp + 0x78], 0
jmp 0x14000f828
call fcn.1400f24d0
mov rcx, qword [rsp + 0x60]
call fcn.1401571e0
jmp 0x14000f83a
call fcn.1400f24d0
mov rcx, qword [rsp + 0x50]
call fcn.1401571e0
mov qword [rsp + 0x50], 0
jmp 0x14000f85c
call fcn.1400f24d0
mov rcx, qword [rsp + 0x40]
call fcn.1401571e0
mov qword [rsp + 0x40], 0
jmp 0x14000f86e
call fcn.1400f24d0
mov rcx, qword [rbx + 0x20]
call fcn.1401571e0
mov qword [rbx + 0x20], 0
jmp 0x14000f89b
call fcn.1400f24d0
mov rcx, qword [rbx + 0x10]
call fcn.1401571e0
mov qword [rbx + 0x10], 0
jmp 0x14000f8ac
mov eax, dword [0x1402983f0]
mov ecx, dword [0x140296f94]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000fb42
mov rbp, qword [0x1402983e8]
jmp 0x14000f732
mov rcx, rbp
call fcn.1400eaf60
jmp 0x14000f749
lea r12, [rsp + 0x58]
mov rcx, r12
mov rdx, r13
call fcn.14011be90
lea r13, [rsp + 0x70]
mov rcx, r13
mov rdx, r12
call fcn.14011be90
mov dword [r13], 0
xor eax, eax
mov qword [rsp + 0x68], rax
mov r12, qword [r13 + 8]
mov qword [r13 + 8], rax
lea rax, [r12 + 1]
cmp rax, 2
jb 0x14000fa88
call fcn.1400f24d0
lea r13, [rsp + 0x68]
mov rcx, r13
mov rdx, r12
call fcn.14015da40
mov r12, qword [r13]
mov qword [r13], 0
lea rax, [r12 + 1]
cmp rax, 2
jb 0x14000fab4
call fcn.1400f24d0
mov rcx, r15
mov rdx, r12
call fcn.14015da40
mov rax, qword [rsp + 0x68]
inc rax
cmp rax, 2
jb 0x14000fae5
call fcn.1400f24d0
mov rcx, qword [rsp + 0x68]
call fcn.1401571e0
mov qword [rsp + 0x68], 0
lea rcx, [rsp + 0x70]
call fcn.140163040
lea rcx, [rsp + 0x58]
call fcn.1400bbf50
mov byte [r14 + 0x80], 1
jmp 0x14000f83a
xor r13d, r13d
jmp 0x14000f7d4
xor r13d, r13d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
jmp 0x14000f7cc
int3
mov rcx, rdi
call fcn.14011cbd0
jmp 0x14000f87d
mov rcx, rdi
call fcn.14011cbd0
jmp 0x14000f8bb
xor ecx, ecx
jmp 0x14000f94e
lea rcx, [0x1402983f0]
call fcn.140172b08
cmp dword [0x1402983f0], 0xffffffff
jne 0x14000fa28
add r15, 0xd0
lea r9, [rsp + 0x58]
mov qword [r9], 0
lea rax, str.channel_win_total_outgoing_messages
lea rdx, [rsp + 0x70]
mov qword [rdx], rax
mov qword [rdx + 8], 0x23
mov qword [rsp + 0x20], 8
mov rcx, r15
mov r8b, 8
call fcn.1401cfe70
mov qword [0x1402983e8], rax
lea rcx, [0x1402983f0]
call fcn.140172aa8
jmp 0x14000fa28