Function at 0x140094f20
Capabilities:
Check if file exists

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f8]
sub rsp, 0x2f8
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1401199f8]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov qword [rsp + 0x38], r9
mov r15, r8
mov qword [rsp + 0x30], rdx
mov rsi, rcx
mov r12, qword [rbp + 0x260]
mov r13, qword [rbp + 0x268]
xor edi, edi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
mov r14, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x140094f8e
mov r15, qword [r8]
cmp r14, 8
jae 0x140094fa4
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x48], xmm0
mov ebx, 7
jmp 0x140094fe2
mov rbx, r14
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x48]
call fcn.14000187f
mov qword [rsp + 0x48], rax
lea r8, [r14*2 + 2]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], r14
test r14, r14
je 0x140095041
lea rax, [rsp + 0x48]
mov rcx, qword [rsp + 0x48]
cmp rbx, 8
cmovae rax, rcx
cmp word [rax + r14*2 - 2], 0x5c
je 0x140095038
lea rax, [rsp + 0x48]
cmp rbx, 8
cmovae rax, rcx
cmp word [rax + r14*2 - 2], 0x2f
je 0x140095038
lea rax, [rsp + 0x48]
cmp rbx, 8
cmovae rax, rcx
cmp word [rax + r14*2 - 2], 0x3a
jne 0x140095041
lea rdx, [0x1400e5de4]
jmp 0x140095048
lea rdx, [0x1400e5ddc]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rdx + r8*2], 0
jne 0x140095052
lea rcx, [rsp + 0x48]
call fcn.140003265
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, [rbp - 0x70]
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov rcx, qword [rsp + 0x30]
mov qword [rcx], rax
cmp rax, rbx
jne 0x140095117
mov qword [rcx], rdi
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x1400950c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1400950c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.140002c2a
mov dword [rsi], edi
mov qword [rsi + 8], rax
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140095221
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009521c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009521c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rax, [rbp - 0x44]
mov r8, rbx
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x140095120
lea rdx, [rbp - 0x44]
mov rcx, qword [rsp + 0x38]
call fcn.140001f5f
mov eax, dword [rbp - 0x70]
bt eax, 0xa
jae 0x14009514f
mov dword [r12], edi
mov dword [r13], edi
jmp 0x1400951d1
test al, 0x10
je 0x140095165
mov dword [r12], 3
mov dword [r13], 3
jmp 0x140095175
mov dword [r12], 2
mov dword [r13], 2
movdqa xmm0, xmmword [0x1400d1c80]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], di
lea rax, [rbp - 0x44]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140095190
mov r8, rbx
lea rdx, [rbp - 0x44]
lea rcx, [rsp + 0x68]
call fcn.140001f5f
nop
mov edx, dword [rbp - 0x70]
lea rcx, [rsp + 0x68]
call fcn.1400971d0
mov dword [r12 + 4], eax
lea rcx, [rsp + 0x68]
call fcn.140001325
mov eax, dword [r12 + 4]
mov dword [r13 + 4], eax
mov dword [rsi], edi
call fcn.140002c2a
mov qword [rsi + 8], rax
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140095221
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009521c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009521c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001785
mov rax, rsi
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140001c17
add rsp, 0x2f8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret