Function at 0x140098cf0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x14057b900]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov edi, ecx
xor esi, esi
mov dword [rsp + 0x30], esi
mov ebx, 4
mov rax, qword gs:[0x58]
add rbx, qword [rax]
mov eax, dword [rbx]
cmp dword [0x14059e038], eax
jg 0x140098fb8
cmp qword [0x14059e040], rsi
je 0x140098f4e
mov eax, dword [rbx]
cmp dword [0x14059e048], eax
jg 0x140098ff6
cmp qword [0x14059e050], rsi
je 0x140098f4e
mov r8d, edi
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x140098f78
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.1400f4110
nop
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x70]
call fcn.1403ec370
lea rcx, [rbp - 0x70]
call fcn.1400252f0
nop
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
lea rcx, [rbp - 0x60]
call fcn.14001df00
lea rdx, str.__0x
mov rcx, rax
call fcn.140023f90
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ecx, dword [rdx + rax + 0x18]
and ecx, 0xfffff9ff
bts ecx, 0xb
mov dword [rdx + rax + 0x18], ecx
mov edx, ebx
mov rcx, rax
call fcn.14008ee00
mov rcx, rax
lea rdx, [0x1404e22dc]
call fcn.140023f90
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], si
mov dword [rsp + 0x30], 0x240
mov rcx, qword [rbp + 0x18]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140098e67
mov rax, qword [rbp - 0x18]
mov rdx, qword [rax]
test rdx, rdx
je 0x140098e67
mov rax, qword [rbp - 0x38]
mov r9, qword [rax]
cmp rdx, qword [rbp + 0x10]
cmovb rdx, qword [rbp + 0x10]
jmp 0x140098e8a
test cl, 4
jne 0x140098ec4
mov rax, qword [rbp - 0x20]
mov rdx, qword [rax]
test rdx, rdx
je 0x140098ec4
mov rax, qword [rbp - 0x40]
mov r9, qword [rax]
mov rax, qword [rbp - 8]
movsxd rcx, dword [rax]
lea rdx, [rdx + rcx*2]
sub rdx, r9
mov rax, r9
sar rdx, 1
test rax, rax
je 0x140098ec4
lea rcx, [rsp + 0x50]
cmp rdx, 7
ja 0x140098ebe
mov qword [rsp + 0x60], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call fcn.1403ebbf0
mov word [rsp + rbx + 0x50], si
jmp 0x140098ec4
call fcn.140023ce0
nop
lea rcx, [rbp - 0x70]
call fcn.140024270
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140098f10
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140098f0a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009903b
call fcn.14014f510
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x140098f4e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140098f49
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140098fb2
call fcn.14014f510
xor eax, eax
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.14014f4f0
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov qword [rsp + 0x20], rsi
mov r9d, 0x30
lea r8, [rbp + 0x90]
xor edx, edx
mov rcx, rbx
call qword [0x14059e050]
mov rcx, rbx
test eax, eax
jns 0x140098fa4
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140098f4e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0xb8]
jmp 0x140098f50
call fcn.14015fa1c
int3
lea rcx, [0x14059e038]
call fcn.14014f708
cmp dword [0x14059e038], 0xffffffff
jne 0x140098d47
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x14059e040], rax
lea rcx, [0x14059e038]
call fcn.14014f69c
jmp 0x140098d47
lea rcx, [0x14059e048]
call fcn.14014f708
cmp dword [0x14059e048], 0xffffffff
jne 0x140098d62
lea rdx, str.NtQueryInformationProcess
mov rcx, qword [0x14059e040]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14059e050], rax
lea rcx, [0x14059e048]
call fcn.14014f69c
jmp 0x140098d62
call fcn.14015fa1c
int3