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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44dd2c
mov eax, dword fs:[0]
push eax
sub esp, 0x4b0
mov eax, dword [0x48d06c]
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 ebx, edx
mov dword [ebp - 0x4b8], ebx
mov esi, ecx
test esi, esi
je 0x41b3b7
test ebx, ebx
je 0x41b3b7
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.00424870
push 0x104
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.00438b2e
add esp, 0x18
test eax, eax
je 0x41b3b7
xor eax, eax
mov dword [ebp - 0x23c], 0
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b0f0
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x24c]
call fcn.00407590
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24c]
cmp dword [ebp - 0x238], 8
cmovae eax, dword [ebp - 0x24c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41b13f
xor edi, edi
jmp 0x41b377
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.0040f810
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 1
call fcn.004195b0
push 0x486e8c
lea ecx, [ebp - 0x234]
call fcn.004198a0
cmp dword [ebp - 0x220], 8
lea ecx, [ebp - 0x4b4]
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x4bc], esi
mov byte [ebp - 4], 2
cmp esi, 0xffffffff
jne 0x41b1b0
xor edi, edi
jmp 0x41b31a
mov ecx, 0x486ca8
lea eax, [ebp - 0x488]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41b1e6
test dx, dx
je 0x41b1e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41b1e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x41b1c0
xor eax, eax
jmp 0x41b1eb
sbb eax, eax
or eax, 1
test eax, eax
je 0x41b2fa
mov eax, 0x486ca0
lea ecx, [ebp - 0x488]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x41b226
test dx, dx
je 0x41b222
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x41b226
add ecx, 4
add eax, 4
test dx, dx
jne 0x41b200
xor eax, eax
jmp 0x41b22b
sbb eax, eax
or eax, 1
test eax, eax
je 0x41b2fa
test byte [ebp - 0x4b4], 0x10
jne 0x41b2fa
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x264]
call fcn.0040e900
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 4
call fcn.004195b0
lea eax, [ebp - 0x488]
push eax
lea ecx, [ebp - 0x264]
call fcn.004198a0
mov edi, dword [ebx]
lea eax, [ebp - 0x264]
push eax
mov ebx, dword [edi + 4]
push ebx
push edi
call fcn.00418550
mov ecx, dword [ebp - 0x4b8]
mov edx, dword [ecx + 4]
mov ecx, 0x7fffffe
sub ecx, edx
cmp ecx, 1
jb 0x41b3da
lea ecx, [edx + 1]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x4b8]
mov dword [edx + 4], ecx
mov dword [edi + 4], eax
mov dword [ebx], eax
mov edx, dword [ebp - 0x250]
cmp edx, 8
jb 0x41b2f4
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b2ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b3d5
push edx
push ecx
call fcn.0042297a
add esp, 8
mov ebx, dword [ebp - 0x4b8]
lea eax, [ebp - 0x4b4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41b1b0
push esi
lea edi, [eax + 1]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x41b35a
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b350
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b3d5
push edx
push ecx
call fcn.0042297a
add esp, 8
xor eax, eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
mov edx, dword [ebp - 0x238]
cmp edx, 8
jb 0x41b3b3
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b3a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b3e4
push edx
push ecx
call fcn.0042297a
add esp, 8
mov eax, edi
jmp 0x41b3b9
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 - 0x10]
xor ecx, ebp
call fcn.00422308
mov esp, ebp
pop ebp
ret
call fcn.004309e5
push 0x4853b0
call fcn.00421671
call fcn.004309e5
int3