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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a3837
mov eax, dword fs:[0]
push eax
sub esp, 0x4cc
mov eax, dword [0x4c6280]
xor eax, esp
mov dword [esp + 0x4c4], eax
push ebx
push edi
mov eax, dword [0x4c6280]
xor eax, esp
push eax
lea eax, [esp + 0x4d8]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
test edi, edi
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
je 0x45bdee
test eax, eax
je 0x45bdee
push 0x208
lea eax, [esp + 0x2c2]
push 0
push eax
mov word [esp + 0x2c8], 0
call fcn.004806d0
push 0x104
lea ecx, [esp + 0x2cc]
push edi
push ecx
call fcn.0048312d
add esp, 0x18
test eax, eax
je 0x45bdee
lea edx, [esp + 0x2bc]
push edx
lea ecx, [esp + 0x38]
call fcn.00419660
lea ecx, [esp + 0x34]
mov dword [esp + 0x4e0], 0
call fcn.00421e20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45bde5
lea eax, [esp + 0x2bc]
push eax
lea ecx, [esp + 0x54]
call fcn.00419660
lea edi, [esp + 0x50]
mov byte [esp + 0x4e0], 1
call fcn.0045e640
push 0x4b875c
mov ebx, edi
call fcn.0045e870
lea ecx, [esp + 0x6c]
push ecx
mov ecx, edi
call fcn.00421e20
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push eax
lea ecx, [esp + 0x14]
call fcn.004377d0
lea ecx, [esp + 0x10]
mov byte [esp + 0x4e0], 2
call fcn.004377f0
test eax, eax
jne 0x45be20
lea ecx, [esp + 0x10]
call fcn.00437810
mov ecx, edi
call fcn.00419810
lea ecx, [esp + 0x34]
call fcn.00419810
xor eax, eax
mov ecx, dword [esp + 0x4d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x4c4]
xor ecx, esp
call fcn.0047f404
mov esp, ebp
pop ebp
ret
mov ecx, 0x4b8760
lea eax, [esp + 0x98]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45be56
test dx, dx
je 0x45be52
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45be56
add eax, 4
add ecx, 4
test dx, dx
jne 0x45be30
xor eax, eax
jmp 0x45be5b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x45bf52
mov ecx, 0x4b8764
lea eax, [esp + 0x98]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45be96
test dx, dx
je 0x45be92
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45be96
add eax, 4
add ecx, 4
test dx, dx
jne 0x45be70
xor eax, eax
jmp 0x45be9b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x45bf52
test byte [esp + 0x6c], 0x10
je 0x45bf00
cmp dword [ebp + 0x10], 0
je 0x45bf4b
lea edx, [esp + 0x2bc]
push edx
lea ecx, [esp + 0x1c]
call fcn.00419660
lea edi, [esp + 0x18]
mov byte [esp + 0x4e0], 3
call fcn.0045e640
lea eax, [esp + 0x98]
push eax
mov ebx, edi
call fcn.0045e870
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
mov ecx, edi
call fcn.00421e20
push eax
call fcn.0045bcb0
add esp, 0xc
jmp 0x45bf3a
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x1c]
call fcn.00419630
lea edi, [esp + 0x18]
mov byte [esp + 0x4e0], 4
call fcn.0045e640
lea ecx, [esp + 0x98]
push ecx
mov ebx, edi
call fcn.0045e870
mov ecx, dword [esp + 0x14]
mov edx, edi
push edx
call fcn.00437650
lea ecx, [esp + 0x18]
mov byte [esp + 0x4e0], 2
call fcn.00419810
lea eax, [esp + 0x6c]
push eax
jmp 0x45bf57
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00410760
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45be20
lea ecx, [esp + 0x10]
call fcn.00437810
lea ecx, [esp + 0x50]
call fcn.00419810
lea ecx, [esp + 0x34]
call fcn.00419810
mov eax, 1
jmp 0x45bdf0