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

Disassembly:
push 0x4e0
mov eax, 0x6103f537
call fcn.6102b349
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.6100d83e
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x4b8]
call fcn.6100d83e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4bc]
call fcn.6100d83e
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c8]
call fcn.6100d83e
mov byte [ebp - 4], 3
mov dword [ebp - 0x4cc], 1
cmp esi, ebx
jne 0x6101bdec
push 0x57
pop esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c8]
call fcn.6100d793
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4bc]
call fcn.6100d793
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4b8]
call fcn.6100d793
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c4]
call fcn.6100d793
mov eax, esi
call fcn.6102b3db
ret 8
cmp dword [0x610496f0], ebx
jne 0x6101be07
call fcn.6101bbcc
mov dword [ebp - 0x4b4], eax
cmp eax, ebx
je 0x6101be07
mov esi, eax
jmp 0x6101bda6
push 0x610494e8
lea ecx, [ebp - 0x4c4]
call fcn.6100de0c
push 0x61004674
lea eax, [ebp - 0x4c4]
push eax
lea eax, [ebp - 0x4c0]
push eax
call fcn.6100dcf9
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x4b8]
call fcn.6100dd8c
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c0]
call fcn.6100d793
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x4b8]
call edi
mov dword [ebp - 0x4c0], eax
cmp eax, 0xffffffff
jne 0x6101be7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x6101be03
xor eax, eax
jmp 0x6101be03
mov esi, 0x61001438
test byte [ebp - 0x260], 0x10
je 0x6101c04b
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push 0x61003924
lea eax, [ebp - 0x234]
push eax
call ebx
test eax, eax
je 0x6101c04b
push 0x61003fa8
lea eax, [ebp - 0x234]
push eax
call ebx
test eax, eax
je 0x6101c04b
push esi
lea eax, [ebp - 0x4c4]
push eax
lea eax, [ebp - 0x4d0]
push eax
call fcn.6100dcf9
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x234]
push ecx
push eax
lea eax, [ebp - 0x4e4]
push eax
call fcn.6100dcf9
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x4bc]
call fcn.6100dd8c
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4e4]
call fcn.6100d793
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4d0]
call fcn.6100d793
push esi
lea eax, [ebp - 0x4bc]
push eax
lea eax, [ebp - 0x4d8]
push eax
call fcn.6100dcf9
mov byte [ebp - 4], 7
push 0x61004668
push eax
lea eax, [ebp - 0x4ec]
push eax
call fcn.6100dcf9
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x4b8]
call fcn.6100dd8c
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4ec]
call fcn.6100d793
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4d8]
call fcn.6100d793
lea eax, [ebp - 0x4b0]
push eax
push dword [ebp - 0x4b8]
call edi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x6101bfaa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x4b4], eax
cmp eax, 2
jne 0x6101c06f
and dword [ebp - 0x4b4], 0
jmp 0x6101c04b
test byte [ebp - 0x4b0], 0x10
jne 0x6101c025
push esi
lea eax, [ebp - 0x4bc]
push eax
lea eax, [ebp - 0x4e0]
push eax
call fcn.6100dcf9
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x484]
push ecx
push eax
lea eax, [ebp - 0x4e8]
push eax
call fcn.6100dcf9
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x4c8]
call fcn.6100dd8c
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x4e8]
call fcn.6100d793
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4e0]
call fcn.6100d793
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 0x6101c044
cmp dword [ebp - 0x4cc], 0
jne 0x6101bfaa
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 0x6101c06f
cmp dword [ebp - 0x4cc], 0
jne 0x6101be82
push dword [ebp - 0x4c0]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x4b4]
jmp 0x6101bda6