Function at 0x1400f92c0
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 qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x1403aa6c8]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r13, r9
mov rax, r8
mov r12, rdx
mov rsi, rcx
mov r14, qword [rbp + 0x240]
mov r15, qword [rbp + 0x248]
mov qword [rsp + 0x40], 7
xor edi, edi
mov qword [rsp + 0x38], rdi
mov word [rsp + 0x28], di
or rbx, 0xffffffffffffffff
mov r9, rbx
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140035ab0
nop
mov r8, qword [rsp + 0x38]
test r8, r8
sete al
test al, al
jne 0x1400f93a1
lea rax, [rsp + 0x28]
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
cmovae rax, rcx
cmp word [rax + r8*2 - 2], 0x5c
je 0x1400f9398
lea rax, [rsp + 0x28]
cmp rdx, 8
cmovae rax, rcx
cmp word [rax + r8*2 - 2], 0x2f
je 0x1400f9398
lea rax, [rsp + 0x28]
cmp rdx, 8
cmovae rax, rcx
cmp word [rax + r8*2 - 2], 0x3a
jne 0x1400f93a1
lea rdx, [0x14025f050]
jmp 0x1400f93a8
lea rdx, [0x14025f048]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400f93b0
lea rcx, [rsp + 0x28]
call fcn.140035d10
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [r12], rax
cmp rax, 0xffffffffffffffff
jne 0x1400f943b
mov qword [r12], rdi
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x1400f940d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1400f940d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.1400f7cd0
mov dword [rsi], edi
mov qword [rsi + 8], rax
mov r8, qword [rsp + 0x40]
cmp r8, 8
jb 0x1400f9436
inc r8
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x28]
call fcn.1400381b0
nop
jmp 0x1400f953e
cmp word [rbp - 0x64], 0
jne 0x1400f9447
mov r8, rdi
jmp 0x1400f945b
lea rax, [rbp - 0x64]
mov r8, rbx
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x1400f9450
lea rdx, [rbp - 0x64]
mov rcx, r13
call fcn.140035960
mov eax, dword [rsp + 0x70]
bt eax, 0xa
jae 0x1400f947c
mov dword [r14], edi
mov dword [r15], edi
jmp 0x1400f9515
test al, 0x10
je 0x1400f9490
mov dword [r14], 3
mov dword [r15], 3
jmp 0x1400f949e
mov dword [r14], 2
mov dword [r15], 2
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], rdi
mov word [rsp + 0x48], di
cmp word [rbp - 0x64], 0
jne 0x1400f94bd
mov rbx, rdi
jmp 0x1400f94cb
lea rax, [rbp - 0x64]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400f94c1
mov r8, rbx
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x48]
call fcn.140035960
nop
mov edx, dword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.1400fa220
mov dword [r14 + 4], eax
mov r8, qword [rsp + 0x60]
cmp r8, 8
jb 0x1400f950d
inc r8
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.1400381b0
nop
mov eax, dword [r14 + 4]
mov dword [r15 + 4], eax
mov dword [rsi], edi
call fcn.1400f7cd0
mov qword [rsi + 8], rax
mov r8, qword [rsp + 0x40]
cmp r8, 8
jb 0x1400f953e
inc r8
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x28]
call fcn.1400381b0
nop
mov rax, rsi
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140229810
add rsp, 0x2d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret