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

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x178
mov r13, rcx
mov r12, rdx
mov rbx, r8
mov rdi, r9
test rcx, rcx
je 0x26f49327a
test rdx, rdx
je 0x26f4932b2
test r8, r8
je 0x26f4932ea
mov rbp, qword [r8]
test rbp, rbp
je 0x26f493322
lea rdx, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x26f493372
mov esi, 0
lea rdx, [rsp + 0x5c]
mov rcx, r12
call sub.msvcrt.dll_strcpy
cmp esi, 0x20
ja 0x26f4933c1
ja case.0x26f493278.1
mov eax, esi
lea rdx, [0x26f4a1304]
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
mov dword [rsp + 0x20], 0xdb
lea r9, str.H:_Projects_rdp_bot_codebase_fs.c
lea r8, [0x26f4a0ff2]
lea rdx, str.fs_dir_list
lea rcx, [0x26f4a1010]
call fcn.26f49a202
mov esi, 0xa0
mov eax, 0x40000001
jmp 0x26f49343c
mov dword [rsp + 0x20], 0xdc
lea r9, str.H:_Projects_rdp_bot_codebase_fs.c
lea r8, [0x26f4a126c]
lea rdx, str.fs_dir_list
lea rcx, [0x26f4a1010]
call fcn.26f49a202
mov esi, 0xa0
mov eax, 0x40000001
jmp 0x26f49343c
mov dword [rsp + 0x20], 0xdd
lea r9, str.H:_Projects_rdp_bot_codebase_fs.c
lea r8, str._resume_handle___NULL_
lea rdx, str.fs_dir_list
lea rcx, [0x26f4a1010]
call fcn.26f49a202
mov esi, 0xa0
mov eax, 0x40000001
jmp 0x26f49343c
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x26f493343
mov qword [rbx], rax
mov esi, 0
jmp 0x26f49324c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp eax, 2
jne 0x26f493357
mov esi, 0x12
jmp 0x26f49337f
mov r9d, eax
mov r8, r13
lea rdx, str.fs_dir_list
lea rcx, str._E____s_____FindFirstFileA_failed_path_s_gle_lu__n
call fcn.26f49a202
jmp 0x26f4933b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp eax, 0x12
jne 0x26f49339b
lea rax, [rbp - 1]
cmp rax, 0xfffffffffffffffd
ja 0x26f493259
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x26f493259
mov r9d, eax
mov r8, r13
lea rdx, str.fs_dir_list
lea rcx, str._E____s_____FindNextFileA_failed_path_s_gle_lu__n
call fcn.26f49a202
test esi, esi
jne 0x26f49337f
jmp 0x26f49324c
mov eax, esi
jmp 0x26f49343c
cmp esi, 0x94
je 0x26f493474
jbe 0x26f4933f6
cmp esi, 0xb7
je 0x26f493490
cmp esi, 0x80070005
je 0x26f493497
cmp esi, 0xaa
je 0x26f49341b
mov eax, 0x40000001
jmp 0x26f49343c
cmp esi, 0x7f
ja 0x26f49340c
cmp esi, 0x7e
jae 0x26f49347b
cmp esi, 0x50
jne 0x26f493482
mov eax, 0x40000007
jmp 0x26f49343c
cmp esi, 0x91
jne 0x26f493489
mov eax, 0x4000000d
jmp 0x26f49343c
mov eax, 0x4000000d
jmp 0x26f49343c
mov eax, 0x40000003
jmp 0x26f49343c
mov eax, 0x40000009
jmp 0x26f49343c
mov eax, 0x4000000d
jmp 0x26f49343c
mov eax, 0x40000001
test rdi, rdi
je 0x26f493443
mov dword [rdi], esi
test eax, eax
je 0x26f49345d
test rbx, rbx
je 0x26f493453
mov qword [rbx], 0
test r12, r12
je 0x26f49345d
mov byte [r12], 0
add rsp, 0x178
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov eax, 0x40000008
jmp 0x26f49343c
mov eax, 0x4000000d
jmp 0x26f49343c
mov eax, 0x40000003
jmp 0x26f49343c
mov eax, 0x40000001
jmp 0x26f49343c
mov eax, 0x40000001
jmp 0x26f49343c
mov eax, 0x40000007
jmp 0x26f49343c
mov eax, 0x40000009
jmp 0x26f49343c