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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4251ab
mov eax, dword fs:[0]
push eax
sub esp, 0x960
mov eax, dword [0x431074]
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 eax, dword [ebp + 8]
lea edx, [ebp - 0x810]
mov esi, dword [ebp + 0xc]
mov ecx, eax
mov dword [ebp - 0x96c], eax
sub edx, eax
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x412d14
lea ecx, [ebp - 0x810]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x412d28
mov eax, dword [str..]
mov dword [ecx], eax
mov al, byte [0x4286b0]
mov byte [ecx + 4], al
lea eax, [ebp - 0x968]
push eax
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x412d87
push 0x4286b4
call fcn.0040ccb0
add esp, 4
xor eax, eax
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.00421e64
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea eax, [ebp - 0x968]
push eax
push edi
call ebx
test eax, eax
je 0x412d69
nop dword [eax + eax]
mov ecx, 0x4286a4
lea eax, [ebp - 0x93c]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x412dd0
test dl, dl
je 0x412dcc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x412dd0
add eax, 2
add ecx, 2
test dl, dl
jne 0x412db0
xor eax, eax
jmp 0x412dd5
sbb eax, eax
or eax, 1
test eax, eax
je 0x412f03
mov eax, 0x4286a8
lea ecx, [ebp - 0x93c]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x412e08
test dl, dl
je 0x412e04
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x412e08
add ecx, 2
add eax, 2
test dl, dl
jne 0x412de8
xor eax, eax
jmp 0x412e0d
sbb eax, eax
or eax, 1
test eax, eax
je 0x412f03
lea eax, [ebp - 0x93c]
push eax
push dword [ebp - 0x96c]
lea eax, [ebp - 0x410]
push 0x42869c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x818], 0
add esp, 0x10
mov dword [ebp - 0x814], 0xf
mov byte [ebp - 0x828], 0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x412e60
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
lea ecx, [ebp - 0x828]
call fcn.00403030
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x828]
mov dword [ebp - 4], 0
push ecx
cmp dword [esi + 8], eax
je 0x412e9f
mov ecx, eax
call fcn.00402bd0
add dword [esi + 4], 0x18
jmp 0x412ea7
push eax
mov ecx, esi
call fcn.0040a9c0
inc dword [0x431718]
test byte [ebp - 0x968], 0x10
je 0x412ec6
lea eax, [ebp - 0x410]
push esi
push eax
call fcn.00412cd0
add esp, 8
mov edx, dword [ebp - 0x814]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x412f03
mov ecx, dword [ebp - 0x828]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412ef9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412f1a
push edx
push ecx
call fcn.00421e33
add esp, 8
lea eax, [ebp - 0x968]
push eax
push edi
call ebx
test eax, eax
jne 0x412da0
jmp 0x412d69
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3