Function at 0x140322b30
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 - 0x1d8]
sub rsp, 0x2d8
mov rax, qword [0x14058f6b8]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov qword [rsp + 0x28], r9
mov r14, r8
mov r13, rdx
mov r15, rcx
mov r12, qword [rbp + 0x240]
mov rax, qword [rbp + 0x248]
mov qword [rsp + 0x20], rax
xor edi, edi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
mov rsi, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x140322b9d
mov r14, qword [r8]
cmp rsi, 8
jae 0x140322bb3
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x30], xmm0
mov ebx, 7
jmp 0x140322bf1
mov rbx, rsi
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x30]
call fcn.14007cad0
mov qword [rsp + 0x30], rax
lea r8, [rsi*2 + 2]
mov rdx, r14
mov rcx, rax
call fcn.14039b2e0
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rsi
test rsi, rsi
je 0x140322c4d
lea rax, [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
cmp rbx, 8
cmovae rax, rcx
cmp word [rax + rsi*2 - 2], 0x5c
je 0x140322c44
lea rax, [rsp + 0x30]
cmp rbx, 8
cmovae rax, rcx
cmp word [rax + rsi*2 - 2], 0x2f
je 0x140322c44
lea rax, [rsp + 0x30]
cmp rbx, 8
cmovae rax, rcx
cmp word [rax + rsi*2 - 2], 0x3a
jne 0x140322c4d
lea rdx, [0x1405156a4]
jmp 0x140322c54
lea rdx, [0x1404aaea0]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x140322c60
lea rcx, [rsp + 0x30]
call fcn.14007c980
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [r13], rax
cmp rax, rbx
jne 0x140322d34
mov qword [r13], rdi
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x140322cc0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x140322cc0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.14031e4a0
mov dword [r15], edi
mov qword [r15 + 8], rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140322d0e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140322d09
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140322e6d
call fcn.140398020
mov rax, r15
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140398000
add rsp, 0x2d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rax, [rbp - 0x64]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140322d40
lea rdx, [rbp - 0x64]
mov rcx, qword [rsp + 0x28]
call fcn.140078ce0
mov eax, dword [rsp + 0x70]
mov rsi, qword [rsp + 0x20]
bt eax, 0xa
jae 0x140322d73
mov dword [r12], edi
mov dword [rsi], edi
jmp 0x140322e15
and eax, 0x10
or eax, 0x20
shr eax, 4
mov dword [r12], eax
mov dword [rsi], eax
mov qword [rsp + 0x50], rdi
movdqa xmm0, xmmword [0x140535b70]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], di
lea rax, [rbp - 0x64]
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140322da0
mov r8, rbx
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x50]
call fcn.140078ce0
nop
mov edx, dword [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140323fc0
mov dword [r12 + 4], eax
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140322e0d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140322e08
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140322e67
call fcn.140398020
mov eax, dword [r12 + 4]
mov dword [rsi + 4], eax
mov dword [r15], edi
call fcn.14031e4a0
mov qword [r15 + 8], rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140322d0e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140322d09
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140322e6d
jmp 0x140322d09
call fcn.1403a7ee4
nop
call fcn.1403a7ee4
int3