Function at 0x140003ab0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rax, qword [0x14005b3e8]
xor rax, rsp
mov qword [rbp + 0x150], rax
xor r15d, r15d
mov r14, r8
mov qword [r8], r15
mov ebx, 0x104
mov r8, rcx
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140002dc0
mov ecx, ebx
lea rax, [rsp + 0x40]
cmp word [rax], r15w
je 0x140003b16
add rax, 2
sub rcx, 1
jne 0x140003b06
test rcx, rcx
je 0x14001bec0
mov rax, rbx
sub rax, rcx
test rcx, rcx
je 0x140003b7f
mov rdx, rbx
lea rcx, [rsp + 0x40]
lea rcx, [rcx + rax*2]
sub rdx, rax
je 0x140003b70
lea r8, [rax + 0x7ffffefa]
add r8, rdx
lea rax, [0x14004c6b8]
sub rax, rcx
test r8, r8
je 0x140003b70
movzx r9d, word [rax + rcx]
test r9w, r9w
je 0x140003b70
mov word [rcx], r9w
dec r8
add rcx, 2
sub rdx, 1
jne 0x140003b4f
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r15w
lea r8, [rsp + 0x40]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
nop dword [rax + rax]
lea r12, [0x140009cf0]
mov rdi, rax
test rax, rax
je 0x14001bec8
lea rdx, [rsp + 0x28]
mov dword [rsp + 0x28], r15d
mov rcx, rax
mov dword [rsp + 0x20], r15d
call fcn.140003d04
mov esi, eax
test eax, eax
js 0x14001befc
mov rax, rbx
lea rcx, [rsp + 0x40]
cmp word [rcx], r15w
je 0x140003be3
add rcx, 2
sub rax, 1
jne 0x140003bd3
test rax, rax
je 0x14001bf1d
mov rcx, rbx
sub rcx, rax
test rax, rax
je 0x140003c47
lea rdx, [rsp + 0x40]
lea rdx, [rdx + rcx*2]
sub rbx, rcx
je 0x140003c38
lea rax, [rcx + 0x7ffffefa]
add rax, rbx
lea r8, [0x14004c6c0]
sub r8, rdx
test rax, rax
je 0x140003c38
movzx ecx, word [r8 + rdx]
test cx, cx
je 0x140003c38
mov word [rdx], cx
dec rax
add rdx, 2
sub rbx, 1
jne 0x140003c19
test rbx, rbx
lea rax, [rdx - 2]
cmovne rax, rdx
mov word [rax], r15w
lea r8, [rsp + 0x40]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x14001bee4
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.140003d04
mov esi, eax
test eax, eax
js 0x14001bf25
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], r12
call fcn.14000bf00
movsxd rcx, dword [rsp + 0x20]
movsxd rax, dword [rsp + 0x28]
shl rcx, 0x1f
or rax, rcx
mov qword [r14], rax
mov esi, r15d
test rdi, rdi
je 0x140003cd0
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x38], rdi
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], r12
call fcn.14000bf00
mov eax, esi
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.14000aea0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov rax, r15
jmp 0x140003b25
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x140003caf
mov edx, 0xc9
jmp 0x14001bee9
mov edx, 0xd5
mov rcx, qword [rbp + 0x188]
call fcn.1400312bc
mov esi, eax
jmp 0x140003cb2
mov rcx, qword [rbp + 0x188]
lea r8, [0x14004d4fc]
mov r9d, eax
mov edx, 0xcf
call fcn.1400312dc
nop
jmp 0x140003cb2
mov rcx, r15
jmp 0x140003bf2
mov rcx, qword [rbp + 0x188]
lea r8, [0x14004d4fc]
mov r9d, eax
mov edx, 0xd7
call fcn.1400312dc
lea rdx, [rsp + 0x28]
mov qword [rsp + 0x28], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], r12
call fcn.14000bf00
nop
jmp 0x140003cb2