Function at 0x3bc1c6233
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 0x3bc1c62ba
test rdx, rdx
je 0x3bc1c62f2
test r8, r8
je 0x3bc1c632a
mov rbp, qword [r8]
test rbp, rbp
je 0x3bc1c6362
lea rdx, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x3bc1c63b2
mov esi, 0
lea rdx, [rsp + 0x5c]
mov rcx, r12
call main
cmp esi, 0x20
ja 0x3bc1c6401
ja case.0x3bc1c62b8.1
mov eax, esi
lea rdx, [0x3bc1d63a4]
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, [0x3bc1d6092]
lea rdx, str.fs_dir_list
lea rcx, [0x3bc1d60b0]
call fcn.3bc1c1292
mov esi, 0xa0
mov eax, 0x40000001
jmp 0x3bc1c647c
mov dword [rsp + 0x20], 0xdc
lea r9, str.H:_Projects_rdp_bot_codebase_fs.c
lea r8, [0x3bc1d630c]
lea rdx, str.fs_dir_list
lea rcx, [0x3bc1d60b0]
call fcn.3bc1c1292
mov esi, 0xa0
mov eax, 0x40000001
jmp 0x3bc1c647c
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, [0x3bc1d60b0]
call fcn.3bc1c1292
mov esi, 0xa0
mov eax, 0x40000001
jmp 0x3bc1c647c
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x3bc1c6383
mov qword [rbx], rax
mov esi, 0
jmp 0x3bc1c628c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp eax, 2
jne 0x3bc1c6397
mov esi, 0x12
jmp 0x3bc1c63bf
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.3bc1c1292
jmp 0x3bc1c63f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp eax, 0x12
jne 0x3bc1c63db
lea rax, [rbp - 1]
cmp rax, 0xfffffffffffffffd
ja 0x3bc1c6299
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x3bc1c6299
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.3bc1c1292
test esi, esi
jne 0x3bc1c63bf
jmp 0x3bc1c628c
mov eax, esi
jmp 0x3bc1c647c
cmp esi, 0x94
je 0x3bc1c64b4
jbe 0x3bc1c6436
cmp esi, 0xb7
je 0x3bc1c64d0
cmp esi, 0x80070005
je 0x3bc1c64d7
cmp esi, 0xaa
je 0x3bc1c645b
mov eax, 0x40000001
jmp 0x3bc1c647c
cmp esi, 0x7f
ja 0x3bc1c644c
cmp esi, 0x7e
jae 0x3bc1c64bb
cmp esi, 0x50
jne 0x3bc1c64c2
mov eax, 0x40000007
jmp 0x3bc1c647c
cmp esi, 0x91
jne 0x3bc1c64c9
mov eax, 0x4000000d
jmp 0x3bc1c647c
mov eax, 0x4000000d
jmp 0x3bc1c647c
mov eax, 0x40000003
jmp 0x3bc1c647c
mov eax, 0x40000009
jmp 0x3bc1c647c
mov eax, 0x4000000d
jmp 0x3bc1c647c
mov eax, 0x40000001
test rdi, rdi
je 0x3bc1c6483
mov dword [rdi], esi
test eax, eax
je 0x3bc1c649d
test rbx, rbx
je 0x3bc1c6493
mov qword [rbx], 0
test r12, r12
je 0x3bc1c649d
mov byte [r12], 0
add rsp, 0x178
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov eax, 0x40000008
jmp 0x3bc1c647c
mov eax, 0x4000000d
jmp 0x3bc1c647c
mov eax, 0x40000003
jmp 0x3bc1c647c
mov eax, 0x40000001
jmp 0x3bc1c647c
mov eax, 0x40000001
jmp 0x3bc1c647c
mov eax, 0x40000007
jmp 0x3bc1c647c
mov eax, 0x40000009
jmp 0x3bc1c647c