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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a740
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x49c068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c0], edx
mov dword [ebp - 0x1b8], ecx
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x4c]
call fcn.004058a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x34], 0x10
mov eax, dword [ebp - 0x38]
mov edx, eax
cmovae ecx, dword [ebp - 0x48]
push 1
push 0x493b28
push ecx
mov dword [ebp - 0x14], eax
call fcn.004168c0
lea ecx, [ebp - 0x48]
lea edx, [eax + 1]
mov eax, dword [ebp - 0x14]
cmp eax, edx
cmovb edx, eax
cmp dword [ebp - 0x34], 0x10
cmovae ecx, dword [ebp - 0x48]
sub eax, edx
mov dword [ebp - 0x14], eax
inc eax
push eax
lea eax, [ecx + edx]
push eax
push ecx
call fcn.0042d8f0
mov eax, dword [ebp - 0x14]
add esp, 0x18
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x38], eax
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 2
jb 0x4170c0
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
push 2
cmovae eax, dword [ebp + 0xc]
push 0x49416c
push ecx
push eax
push ecx
push dword [ebp - 0x1b0]
lea ecx, [ebp - 0x68]
call fcn.0040f790
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1a8]
cmp dword [ebp - 0x50], 0x10
lea eax, [ebp - 0x64]
push ecx
cmovae eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
mov dword [ebp - 0x1b0], edi
cmp edi, 0xffffffff
je 0x41704e
nop dword [eax]
nop dword [eax + eax]
test byte [ebp - 0x1a8], 0x10
je 0x417031
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x17c]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416e12
sub eax, edx
lea ecx, [ebp - 0x30]
push eax
lea eax, [ebp - 0x17c]
push eax
call fcn.00408cd0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
mov edx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
setae byte [ebp - 0x1a9]
cmovae ecx, edx
cmp esi, 1
jne 0x416e63
movzx eax, byte [ecx]
cmp al, 0x2e
jne 0x416e56
xor eax, eax
jmp 0x416e5b
sbb eax, eax
or eax, 1
test eax, eax
je 0x417010
cmp byte [ebp - 0x1a9], 0
lea ecx, [ebp - 0x2c]
cmovne ecx, edx
cmp esi, 2
jne 0x416e95
movzx eax, byte [ecx]
cmp al, 0x2e
jne 0x416e88
movzx eax, byte [ecx + 1]
cmp al, 0x2e
jne 0x416e88
xor eax, eax
jmp 0x416e8d
sbb eax, eax
or eax, 1
test eax, eax
je 0x417010
mov ecx, dword [ebp - 0x1b8]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x1ec]
push eax
call fcn.00408650
push 3
lea ecx, [ebp - 0x14]
call fcn.004283d0
lea ecx, [ebp - 0x1ec]
call fcn.004018b0
lea ecx, [ebp - 0x14]
call fcn.00428480
mov ecx, dword [ebp + 0x1c]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 1
jb 0x4170c0
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
push 1
cmovae eax, dword [ebp + 0xc]
push 0x493b28
push ecx
push eax
push ecx
push dword [ebp - 0x1b0]
lea ecx, [ebp - 0x1dc]
call fcn.0040f790
mov byte [ebp - 4], 4
lea edx, [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
sub esp, 0x1c
cmp dword [ebp - 0x18], 0x10
mov edi, esp
mov eax, dword [ebp - 0x1c4]
cmovae edx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x1c8]
sub eax, esi
mov dword [ebp - 0x1b4], edi
mov dword [ebp - 0x1b4], ecx
push ecx
push edx
cmp ecx, eax
ja 0x416f72
cmp dword [ebp - 0x1c4], 0x10
lea eax, [ecx + esi]
mov dword [ebp - 0x1c8], eax
lea eax, [ebp - 0x1d8]
cmovae eax, dword [ebp - 0x1d8]
add esi, eax
push esi
call fcn.0042d8f0
mov eax, dword [ebp - 0x1b4]
add esp, 0xc
mov byte [esi + eax], 0
lea esi, [ebp - 0x1dc]
jmp 0x416f8d
mov byte [ebp - 0x1bc], 0
push dword [ebp - 0x1bc]
push ecx
lea ecx, [ebp - 0x1dc]
call fcn.00409060
mov esi, eax
mov byte [ebp - 4], 5
xorps xmm0, xmm0
mov dword [edi], 0
movups xmmword [edi + 4], xmm0
push 8
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
call fcn.0042b3f0
add esp, 4
mov ecx, edi
mov dword [eax + 4], 0
mov dword [edi], eax
push esi
mov dword [eax], edi
call fcn.00406a60
mov edx, dword [ebp - 0x1c0]
mov ecx, dword [ebp - 0x1b8]
mov byte [ebp - 4], 4
lea edx, [edx + 1]
call fcn.00416cd0
add esp, 0x1c
lea ecx, [ebp - 0x1dc]
call fcn.00406820
mov eax, dword [ebp - 0x1dc]
push 8
push eax
mov dword [ebp - 0x1dc], 0
call fcn.0042b3d0
mov edi, dword [ebp - 0x1b0]
add esp, 8
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00406820
mov eax, dword [ebp - 0x30]
push 8
push eax
mov dword [ebp - 0x30], 0
call fcn.0042b3d0
add esp, 8
lea eax, [ebp - 0x1a8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x416de0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x68]
call fcn.00406820
mov eax, dword [ebp - 0x68]
push 8
push eax
mov dword [ebp - 0x68], 0
call fcn.0042b3d0
add esp, 8
lea ecx, [ebp - 0x4c]
call fcn.00406820
mov eax, dword [ebp - 0x4c]
push 8
push eax
mov dword [ebp - 0x4c], 0
call fcn.0042b3d0
add esp, 8
lea ecx, [ebp + 8]
call fcn.00406820
mov eax, dword [ebp + 8]
push 8
push eax
mov dword [ebp + 8], 0
call fcn.0042b3d0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042b3c0
mov esp, ebp
pop ebp
ret
call fcn.00401930
int3