Function at 0x409e50
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x180
mov dword [ebp - 0x180], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x154], ecx
cmp dword [ebp - 0x154], 0
jne 0x409e7a
xor al, al
jmp 0x40a15d
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x409e90
xor al, al
jmp 0x40a15d
mov ecx, dword [ebp - 0x154]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
add edx, 0xa
mov dword [ebp - 0x160], edx
lea eax, [ebp - 0x168]
push eax
mov ecx, dword [ebp - 0x160]
push ecx
call fcn.0040a170
mov edx, dword [ebp - 0x154]
push edx
mov eax, dword [ebp - 0x168]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str..
mov ecx, dword [ebp - 0x168]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
add eax, 0xa
mov dword [ebp - 0x15c], eax
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 0x15c]
push edx
call fcn.0040a170
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x42c058
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x150]
push eax
mov ecx, dword [ebp - 0x168]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x16c], 0xffffffff
jne 0x409f76
lea edx, [ebp - 0x168]
push edx
call fcn.00409680
lea eax, [ebp - 4]
push eax
call fcn.00409680
xor al, al
jmp 0x40a15d
lea ecx, [ebp - 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x164], eax
push 0x42c054
lea edx, [ebp - 0x124]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x409fa4
jmp 0x40a11d
push 0x42c050
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x409fbf
jmp 0x40a11d
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x409fd7
mov edx, dword [ebp - 0x150]
and edx, 0x10
jne 0x409fd7
jmp 0x40a11d
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x164]
cmp eax, dword [ebp - 0x160]
jb 0x40a03d
mov ecx, dword [ebp - 0x164]
mov edx, dword [ebp - 8]
lea eax, [edx + ecx + 0x12]
and eax, 0xfffffff0
mov dword [ebp - 0x160], eax
lea ecx, [ebp - 0x170]
push ecx
mov edx, dword [ebp - 0x160]
push edx
call fcn.0040a170
mov eax, dword [ebp - 0x168]
push eax
mov ecx, dword [ebp - 0x170]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [ebp - 0x168]
push edx
call fcn.00409680
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x168], eax
lea ecx, [ebp - 0x124]
push ecx
mov edx, dword [ebp - 0x168]
add edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x158]
add eax, dword [ebp - 0x164]
cmp eax, dword [ebp - 0x15c]
jb 0x40a0b7
mov ecx, dword [ebp - 0x164]
mov edx, dword [ebp - 0x158]
lea eax, [edx + ecx + 0x12]
and eax, 0xfffffff0
mov dword [ebp - 0x15c], eax
lea ecx, [ebp - 0x174]
push ecx
mov edx, dword [ebp - 0x15c]
push edx
call fcn.0040a170
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x174]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [ebp - 4]
push edx
call fcn.00409680
mov eax, dword [ebp - 0x174]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x124]
push ecx
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x158]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x150]
and eax, 0x10
je 0x40a0f0
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x168]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40a0f0
jmp 0x40a11d
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x168]
push ecx
lea ecx, [ebp - 0x17c]
call fcn.00409870
push eax
mov ecx, dword [ebp - 0x180]
call fcn.00409c60
lea ecx, [ebp - 0x17c]
call fcn.004098c0
lea edx, [ebp - 0x150]
push edx
mov eax, dword [ebp - 0x16c]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x409f76
mov ecx, dword [ebp - 0x16c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea edx, [ebp - 0x168]
push edx
call fcn.00409680
lea eax, [ebp - 4]
push eax
call fcn.00409680
mov al, 1
mov esp, ebp
pop ebp
ret 8