Function at 0x401c60
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d2a0
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x44f744]
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 esi, ecx
push ecx
lea ecx, [ebp - 0x40]
call fcn.00408d30
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x180]
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
mov dword [ebp - 0x184], ebx
cmp ebx, 0xffffffff
je 0x401e59
lea ecx, [ecx]
cmp byte [ebp - 0x154], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jne 0x401cef
xor eax, eax
jmp 0x401d01
lea eax, [ebp - 0x154]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401cf8
sub eax, edx
push eax
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040d670
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
mov edi, dword [esi + 4]
cmp eax, edi
jae 0x401db8
mov eax, dword [esi]
lea ecx, [ebp - 0x28]
cmp eax, ecx
ja 0x401db8
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
cmp edi, dword [esi + 8]
jne 0x401d50
push ecx
mov ecx, esi
call fcn.004069c0
mov eax, dword [esi]
lea ecx, [ebx + ebx*2]
mov ebx, dword [esi + 4]
lea edi, [eax + ecx*8]
test ebx, ebx
je 0x401db0
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
cmp dword [edi + 0x14], 0x10
jae 0x401d89
mov eax, dword [edi + 0x10]
inc eax
je 0x401d93
push eax
push edi
push ebx
call fcn.0040f900
add esp, 0xc
jmp 0x401d93
mov eax, dword [edi]
mov dword [ebx], eax
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [ebx + 0x14], eax
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
mov ebx, dword [ebp - 0x184]
jmp 0x401e23
cmp edi, dword [esi + 8]
jne 0x401dc5
push ecx
mov ecx, esi
call fcn.004069c0
mov edi, dword [esi + 4]
test edi, edi
je 0x401e23
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp dword [ebp - 0x14], 0x10
jae 0x401df9
mov eax, dword [ebp - 0x18]
inc eax
je 0x401e05
push eax
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.0040f900
add esp, 0xc
jmp 0x401e05
mov eax, dword [ebp - 0x28]
mov dword [edi], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x14], eax
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
add dword [esi + 4], 0x18
mov byte [ebp - 4], 0
cmp dword [ebp - 0x14], 0x10
jb 0x401e3c
push dword [ebp - 0x28]
call fcn.0040f65a
add esp, 4
lea eax, [ebp - 0x180]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x401cd0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x2c], 0x10
jb 0x401e6a
push dword [ebp - 0x40]
call fcn.0040f65a
add esp, 4
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.0040f64b
mov esp, ebp
pop ebp
ret