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

Disassembly:
push 0x4e0
mov eax, 0x6103eb39
call fcn.6102ab31
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor ebx, ebx
lea ecx, [ebp - 0x4c4]
mov dword [ebp - 0x4dc], esi
mov dword [ebp - 0x4d4], eax
mov dword [ebp - 0x4b4], ebx
call fcn.6100d224
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x4b8]
call fcn.6100d224
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4bc]
call fcn.6100d224
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c8]
call fcn.6100d224
mov byte [ebp - 4], 3
cmp esi, ebx
mov dword [ebp - 0x4cc], 1
jne 0x6101b8c5
push 0x57
pop esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c8]
call fcn.6100d179
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4bc]
call fcn.6100d179
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4b8]
call fcn.6100d179
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c4]
call fcn.6100d179
mov eax, esi
call fcn.6102abc3
ret 8
cmp dword [0x61048630], ebx
jne 0x6101b8e0
call fcn.6101b6a6
cmp eax, ebx
mov dword [ebp - 0x4b4], eax
je 0x6101b8e0
mov esi, eax
jmp 0x6101b87f
push 0x61048428
lea ecx, [ebp - 0x4c4]
call fcn.6100d7a2
push 0x61004574
lea eax, [ebp - 0x4c4]
push eax
lea eax, [ebp - 0x4c0]
push eax
call fcn.6100d68f
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x4b8]
call fcn.6100d722
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c0]
call fcn.6100d179
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x4b8]
call edi
cmp eax, 0xffffffff
mov dword [ebp - 0x4c0], eax
jne 0x6101b956
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x6101b8dc
xor eax, eax
jmp 0x6101b8dc
mov esi, 0x61001438
test byte [ebp - 0x260], 0x10
je 0x6101bb24
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push 0x61003928
lea eax, [ebp - 0x234]
push eax
call ebx
test eax, eax
je 0x6101bb24
push 0x61003ea4
lea eax, [ebp - 0x234]
push eax
call ebx
test eax, eax
je 0x6101bb24
push esi
lea eax, [ebp - 0x4c4]
push eax
lea eax, [ebp - 0x4d0]
push eax
call fcn.6100d68f
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x234]
push ecx
push eax
lea eax, [ebp - 0x4e4]
push eax
call fcn.6100d68f
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x4bc]
call fcn.6100d722
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4e4]
call fcn.6100d179
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4d0]
call fcn.6100d179
push esi
lea eax, [ebp - 0x4bc]
push eax
lea eax, [ebp - 0x4d8]
push eax
call fcn.6100d68f
mov byte [ebp - 4], 7
push 0x61004568
push eax
lea eax, [ebp - 0x4ec]
push eax
call fcn.6100d68f
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x4b8]
call fcn.6100d722
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4ec]
call fcn.6100d179
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4d8]
call fcn.6100d179
lea eax, [ebp - 0x4b0]
push eax
push dword [ebp - 0x4b8]
call edi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x6101ba83
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
mov dword [ebp - 0x4b4], eax
jne 0x6101bb48
and dword [ebp - 0x4b4], 0
jmp 0x6101bb24
test byte [ebp - 0x4b0], 0x10
jne 0x6101bafe
push esi
lea eax, [ebp - 0x4bc]
push eax
lea eax, [ebp - 0x4e0]
push eax
call fcn.6100d68f
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x484]
push ecx
push eax
lea eax, [ebp - 0x4e8]
push eax
call fcn.6100d68f
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x4c8]
call fcn.6100d722
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x4e8]
call fcn.6100d179
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4e0]
call fcn.6100d179
push dword [ebp - 0x4d4]
push dword [ebp - 0x4c8]
call dword [ebp - 0x4dc]
mov dword [ebp - 0x4cc], eax
lea eax, [ebp - 0x4b0]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x6101bb1d
cmp dword [ebp - 0x4cc], 0
jne 0x6101ba83
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x4c0]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x6101bb48
cmp dword [ebp - 0x4cc], 0
jne 0x6101b95b
push dword [ebp - 0x4c0]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x4b4]
jmp 0x6101b87f