Function at 0x41c400
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0xa54]
sub esp, 0xa54
push 0xffffffffffffffff
push 0x522ae0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5a4aa8]
xor eax, ebp
mov dword [ebp + 0xa50], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], ecx
mov esi, dword [ebp + 0xa5c]
mov dword [ebp - 0x30], esi
mov edi, dword [ebp + 0xa60]
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp + 0xa64]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x15], 1
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 4], 0
test esi, esi
je 0x41c6a8
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41c480
sub eax, edx
sar eax, 1
je 0x41c6a8
test edi, edi
je 0x41c6a8
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41c4a2
sub eax, edx
sar eax, 1
je 0x41c6a8
push 0x800
push 0
lea ecx, [ebp + 0x250]
push ecx
call fcn.004fd670
push esi
push str._s.
lea edx, [ebp + 0x250]
call fcn.00404380
add esp, 0x14
push 0x535a4c
lea ecx, [ebp - 0x14]
call fcn.00405c00
mov byte [ebp - 4], 1
push 0x535a4c
lea ecx, [ebp - 0x20]
call fcn.00405c00
mov byte [ebp - 4], 2
lea edx, [ebp]
push edx
lea eax, [ebp + 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x1c], eax
mov esi, dword [ebp + 0xa7c]
mov edi, dword [ebp + 0xa78]
mov ebx, dword [ebp + 0xa74]
cmp dword [ebp - 0x1c], 0xffffffff
je 0x41c650
lea eax, [ebp + 0x2c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41c536
sub eax, edx
sar eax, 1
cmp eax, 2
jne 0x41c55b
mov eax, 0x2e
cmp word [ebp + 0x2c], ax
jne 0x41c55b
cmp word [ebp + 0x2e], ax
je 0x41c57c
lea eax, [ebp + 0x2c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41c561
sub eax, edx
sar eax, 1
cmp eax, 1
jne 0x41c594
cmp word [ebp + 0x2c], 0x2e
jne 0x41c594
lea ecx, [ebp]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x41c650
jmp 0x41c526
push 0x535a4c
lea ecx, [ebp - 0x14]
call fcn.00405ec0
push 0x535a4c
lea ecx, [ebp - 0x20]
call fcn.00405ec0
lea eax, [ebp + 0x2c]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
push 0x535a74
lea edx, [ebp - 0x14]
push edx
call fcn.004081a0
lea eax, [ebp + 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push 0x535a74
lea edx, [ebp - 0x20]
push edx
call fcn.004081a0
add esp, 0x20
test byte [ebp], 0x10
je 0x41c615
mov eax, dword [ebp + 0xa68]
test eax, eax
je 0x41c63a
push esi
push edi
push ebx
mov ecx, dword [ebp + 0xa70]
push ecx
mov edx, dword [ebp + 0xa6c]
push edx
push eax
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x28]
call fcn.0041c400
jmp 0x41c63a
push esi
push edi
push ebx
mov eax, dword [ebp + 0xa70]
push eax
mov ecx, dword [ebp + 0xa6c]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0041c6d0
lea edx, [ebp]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41c526
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00406150
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00406150
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
cmp eax, 0xffffffff
je 0x41c67e
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, byte [ebp - 0x15]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa50]
xor ecx, ebp
call fcn.004fa103
add ebp, 0xa54
mov esp, ebp
pop ebp
ret 0x24
xor al, al
jmp 0x41c681