Function at 0x41b8d0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x4e0
push edi
mov ecx, 0x24
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x4e8]
lea eax, [esp + 0x19c]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 4], eax
jne 0x41b90d
xor eax, eax
pop edi
add esp, 0x4e0
ret
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ebx
sub edi, ecx
push ebp
push esi
lea edx, [esp + 0x3ec]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x5c
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x3f0]
push ecx
call fcn.0042be62
add esp, 8
test eax, eax
je 0x41b94e
mov byte [eax + 1], 0
mov ebx, dword [esp + 0x4fc]
mov ebp, dword [sym.imp.KERNEL32.DLL_FindNextFileA]
lea edi, [esp + 0x3ec]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2e8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x2e8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x1d4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2ec]
push ecx
call fcn.0041b230
add esp, 8
test eax, eax
je 0x41bbab
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0xa4]
cmp ebx, 1
rep stosd dword es:[edi], eax
jne 0x41baf7
or ecx, 0xffffffff
lea edi, [esp + 0x54]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xa4]
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0xa4]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push 0x2e
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, 0x478c14
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0xa8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x1d8]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0xa8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x478c10
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x98]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0042be62
add esp, 8
test eax, eax
je 0x41babf
mov byte [eax], 0
lea edi, [esp + 0x94]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xa4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x41bb93
cmp ebx, 3
jne 0x41bb5b
lea edi, [esp + 0x1d4]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xa4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xa4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, ebx
rep movsb byte es:[edi], byte [esi]
mov edi, 0x478c0c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, ebx
rep movsb byte es:[edi], byte [esi]
jmp 0x41babf
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], eax
lea ecx, [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0x4fc]
mov edx, dword [ecx + 8]
push edx
call fcn.0044ccd3
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x1a8]
push eax
push ecx
call ebp
test eax, eax
jne 0x41b95b
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.DLL_FindClose]
pop esi
pop ebp
pop ebx
mov eax, 1
pop edi
add esp, 0x4e0
ret