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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56ea72
mov eax, dword fs:[0]
push eax
sub esp, 0x4d0
mov eax, dword [0x5b8250]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push dword [ebp + 0x10]
mov edx, dword [ebp + 8]
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x234]
call fcn.0041a7a0
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [ebp - 0x224], 0
je 0x41b0d6
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b0d6
xor edi, edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x4d8], edi
mov dword [ebp - 0x4d4], edi
mov dword [ebp - 0x4d0], edi
call fcn.0041df10
mov dword [ebp - 0x4d4], eax
xor eax, eax
mov byte [ebp - 4], 2
push 0xffffffffffffffff
push eax
mov word [ebp - 0x264], ax
lea ecx, [ebp - 0x264]
lea eax, [ebp - 0x234]
mov dword [ebp - 0x250], 7
push eax
mov dword [ebp - 0x254], edi
call fcn.0041feb0
push 4
push 0x593858
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 3
call fcn.0041c1c0
push 0x24c
lea eax, [ebp - 0x4c8]
mov dword [ebp - 0x4cc], edi
push edi
push eax
call fcn.005392b0
add esp, 0xc
lea ecx, [ebp - 0x4cc]
cmp dword [ebp - 0x250], 8
lea eax, [ebp - 0x264]
cmovae eax, dword [ebp - 0x264]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41aec0
test byte [ebp - 0x4cc], 0x10
jne 0x41aea3
lea eax, [ebp - 0x4a0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov esi, eax
test esi, esi
je 0x41aea3
push str..dll
push esi
call fcn.00539e62
add esp, 8
test eax, eax
jne 0x41adfe
lea esi, [eax + 1]
jmp 0x41ae17
push str..exe
push esi
call fcn.00539e62
add esp, 8
test eax, eax
jne 0x41aea3
lea esi, [eax + 2]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.005392b0
add esp, 0xc
lea ecx, [ebp - 0x4a0]
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push ecx
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x24c]
call fcn.00420660
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x4d4]
call fcn.0041bfe0
mov byte [ebp - 4], 3
mov dword [eax], esi
cmp dword [ebp - 0x238], 8
jb 0x41aea3
push dword [ebp - 0x24c]
call fcn.005385cc
add esp, 4
lea eax, [ebp - 0x4cc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41adc3
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x4d4]
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esi]
mov dword [ebp - 0x4dc], eax
cmp eax, esi
je 0x41b029
mov ecx, dword [eax + 0x28]
cmp ecx, 1
jne 0x41af29
cmp dword [eax + 0x24], 8
lea esi, [eax + 0x10]
jb 0x41aeef
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b002
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41b002
push str.DllRegisterServer
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41af21
call eax
push esi
call ebx
jmp 0x41b002
cmp ecx, 2
jne 0x41b013
cmp dword [eax + 0x24], 8
lea esi, [eax + 0x10]
jb 0x41af3f
mov ecx, dword [esi]
jmp 0x41af41
mov ecx, esi
call fcn.004157b0
test eax, eax
jne 0x41b002
lea ecx, [ebp - 0x27c]
call fcn.0041a590
push str.__cid
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 5
call fcn.00420660
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x24c]
call fcn.0041c8f0
cmp dword [ebp - 0x238], 8
lea edx, [ebp - 0x24c]
cmovae edx, dword [ebp - 0x24c]
cmp dword [esi + 0x14], 8
jb 0x41afa3
mov esi, dword [esi]
push ecx
push 0x7530
mov ecx, esi
call fcn.00412d20
add esp, 8
cmp dword [ebp - 0x238], 8
jb 0x41afca
push dword [ebp - 0x24c]
call fcn.005385cc
add esp, 4
xor eax, eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x268], 8
mov dword [ebp - 0x238], 7
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
jb 0x41b002
push dword [ebp - 0x27c]
call fcn.005385cc
add esp, 4
mov esi, dword [ebp - 0x4d4]
mov edi, 1
mov dword [ebp - 0x4d8], edi
lea ecx, [ebp - 0x4dc]
call fcn.0041dc30
mov eax, dword [ebp - 0x4dc]
jmp 0x41aed4
cmp dword [ebp - 0x250], 8
jb 0x41b046
push dword [ebp - 0x264]
call fcn.005385cc
mov esi, dword [ebp - 0x4d4]
add esp, 4
xor eax, eax
mov dword [ebp - 0x250], 7
push esi
mov word [ebp - 0x264], ax
lea ecx, [ebp - 0x4d4]
mov dword [ebp - 0x254], 0
lea eax, [ebp - 0x4d8]
push dword [esi]
push eax
call fcn.0041ce90
push dword [ebp - 0x4d4]
call fcn.005385cc
add esp, 4
mov dword [ebp - 4], 0
jmp 0x41b0a2
cmp dword [ebp - 0x220], 8
lea ecx, [ebp - 0x234]
cmovae ecx, dword [ebp - 0x234]
call fcn.00411e90
cmp dword [ebp - 0x220], 8
jb 0x41b0d2
push dword [ebp - 0x234]
call fcn.005385cc
add esp, 4
mov eax, edi
jmp 0x41b0ef
cmp dword [ebp - 0x220], 8
jb 0x41b0ed
push dword [ebp - 0x234]
call fcn.005385cc
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0053aa3c
mov esp, ebp
pop ebp
ret