Function at 0x41e6d0
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d68de
push eax
mov dword fs:[0], esp
sub esp, 0x454
push ebx
mov ebx, dword [esp + 0x468]
push ebp
push esi
push edi
push 0
mov ebp, ecx
push ebx
call fcn.004c818e
add esp, 8
test eax, eax
je 0x41e70e
xor eax, eax
jmp 0x41e9c5
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x41e73e
mov eax, dword [ebp + 8]
xor esi, esi
test eax, eax
jle 0x41e73e
cmp esi, eax
jge 0x41e736
test esi, esi
jl 0x41e736
mov eax, dword [ebp + 4]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x41e736
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [ebp + 8]
inc esi
cmp esi, eax
jl 0x41e722
mov eax, dword [ebp + 4]
push eax
call fcn.004c7e56
push 0x80
call fcn.004c7e90
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x484]
add esp, 8
mov dword [ebp + 8], 0
test eax, eax
mov dword [ebp + 0xc], 0x1f
mov dword [ebp + 0x14], pe_nt_image_headers32
jne 0x41e782
mov eax, dword [esp + 0x478]
test eax, eax
jne 0x41e787
mov eax, 0x4ee81c
push eax
lea eax, [esp + 0x364]
push ebx
push eax
call fcn.00442e30
add esp, 0xc
lea ecx, [esp + 0x18]
lea edx, [esp + 0x360]
push ecx
push edx
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x14], edi
jne 0x41e7c5
xor eax, eax
jmp 0x41e9c5
mov ebx, dword [esp + 0x474]
test byte [esp + 0x18], 0x10
je 0x41e806
mov esi, 0x4ee814
lea eax, [esp + 0x44]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x41e7f9
test cl, cl
je 0x41e7f5
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x41e7f9
add eax, 2
add esi, 2
test cl, cl
jne 0x41e7d5
xor eax, eax
jmp 0x41e7fe
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41e8cc
push 0x70
call fcn.004c7e90
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x46c], 0
je 0x41e834
lea ecx, [esp + 0x18]
push ecx
push ebx
mov ecx, eax
call fcn.0041d2b0
mov ebx, eax
jmp 0x41e836
xor ebx, ebx
mov ecx, dword [ebp + 0x1c]
push ebx
mov dword [esp + 0x470], 0xffffffff
call fcn.0041e0f0
push eax
call fcn.00442c90
add esp, 4
mov dword [ebx + 0x18], eax
test ebx, ebx
je 0x41e8cc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [eax + 1]
cmp ecx, edx
jne 0x41e8bc
mov ecx, dword [ebp + 0x14]
add ecx, eax
lea edx, [ecx*4 + 4]
push edx
call fcn.004c7e90
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 4]
mov edi, eax
mov dword [esp + 0x14], eax
lea ecx, [ecx*4 + 4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
push eax
call fcn.004c7e56
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
add esp, 8
add eax, edx
mov dword [ebp + 4], ecx
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
mov dword [ecx + eax*4], ebx
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
lea edx, [esp + 0x18]
push edx
push edi
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x41e7be
push edi
call dword [sym.imp.kernel32.dll_FindClose]
mov eax, dword [esp + 0x47c]
test eax, eax
je 0x41e9c0
mov edi, dword [esp + 0x478]
test edi, edi
je 0x41e9c0
cmp byte [edi], 0
je 0x41e9c0
mov esi, 0x4ee818
mov eax, edi
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x41e93d
test cl, cl
je 0x41e939
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x41e93d
add eax, 2
add esi, 2
test cl, cl
jne 0x41e915
xor eax, eax
jmp 0x41e942
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41e9c0
mov ebx, dword [sym.imp.kernel32.dll_lstrcpy]
lea eax, [esp + 0x158]
push edi
push eax
call ebx
lea ecx, [esp + 0x158]
push ecx
call fcn.004d5806
mov eax, dword [ebp + 8]
add esp, 4
xor esi, esi
test eax, eax
jle 0x41e9c0
cmp esi, eax
jge 0x41e980
test esi, esi
jl 0x41e980
mov edx, dword [ebp + 4]
mov edi, dword [edx + esi*4]
jmp 0x41e982
xor edi, edi
mov eax, dword [edi + 0x68]
lea ecx, [esp + 0x25c]
push eax
push ecx
call ebx
lea edx, [esp + 0x25c]
push edx
call fcn.004d5806
lea eax, [esp + 0x15c]
lea ecx, [esp + 0x260]
push eax
push ecx
call fcn.00444f30
add esp, 0xc
mov dword [edi + 0x4c], eax
mov eax, dword [ebp + 8]
inc esi
cmp esi, eax
jl 0x41e974
mov eax, 1
mov ecx, dword [esp + 0x464]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x460
ret 0xc