Function at 0x411120
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48db30
mov eax, dword fs:[0]
push eax
sub esp, 0x380
mov eax, dword [0x4b8914]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x384], eax
mov dword [ebp - 0x37c], ebx
push 0x103
lea ecx, [ebp - 0x217]
push ebx
push ecx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x218], bl
call fcn.00473a10
mov esi, 0x10
add esp, 0xc
cmp dword [edi + 0x14], esi
jb 0x41118e
mov eax, dword [edi]
jmp 0x411190
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4111a0
test al, 0x10
jne 0x4111b8
cmp dword [ebp + 0x24], esi
jb 0x4111b1
mov edx, dword [ebp + 0x10]
push edx
call fcn.00471f65
add esp, 4
xor al, al
jmp 0x411410
cmp dword [edi + 0x14], esi
jb 0x4111c1
mov eax, dword [edi]
jmp 0x4111c3
mov eax, edi
push eax
lea eax, [ebp - 0x218]
push str._s.
push eax
call fcn.0040f480
add esp, 0xc
lea ecx, [ebp - 0x374]
push ecx
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x380], eax
cmp eax, 0xffffffff
je 0x4113fd
mov esi, 0xf
lea eax, [ebp - 0x348]
push 0x494abc
push eax
call fcn.0047f12a
add esp, 8
test eax, eax
je 0x4113cd
lea ecx, [ebp - 0x348]
push 0x494ab8
push ecx
call fcn.0047f12a
add esp, 8
test eax, eax
je 0x4113cd
test byte [ebp - 0x374], 0x10
jne 0x4113cd
push 0x103
lea edx, [ebp - 0x113]
push ebx
push edx
mov byte [ebp - 0x114], bl
call fcn.00473a10
add esp, 0xc
lea eax, [ebp - 0x348]
push eax
mov ecx, edi
call fcn.00402d3d
push eax
lea ecx, [ebp - 0x114]
push 0x494ab0
push ecx
call fcn.0040f480
add esp, 0x10
cmp dword [ebp + 0x20], ebx
je 0x411326
lea eax, [ebp - 0x114]
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], ebx
mov byte [ebp - 0x234], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4112a7
sub eax, edx
push eax
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x234]
call fcn.004010b2
or dword [ebp - 0x37c], 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x388], esp
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0x10]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push eax
mov byte [ebp - 4], 1
mov byte [ecx], bl
call fcn.00401127
sub esp, 0x1c
mov ecx, esp
lea edx, [ebp - 0x234]
mov dword [ebp - 0x38c], esp
push edx
push ecx
mov dword [ebp - 4], 2
call fcn.0040fe50
add esp, 8
mov byte [ebp - 4], 1
call fcn.00411d40
add esp, 0x38
mov byte [ebp - 0x375], 1
cmp al, bl
je 0x41132c
mov byte [ebp - 0x375], bl
test byte [ebp - 0x37c], 1
mov dword [ebp - 4], ebx
je 0x411357
and dword [ebp - 0x37c], 0xfffffffe
cmp dword [ebp - 0x220], 0x10
jb 0x411357
mov eax, dword [ebp - 0x234]
push eax
call fcn.00471f65
add esp, 4
cmp byte [ebp - 0x375], bl
jne 0x4113cd
lea eax, [ebp - 0x114]
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], ebx
mov byte [ebp - 0x234], bl
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x411380
sub eax, edx
push eax
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x234]
call fcn.004010b2
mov ecx, dword [ebp - 0x384]
lea edx, [ebp - 0x234]
push edx
mov byte [ebp - 4], 3
call fcn.00406dd6
cmp dword [ebp - 0x220], 0x10
mov byte [ebp - 4], bl
jb 0x4113cd
mov eax, dword [ebp - 0x234]
push eax
call fcn.00471f65
add esp, 4
mov edx, dword [ebp - 0x380]
lea ecx, [ebp - 0x374]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x411200
mov eax, dword [ebp - 0x380]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov bl, 1
mov esi, 0x10
cmp dword [ebp + 0x24], esi
jb 0x41140e
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00471f65
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00471528
mov esp, ebp
pop ebp
ret