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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571f32
mov eax, dword fs:[0]
push eax
sub esp, 0x4d0
mov eax, dword [0x5bb250]
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.0041a680
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [ebp - 0x224], 0
je 0x41afb6
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 0x41afb6
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.0041de00
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.0041fda0
push 4
push 0x596630
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 3
call fcn.0041c0b0
push 0x24c
lea eax, [ebp - 0x4c8]
mov dword [ebp - 0x4cc], edi
push edi
push eax
call fcn.0053ca90
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 0x41ada0
test byte [ebp - 0x4cc], 0x10
jne 0x41ad83
lea eax, [ebp - 0x4a0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov esi, eax
test esi, esi
je 0x41ad83
push str..dll
push esi
call fcn.0053d642
add esp, 8
test eax, eax
jne 0x41acde
lea esi, [eax + 1]
jmp 0x41acf7
push str..exe
push esi
call fcn.0053d642
add esp, 8
test eax, eax
jne 0x41ad83
lea esi, [eax + 2]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.0053ca90
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.00420550
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x4d4]
call fcn.0041bed0
mov byte [ebp - 4], 3
mov dword [eax], esi
cmp dword [ebp - 0x238], 8
jb 0x41ad83
push dword [ebp - 0x24c]
call fcn.0053ba8c
add esp, 4
lea eax, [ebp - 0x4cc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41aca3
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 0x41af09
mov ecx, dword [eax + 0x28]
cmp ecx, 1
jne 0x41ae09
cmp dword [eax + 0x24], 8
lea esi, [eax + 0x10]
jb 0x41adcf
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41aee2
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41aee2
push str.DllRegisterServer
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41ae01
call eax
push esi
call ebx
jmp 0x41aee2
cmp ecx, 2
jne 0x41aef3
cmp dword [eax + 0x24], 8
lea esi, [eax + 0x10]
jb 0x41ae1f
mov ecx, dword [esi]
jmp 0x41ae21
mov ecx, esi
call fcn.004157b0
test eax, eax
jne 0x41aee2
lea ecx, [ebp - 0x27c]
call fcn.0041a470
push str.__cid
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 5
call fcn.00420550
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x24c]
call fcn.0041c7e0
cmp dword [ebp - 0x238], 8
lea edx, [ebp - 0x24c]
cmovae edx, dword [ebp - 0x24c]
cmp dword [esi + 0x14], 8
jb 0x41ae83
mov esi, dword [esi]
push ecx
push 0x7530
mov ecx, esi
call fcn.00412d20
add esp, 8
cmp dword [ebp - 0x238], 8
jb 0x41aeaa
push dword [ebp - 0x24c]
call fcn.0053ba8c
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 0x41aee2
push dword [ebp - 0x27c]
call fcn.0053ba8c
add esp, 4
mov esi, dword [ebp - 0x4d4]
mov edi, 1
mov dword [ebp - 0x4d8], edi
lea ecx, [ebp - 0x4dc]
call fcn.0041db20
mov eax, dword [ebp - 0x4dc]
jmp 0x41adb4
cmp dword [ebp - 0x250], 8
jb 0x41af26
push dword [ebp - 0x264]
call fcn.0053ba8c
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.0041cd80
push dword [ebp - 0x4d4]
call fcn.0053ba8c
add esp, 4
mov dword [ebp - 4], 0
jmp 0x41af82
cmp dword [ebp - 0x220], 8
lea ecx, [ebp - 0x234]
cmovae ecx, dword [ebp - 0x234]
call fcn.00411e90
cmp dword [ebp - 0x220], 8
jb 0x41afb2
push dword [ebp - 0x234]
call fcn.0053ba8c
add esp, 4
mov eax, edi
jmp 0x41afcf
cmp dword [ebp - 0x220], 8
jb 0x41afcd
push dword [ebp - 0x234]
call fcn.0053ba8c
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.0053e21c
mov esp, ebp
pop ebp
ret