Function at 0x14000f6ac
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0xa80
mov rax, qword [0x140036890]
xor rax, rsp
mov qword [rsp + 0xa70], rax
mov rdi, r9
mov r12, r8
mov rbx, rdx
mov rsi, rcx
call fcn.14000fc44
xor r14d, r14d
mov r13d, 0x1000000
cmp eax, r14d
je 0x14000f88e
cmp r12, r14
je 0x14000f711
cmp word [r12], r14w
je 0x14000f711
lea rcx, [rsp + 0x270]
mov rdx, r12
call fcn.14001add4
jmp 0x14000f724
lea rdx, [rsp + 0x270]
mov r8, r13
mov rcx, rbx
call fcn.14001ab94
or rbx, 0xffffffffffffffff
lea rdx, [rsp + 0x20]
cmp rsi, rbx
jne 0x14000f771
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, rbx
jne 0x14000f79d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x14000f762
cmp eax, 3
je 0x14000f762
cmp eax, 0x12
je 0x14000f762
lea ebp, [rbx + 2]
jmp 0x14000f765
mov ebp, r14d
mov byte [rdi + 0x109c], bpl
jmp 0x14000fa48
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, r14d
jne 0x14000f794
mov rsi, rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
setne al
mov byte [rdi + 0x109c], al
cmp rsi, rbx
je 0x14000fa48
lea rdx, [rsp + 0x270]
lea rcx, [rdi + 0x400]
call fcn.14001add4
lea rcx, [rdi + 0x400]
call fcn.1400116ec
lea rdx, [rsp + 0x4c]
mov rcx, rax
call fcn.14001add4
lea rcx, [rdi + 0x400]
mov r8, r13
mov rdx, rdi
call fcn.14001ab5c
mov eax, dword [rsp + 0x40]
mov r11d, dword [rsp + 0x3c]
shl r11, 0x20
lea rdx, [rdi + 0xc80]
lea rcx, [rsp + 0x254]
add r11, rax
mov eax, dword [rsp + 0x20]
mov r8, r13
mov dword [rdi + 0xc08], eax
mov qword [rdi + 0xc00], r11
call fcn.14001ab5c
mov rax, qword [rsp + 0x2c]
mov r11, qword [rsp + 0x24]
lea rdx, [rsp + 0x34]
mov qword [rdi + 0x1088], rax
mov rax, qword [rsp + 0x34]
lea rcx, [rdi + 0xc14]
mov qword [rdi + 0x1090], rax
mov qword [rdi + 0x1080], r11
call fcn.14001a874
lea rcx, [rdi + 0xc38]
lea rdx, [rsp + 0x24]
call fcn.14001a874
lea rcx, [rdi + 0xc5c]
lea rdx, [rsp + 0x2c]
call fcn.14001a874
lea rcx, [rdi + 0xc14]
call fcn.14001a678
lea rcx, [rdi + 0x400]
mov dword [rdi + 0xc0c], eax
call fcn.140019e78
jmp 0x14000fa3b
mov ebp, 1
cmp rbx, r14
je 0x14000f8b7
cmp byte [rbx], r14b
je 0x14000f8b7
lea rcx, [rsp + 0x270]
sub rcx, rbx
mov al, byte [rbx]
mov byte [rcx + rbx], al
add rbx, rbp
cmp al, r14b
jne 0x14000f8a8
jmp 0x14000f8ca
lea rdx, [rsp + 0x270]
mov r8, r13
mov rcx, r12
call fcn.14001ab5c
or rbx, 0xffffffffffffffff
lea rdx, [rsp + 0x20]
cmp rsi, rbx
jne 0x14000f905
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rsi, rax
cmp rax, rbx
jne 0x14000f931
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x14000f900
cmp eax, 3
mov eax, ebp
jne 0x14000f922
mov eax, r14d
jmp 0x14000f922
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, r14d
jne 0x14000f928
mov rsi, rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
setne al
mov byte [rdi + 0x109c], al
cmp rsi, rbx
je 0x14000fa48
lea rax, [rsp + 0x270]
mov rdx, rdi
lea rcx, [rsp + 0x270]
sub rdx, rax
mov al, byte [rcx]
mov byte [rdx + rcx], al
add rcx, rbp
cmp al, r14b
jne 0x14000f947
mov rcx, rdi
lea rbx, [rsp + 0x4c]
call fcn.140011654
mov cl, byte [rbx]
add rbx, rbp
mov byte [rax], cl
add rax, rbp
cmp cl, r14b
jne 0x14000f961
lea rdx, [rdi + 0x400]
mov r8, r13
mov rcx, rdi
call fcn.14001ab94
mov eax, dword [rsp + 0x40]
mov r11d, dword [rsp + 0x3c]
shl r11, 0x20
lea rdx, [rdi + 0xc80]
lea rcx, [rsp + 0x150]
add r11, rax
mov eax, dword [rsp + 0x20]
mov dword [rdi + 0xc08], eax
lea rax, [rsp + 0x150]
mov qword [rdi + 0xc00], r11
sub rdx, rax
mov al, byte [rcx]
mov byte [rdx + rcx], al
add rcx, rbp
cmp al, r14b
jne 0x14000f9bd
mov rax, qword [rsp + 0x24]
lea rdx, [rsp + 0x34]
lea rcx, [rdi + 0xc14]
mov qword [rdi + 0x1080], rax
mov rax, qword [rsp + 0x2c]
mov qword [rdi + 0x1088], rax
mov rax, qword [rsp + 0x34]
mov qword [rdi + 0x1090], rax
call fcn.14001a874
lea rcx, [rdi + 0xc38]
lea rdx, [rsp + 0x24]
call fcn.14001a874
lea rcx, [rdi + 0xc5c]
lea rdx, [rsp + 0x2c]
call fcn.14001a874
lea rcx, [rdi + 0xc14]
call fcn.14001a678
mov rcx, rdi
mov dword [rdi + 0xc0c], eax
call fcn.140019e5c
cmp al, r14b
je 0x14000fa48
mov word [rdi + 0x400], r14w
mov dword [rdi + 0x1098], r14d
mov rax, rsi
mov rcx, qword [rsp + 0xa70]
xor rcx, rsp
call fcn.140021ea0
add rsp, 0xa80
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret