Function at 0x1400b6ef0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
movaps xmmword [rsp + 0xb0], xmm6
mov rax, qword [0x14030f948]
xor rax, rsp
mov qword [rsp + 0xa8], rax
cmp dword [rcx + 0x18], 9
jae 0x1400b714a
mov rsi, r8
mov r14d, edx
mov rbx, rcx
call fcn.140115fec
test eax, eax
je 0x1400b714a
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.1400b66d3
mov edi, 0xffffffff
test al, al
je 0x1400b715a
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rsi
movabs r13, 0x7fffffffffffffef
lea rcx, [rsp + 0x70]
call fcn.1401a6660
xorps xmm6, xmm6
movaps xmmword [rsp + 0x50], xmm6
mov qword [rsp + 0x60], 0
cmp rax, r13
ja 0x1400b70b4
mov rbx, rax
mov esi, 0xa
lea r12, [rsp + 0x50]
xor r15d, r15d
mov rdi, qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, qword [sym.imp.KERNEL32.dll_GetLastError]
cmp rbx, 0xb
jae 0x1400b6fc1
mov byte [rsp + 0x67], bl
mov rax, r12
test rbx, rbx
jne 0x1400b6ff7
jmp 0x1400b700d
mov r15, r12
lea r12, [rbx + 8]
and r12, 0xfffffffffffffff8
js 0x1400b726a
lea rcx, [r12 + r12]
call fcn.14018360c
mov qword [rsp + 0x50], rax
lea rcx, [r13 + 0x11]
or rcx, r12
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], rbx
mov r12, r15
xor r15d, r15d
xor ecx, ecx
movsx edx, byte [rsp + rcx + 0x70]
mov word [rax], dx
add rax, 2
inc rcx
cmp rbx, rcx
jne 0x1400b6ff9
mov word [rax], 0
cmp byte [rsp + 0x67], r15b
mov rcx, r12
jns 0x1400b7021
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x110000
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rdi
mov rbx, rax
cmp byte [rsp + 0x67], r15b
jns 0x1400b705b
mov rcx, qword [rsp + 0x50]
call fcn.140183668
cmp rbx, 0xffffffffffffffff
jne 0x1400b724d
call rbp
cmp eax, 0xe7
jne 0x1400b70be
test r14b, 1
jne 0x1400b7188
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
add esi, esi
cmp esi, 0x3e9
mov eax, 0x3e8
cmovge esi, eax
lea rcx, [rsp + 0x70]
call fcn.1401a6660
mov rbx, rax
movaps xmmword [rsp + 0x50], xmm6
mov qword [rsp + 0x60], 0
cmp rax, r13
jbe 0x1400b6fad
lea rcx, [rsp + 0x50]
call fcn.140064d6c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1400b7155
mov rsi, qword [rsp + 0x40]
test rsi, rsi
je 0x1400b714a
movsx ecx, byte [rsi]
call fcn.1401a161c
test eax, eax
je 0x1400b714a
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x1c
lea r8, str._s_.s
lea r9, str..pipegoogle_nacl_
lea rsi, [rsp + 0x70]
mov edx, gethostbyname
mov rcx, rsi
call fcn.1400b6a65
mov rcx, rsi
call fcn.1401a6660
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 0
cmp rax, r13
ja 0x1400b70b4
mov rsi, rax
cmp rax, 0xb
jae 0x1400b718f
lea rax, [rsp + 0x50]
mov byte [rax + 0x17], sil
test rsi, rsi
jne 0x1400b71bc
jmp 0x1400b71d2
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, 0xffffffff
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140183a80
mov eax, edi
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 0x218
jmp 0x1400b714f
lea rbx, [rsi + 8]
and rbx, 0xfffffffffffffff8
js 0x1400b726a
lea rcx, [rbx + rbx]
call fcn.14018360c
mov qword [rsp + 0x50], rax
add r13, 0x11
or r13, rbx
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x58], rsi
xor ecx, ecx
movsx edx, byte [rsp + rcx + 0x70]
mov word [rax], dx
add rax, 2
inc rcx
cmp rsi, rcx
jne 0x1400b71be
mov word [rax], 0
xor esi, esi
cmp byte [rsp + 0x67], sil
mov edi, 0xffffffff
jns 0x1400b71ec
mov rcx, qword [rsp + 0x50]
jmp 0x1400b71f1
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x110000
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp byte [rsp + 0x67], sil
jns 0x1400b722f
mov rcx, qword [rsp + 0x50]
call fcn.140183668
cmp rbx, 0xffffffffffffffff
jne 0x1400b724d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rbx, 0xffffffffffffffff
cmp eax, 0xe7
jne 0x1400b715a
mov rcx, rbx
mov rdx, qword [rsp + 0x48]
call fcn.1400b6b00
mov edi, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400b715a
call fcn.140199d54
int3