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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x320]
sub rsp, 0x420
mov rax, qword [0x14016a508]
xor rax, rsp
mov qword [rbp + 0x310], rax
mov rax, qword [rbp + 0x380]
mov r13, r8
mov r14, qword [rbp + 0x388]
mov esi, edx
mov qword [rsp + 0x68], rax
mov rdi, rcx
mov qword [rsp + 0x78], r9
mov qword [rsp + 0x70], r8
mov dword [rsp + 0x4c], edx
mov rcx, qword [0x14016a048]
lea rax, [0x14016a048]
cmp rcx, rax
je 0x1400ee089
test byte [rcx + 0x1c], 1
je 0x1400ee089
cmp byte [rcx + 0x19], 5
jb 0x1400ee089
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155e18]
mov edx, 0x16
call fcn.14000c0e8
xor ecx, ecx
lea rax, [rbp - 0x60]
mov qword [rbp - 0x70], rax
mov ebx, ecx
mov eax, dword [rbp - 0x64]
mov r12d, ecx
and eax, 0xfffffffa
mov qword [rsp + 0x58], rcx
or eax, 2
mov qword [rsp + 0x38], rcx
mov dword [rbp - 0x64], eax
lea edx, [rcx + 0x18]
lea rax, [rbp + 0x90]
mov qword [rsp + 0x40], rcx
mov qword [rbp + 0x80], rax
mov r15d, ecx
mov eax, dword [rbp + 0x8c]
mov r8d, 0x250
and eax, 0xfffffffa
mov qword [rbp - 0x80], rcx
or eax, 2
mov dword [rbp - 0x78], edx
mov dword [rbp + 0x8c], eax
mov eax, esi
and eax, 2
mov dword [rbp - 0x68], ecx
mov word [rbp - 0x60], cx
mov qword [rbp + 0x70], rcx
mov dword [rbp + 0x78], edx
xor edx, edx
mov dword [rbp + 0x88], ecx
mov word [rbp + 0x90], cx
mov dword [rsp + 0x34], ecx
lea rcx, [rbp + 0xc0]
mov dword [rsp + 0x50], eax
call sub.msvcrt.dll_memset
xor ecx, ecx
mov eax, esi
and eax, 4
mov byte [r14], cl
mov dword [rsp + 0x48], eax
jne 0x1400ee1df
cmp dword [rdi + 0x10], 0x64
jbe 0x1400ee1df
mov ebx, 0x80070057
lea rdi, [0x14016a048]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
mov rcx, r12
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
test r15, r15
je 0x1400ee173
mov rcx, r15
call fcn.1400ed220
mov rcx, qword [0x14016a048]
cmp rcx, rdi
je 0x1400ee1a0
test byte [rcx + 0x1c], 1
je 0x1400ee1a0
cmp byte [rcx + 0x19], 5
jb 0x1400ee1a0
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155e18]
mov edx, 0x1f
call fcn.14000c0e8
lea rcx, [rbp + 0x70]
call fcn.140006c40
lea rcx, [rbp - 0x80]
call fcn.140006c40
mov eax, ebx
mov rcx, qword [rbp + 0x310]
xor rcx, rsp
call fcn.1400071e0
mov rbx, qword [rsp + 0x468]
add rsp, 0x420
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test dword [rdi], 0x400
mov byte [rdi + 0x14], 1
je 0x1400ee234
mov rcx, qword [0x14016a048]
lea rax, [0x14016a048]
cmp rcx, rax
je 0x1400ee13f
test byte [rcx + 0x1c], 1
je 0x1400ee13f
cmp byte [rcx + 0x19], 5
jb 0x1400ee13f
mov r9, qword [rdi + 8]
lea r8, [0x140155e18]
mov rcx, qword [rcx + 0x10]
mov edx, 0x17
call fcn.140014f10
jmp 0x1400ee13f
lea rdx, [rsp + 0x58]
mov rcx, r13
call fcn.1400eea08
mov ebx, eax
test eax, eax
jns 0x1400ee28f
mov rcx, qword [0x14016a048]
lea rdi, [0x14016a048]
cmp rcx, rdi
je 0x1400ee146
test byte [rcx + 0x1c], 1
je 0x1400ee146
cmp byte [rcx + 0x19], 2
jb 0x1400ee146
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155e18]
mov edx, 0x18
mov r9d, eax
call fcn.14000c114
jmp 0x1400ee146
mov rdx, qword [rdi + 8]
lea rax, [rbp + 0x40]
mov qword [rbp + 0x30], rax
lea rcx, [rbp + 0x20]
mov eax, dword [rbp + 0x3c]
and eax, 0xfffffffa
mov qword [rbp + 0x20], r12
or eax, 2
mov dword [rbp + 0x28], 0x18
mov dword [rbp + 0x3c], eax
mov dword [rbp + 0x38], r12d
mov word [rbp + 0x40], r12w
call fcn.1400e2b54
mov rdx, qword [rsp + 0x58]
lea rax, [rbp - 0x10]
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x30]
mov eax, dword [rbp - 0x14]
and eax, 0xfffffffa
mov qword [rbp - 0x30], r12
or eax, 2
mov dword [rbp - 0x28], 0x18
mov dword [rbp - 0x14], eax
mov dword [rbp - 0x18], r12d
mov word [rbp - 0x10], r12w
call fcn.1400e2b54
lea r8, [rbp + 0x70]
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x30]
call fcn.1400eb230
lea rcx, [rbp - 0x30]
call fcn.140006c40
lea rcx, [rbp + 0x20]
call fcn.140006c40
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x70]
call fcn.1400ebd58
mov r12, qword [rsp + 0x38]
mov ebx, eax
test eax, eax
js 0x1400ee13f
or rax, 0xffffffffffffffff
xor ecx, ecx
inc rax
cmp word [r12 + rax*2], cx
jne 0x1400ee340
add eax, 0x106
mov r13d, eax
lea rbx, [rax*2]
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
jne 0x1400ee37b
mov ebx, 0x8007000e
jmp 0x1400ee13f
mov r8, rbx
xor edx, edx
mov rcx, rsi
call sub.msvcrt.dll_memset
mov r8, r12
mov rdx, r13
mov rcx, rsi
call fcn.140006300
xor r8d, r8d
mov ebx, eax
test eax, eax
js 0x1400ee46f
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rsi + rcx*2], r8w
jne 0x1400ee3a7
mov eax, ecx
mov edx, 0x5c
mov word [rsi + rax*2], dx
lea eax, [rcx + 1]
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x60], rax
mov rdx, r12
mov word [rsi + rax*2], r8w
call fcn.1400e2b54
mov r8d, 2
lea rdx, [0x14014e45c]
lea rcx, [rbp - 0x80]
call fcn.1400e2a50
mov rcx, qword [rbp - 0x70]
lea rdx, [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
nop dword [rax + rax]
mov qword [rsp + 0x38], rax
cmp rax, 0xffffffffffffffff
jne 0x1400ee48a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 2
je 0x1400ee46b
mov rcx, qword [0x14016a048]
lea rdi, [0x14016a048]
cmp rcx, rdi
je 0x1400ee45c
test byte [rcx + 0x1c], 1
je 0x1400ee45c
cmp byte [rcx + 0x19], 2
jb 0x1400ee45c
mov r9, qword [rbp - 0x70]
lea r8, [0x140155e18]
mov rcx, qword [rcx + 0x10]
mov edx, 0x19
mov dword [rsp + 0x20], eax
call fcn.14003fbc0
test ebx, ebx
jle 0x1400ee476
movzx ebx, bx
or ebx, 0x80070000
jmp 0x1400ee476
xor eax, eax
mov ebx, eax
lea rdi, [0x14016a048]
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
jmp 0x1400ee146
xor edx, edx
movzx ecx, word [rbp + 0xec]
mov r8d, 0x2e
movzx eax, r8w
sub ecx, eax
jne 0x1400ee4ad
movzx ecx, word [rbp + 0xee]
movzx eax, dx
sub ecx, eax
test ecx, ecx
je 0x1400ee6b2
movzx ecx, word [rbp + 0xec]
movzx eax, r8w
sub ecx, eax
jne 0x1400ee4df
movzx ecx, word [rbp + 0xee]
movzx eax, r8w
sub ecx, eax
jne 0x1400ee4df
movzx ecx, word [rbp + 0xf0]
movzx eax, dx
sub ecx, eax
test ecx, ecx
je 0x1400ee6b2
mov rax, qword [rsp + 0x60]
lea r8, [rbp + 0xec]
mov rcx, rsi
mov word [rsi + rax*2], dx
mov rdx, r13
call fcn.14005631c
xor ecx, ecx
mov ebx, eax
test eax, eax
js 0x1400ee76e
mov edx, dword [rbp + 0xc0]
mov eax, edx
and eax, 0x410
cmp eax, 0x10
jne 0x1400ee62f
cmp dword [rsp + 0x48], ecx
jne 0x1400ee584
cmp dword [rdi + 0x10], 0x64
jne 0x1400ee584
mov rcx, qword [0x14016a048]
lea rax, [0x14016a048]
cmp rcx, rax
je 0x1400ee6b2
test byte [rcx + 0x1c], 1
je 0x1400ee6b2
cmp byte [rcx + 0x19], 3
jb 0x1400ee6b2
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0xec]
mov edx, 0x1a
mov dword [rsp + 0x20], 0x64
lea r8, [0x140155e18]
call fcn.140040130
jmp 0x1400ee6b2
test byte [rsp + 0x4c], 8
jne 0x1400ee5dc
cmp dword [rsp + 0x34], 0x64
jb 0x1400ee5dc
mov rcx, qword [0x14016a048]
lea rax, [0x14016a048]
cmp rcx, rax
je 0x1400ee5cf
test byte [rcx + 0x1c], 1
je 0x1400ee5cf
cmp byte [rcx + 0x19], 4
jb 0x1400ee5cf
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155e18]
mov edx, 0x1b
mov qword [rsp + 0x20], r12
lea r9d, [rdx + 0x49]
call fcn.140061418
mov rax, qword [rsp + 0x68]
mov byte [rax], 1
jmp 0x1400ee6b2
mov r8d, dword [rdi + 0x10]
lea r9, [rsp + 0x40]
inc r8d
lea rcx, [rbp + 0xec]
call fcn.1400ed258
mov r15, qword [rsp + 0x40]
mov ebx, eax
xor eax, eax
test ebx, ebx
js 0x1400ee77c
mov rcx, qword [rsp + 0x70]
mov rdx, r15
call fcn.1400eed64
mov ebx, eax
xor eax, eax
test ebx, ebx
js 0x1400ee77c
inc dword [rsp + 0x34]
mov r15d, eax
mov qword [rsp + 0x40], rax
jmp 0x1400ee6b2
lea r8, [rsp + 0x30]
mov byte [rsp + 0x30], 1
lea rdx, [rbp + 0xc0]
mov rcx, rsi
call fcn.1400edcb8
xor ecx, ecx
mov ebx, eax
test eax, eax
jns 0x1400ee6aa
mov al, byte [rsp + 0x30]
mov byte [r14], al
cmp dword [rsp + 0x50], ecx
je 0x1400ee731
test al, al
je 0x1400ee731
mov rcx, qword [0x14016a048]
lea rax, [0x14016a048]
cmp rcx, rax
je 0x1400ee6a4
test byte [rcx + 0x1c], 1
je 0x1400ee6a4
cmp byte [rcx + 0x19], 4
jb 0x1400ee6a4
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155e18]
mov edx, 0x1c
mov dword [rsp + 0x20], ebx
mov r9, rsi
call fcn.140014f78
xor eax, eax
mov ebx, eax
jmp 0x1400ee6b2
mov rax, qword [rsp + 0x78]
inc qword [rax]
mov rcx, qword [rsp + 0x38]
lea rdx, [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [rax + rax]
xor edx, edx
test eax, eax
jne 0x1400ee48c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
cmp eax, 0x12
je 0x1400ee77f
mov rcx, qword [0x14016a048]
lea rax, [0x14016a048]
cmp rcx, rax
je 0x1400ee727
test byte [rcx + 0x1c], 1
je 0x1400ee727
cmp byte [rcx + 0x19], 2
jb 0x1400ee727
mov r9, qword [rbp - 0x70]
lea r8, [0x140155e18]
mov rcx, qword [rcx + 0x10]
mov edx, 0x1e
mov dword [rsp + 0x20], edi
call fcn.14003fbc0
xor eax, eax
test edi, edi
jg 0x1400ee773
mov ebx, edi
jmp 0x1400ee77c
mov rcx, qword [0x14016a048]
lea rdi, [0x14016a048]
cmp rcx, rdi
je 0x1400ee786
test byte [rcx + 0x1c], 1
je 0x1400ee786
cmp byte [rcx + 0x19], 2
jb 0x1400ee786
mov rcx, qword [rcx + 0x10]
lea r8, [0x140155e18]
mov edx, 0x1d
mov dword [rsp + 0x20], ebx
mov r9, rsi
call fcn.140014f78
jmp 0x1400ee786
mov byte [r14], cl
jmp 0x1400ee77f
movzx ebx, di
or ebx, 0x80070000
mov byte [r14], al
lea rdi, [0x14016a048]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
jmp 0x1400ee476