Function at 0x408150
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5742c1
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x5e10a4]
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, edx
mov ebx, ecx
mov dword [ebp - 0x2a4], ebx
mov dword [ebp - 0x2a8], ebx
push 0
push 0x5d76ab
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x134], 0xf
mov dword [ebp - 0x138], 0
mov byte [ebp - 0x148], 0
call fcn.00408b80
push 0x104
lea eax, [ebp - 0x118]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0043fcd0
push esi
lea eax, [ebp - 0x118]
push 0x104
push eax
call fcn.0044cdfb
push str..
lea eax, [ebp - 0x118]
push 0x104
push eax
call fcn.0044d51c
add esp, 0x24
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x408245
lea eax, [ebp - 0x148]
mov ecx, ebx
push eax
call fcn.00408840
lea ecx, [ebp - 0x148]
call fcn.00408720
mov eax, ebx
jmp 0x40844e
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
nop dword [eax + eax]
test byte [ebp - 0x2a0], 0x10
jne 0x408412
cmp byte [ebp - 0x274], 0
mov dword [ebp - 0x14c], 0xf
mov dword [ebp - 0x150], 0
mov byte [ebp - 0x160], 0
jne 0x408285
xor eax, eax
jmp 0x408299
lea eax, [ebp - 0x274]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408290
sub eax, edx
push eax
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x160]
call fcn.00408b80
mov byte [ebp - 4], 1
cmp byte [esi], 0
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], 0
mov byte [ebp - 0x130], 0
jne 0x4082d4
xor ecx, ecx
jmp 0x4082e9
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4082e0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x130]
call fcn.00408b80
push 1
push 0x5d7a38
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 2
call fcn.00408db0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x130]
call fcn.00408ee0
cmp dword [ebp - 0x11c], 0x10
lea ecx, [ebp - 0x130]
cmovae ecx, dword [ebp - 0x130]
call fcn.00408080
test al, al
je 0x408367
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x148]
call fcn.00408ee0
push 1
push 0x5d7a3c
lea ecx, [ebp - 0x148]
call fcn.00408db0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x11c]
cmp eax, 0x10
jb 0x4083b7
mov ecx, dword [ebp - 0x130]
inc eax
cmp eax, 0x1000
jb 0x4083ae
test cl, 0x1f
jne 0x40846a
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x40846a
sub ecx, eax
cmp ecx, 4
jb 0x40846a
cmp ecx, 0x23
ja 0x40846a
mov ecx, eax
push ecx
call fcn.0042711d
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], 0
mov byte [ebp - 0x130], 0
cmp eax, 0x10
jb 0x408412
mov ecx, dword [ebp - 0x160]
inc eax
cmp eax, 0x1000
jb 0x408409
test cl, 0x1f
jne 0x40846a
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x40846a
sub ecx, eax
cmp ecx, 4
jb 0x40846a
cmp ecx, 0x23
ja 0x40846a
mov ecx, eax
push ecx
call fcn.0042711d
add esp, 4
lea eax, [ebp - 0x2a0]
push eax
push edi
call ebx
test eax, eax
jne 0x408250
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x2a4]
lea eax, [ebp - 0x148]
push eax
call fcn.00408840
lea ecx, [ebp - 0x148]
call fcn.00408720
mov eax, dword [ebp - 0x2a4]
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.004273c3
mov esp, ebp
pop ebp
ret
call fcn.00442951
int3