Function at 0x414b30
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45e26b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x33dc
call fcn.0043cf00
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne 0x414b77
push str.CFileFinder::Find__
call fcn.0040f570
mov ecx, dword [ebp + 0xc]
lea ebx, [esi + 4]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebx + 0x140], eax
jne 0x414bae
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jb 0x414ba4
cmp eax, 3
jbe 0x414dad
push str.CFindFile::FindNextFile__
call fcn.0040f570
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x33f4], eax
jmp 0x414bd0
mov esi, dword [esp + 0x10]
lea esp, [esp]
test byte [ebx], 0x10
je 0x414bed
cmp byte [ebx + 0x2c], 0x2e
jne 0x414bed
mov al, byte [ebx + 0x2d]
test al, al
je 0x414c4b
cmp al, 0x2e
jne 0x414bed
mov al, byte [ebx + 0x2e]
test al, al
je 0x414c4b
add esi, 0x30
push esi
push str..svn
call fcn.00444697
add esp, 8
test eax, eax
je 0x414c4b
test byte [ebx], 0x10
mov esi, ebx
mov ecx, 0x50
je 0x414c2a
lea edi, [esp + 0x2a8]
lea edx, [esp + 0x2a8]
rep movsd dword es:[edi], dword [esi]
push edx
lea ecx, [esp + 0x1c]
call fcn.00414aa0
jmp 0x414c4b
lea edi, [esp + 0x168]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
lea edx, [esp + 0x168]
push edx
call dword [eax]
test al, al
je 0x414da4
mov eax, dword [ebx + 0x140]
test eax, eax
je 0x414c74
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x414bc5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x414ba4
mov eax, dword [ebx + 0x140]
cmp eax, 0xffffffff
je 0x414c86
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [esp + 0x13e8]
push eax
push 0x2000
mov dword [ebx + 0x140], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
jne 0x414cb1
push str.CFileFinder::Find__
call fcn.0040f570
mov esi, dword [esp + 0x1c]
test esi, esi
jne 0x414cbd
xor ebx, ebx
jmp 0x414cd4
mov ecx, dword [esp + 0x20]
sub ecx, esi
mov eax, 0x66666667
imul ecx
sar edx, 7
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
test ebx, ebx
mov dword [esp + 0x14], 0
jle 0x414d7a
mov dword [esp + 0xc], esi
jmp 0x414cf0
mov esi, dword [esp + 0xc]
mov ecx, 0x50
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x13ec]
push edx
lea eax, [esp + 0x3f0]
push str._s_s
push eax
call fcn.0043c9ea
mov ecx, dword [ebp + 0xc]
mov esi, dword [esp + 0x20]
add esp, 0x10
push ecx
lea edx, [esp + 0x3ec]
push edx
mov ecx, esi
call fcn.00414b30
push 0x46310c
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x414ca7
mov eax, dword [esi]
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call dword [eax + 4]
test al, al
je 0x414da4
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
inc eax
add edx, 0x140
cmp eax, ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], edx
jl 0x414cf0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x414d8b
push eax
call fcn.0044ed07
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x33ec]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [esp + 0x18]
call fcn.00409e40
mov ecx, dword [esp + 0x33ec]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8