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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a7f0
mov eax, dword fs:[0]
push eax
sub esp, 0x1f0
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 esi, edx
mov dword [ebp - 0x1d4], esi
mov edi, ecx
mov dword [ebp - 0x1d0], edi
mov dword [ebp - 4], 0
cmp edi, 1
jg 0x41777c
mov ecx, dword [ebp + 0x1c]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 2
jb 0x4177b4
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 - 0x1d0]
lea ecx, [ebp - 0x80]
call fcn.0040f790
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c0]
cmp dword [ebp - 0x68], 0x10
lea eax, [ebp - 0x7c]
push ecx
cmovae eax, dword [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x1d8], eax
cmp eax, 0xffffffff
je 0x41775f
nop
test byte [ebp - 0x1c0], 0x10
je 0x41752c
test edi, edi
jne 0x417735
xorps xmm0, xmm0
mov dword [ebp - 0x48], edi
lea ecx, [ebp - 0x194]
mov dword [ebp - 0x34], edi
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x417340
sub ecx, edx
lea eax, [ebp - 0x194]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.00408cd0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x30], 0x10
mov edx, dword [ebp - 0x44]
mov edi, dword [ebp - 0x34]
setae byte [ebp - 0x1c1]
cmovae ecx, edx
cmp edi, 1
jne 0x417391
movzx eax, byte [ecx]
cmp al, 0x2e
jne 0x417384
xor eax, eax
jmp 0x417389
sbb eax, eax
or eax, 1
test eax, eax
je 0x417511
cmp byte [ebp - 0x1c1], 0
lea ecx, [ebp - 0x44]
cmovne ecx, edx
cmp edi, 2
jne 0x4173c3
movzx eax, byte [ecx]
cmp al, 0x2e
jne 0x4173b6
movzx eax, byte [ecx + 1]
cmp al, 0x2e
jne 0x4173b6
xor eax, eax
jmp 0x4173bb
sbb eax, eax
or eax, 1
test eax, eax
je 0x417511
push ecx
mov edx, 0x49e958
lea ecx, [ebp - 0x48]
call fcn.00419650
add esp, 4
test al, al
je 0x417511
mov ecx, dword [ebp + 0x1c]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 1
jb 0x4177b4
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 - 0x1d0]
lea ecx, [ebp - 0x2c]
call fcn.0040f790
mov byte [ebp - 4], 3
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0x18]
sub esp, 0x1c
cmp dword [ebp - 0x30], 0x10
mov edi, esp
mov ecx, dword [ebp - 0x34]
cmovae edx, dword [ebp - 0x44]
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x1cc], edi
mov dword [ebp - 0x1cc], ecx
push ecx
push edx
cmp ecx, eax
ja 0x417484
mov esi, dword [ebp - 0x1c8]
cmp dword [ebp - 0x14], 0x10
lea eax, [ecx + esi]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
add esi, eax
push esi
call fcn.0042d8f0
mov eax, dword [ebp - 0x1cc]
add esp, 0xc
mov byte [eax + esi], 0
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x1d4]
jmp 0x41749a
mov byte [ebp - 0x1dc], 0
push dword [ebp - 0x1dc]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00409060
mov dword [ebp - 0x1c8], eax
mov byte [ebp - 4], 4
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
push dword [ebp - 0x1c8]
mov dword [edi], eax
mov dword [eax], edi
call fcn.00406a60
mov edx, esi
mov byte [ebp - 4], 3
mov ecx, 1
call fcn.00417260
add esp, 0x1c
lea ecx, [ebp - 0x2c]
call fcn.00406820
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x2c], 0
call fcn.0042b3d0
add esp, 8
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00406820
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x48], 0
jmp 0x41772a
cmp edi, 1
jne 0x417735
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x194]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
lea edx, [eax + 1]
nop word [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417560
sub eax, edx
lea ecx, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.00408cd0
push ecx
mov edx, 0x49e924
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00419650
add esp, 4
test al, al
je 0x417714
mov ecx, dword [ebp + 0x1c]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 1
jb 0x4177b4
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 - 0x1d0]
lea ecx, [ebp - 0x1fc]
call fcn.0040f790
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x1e4]
cmovae ecx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1e8]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x41762f
cmp dword [ebp - 0x1e4], 0x10
lea esi, [ebp - 0x1f8]
lea eax, [edx + edi]
cmovae esi, dword [ebp - 0x1f8]
add esi, edx
mov dword [ebp - 0x1e8], eax
push esi
call fcn.0042d8f0
mov byte [edi + esi], 0
add esp, 0xc
mov esi, dword [ebp - 0x1d4]
lea edi, [ebp - 0x1fc]
jmp 0x41764a
mov byte [ebp - 0x1e0], 0
lea ecx, [ebp - 0x1fc]
push dword [ebp - 0x1e0]
push edi
call fcn.00409060
mov edi, eax
mov byte [ebp - 4], 7
xorps xmm0, xmm0
push 8
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
call fcn.0042b3f0
add esp, 4
lea ecx, [ebp - 0x64]
mov dword [eax + 4], 0
mov dword [ebp - 0x64], eax
push edi
mov dword [eax], ecx
call fcn.00406a60
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 9
call fcn.00406820
mov eax, dword [ebp - 0x1fc]
push 8
push eax
mov dword [ebp - 0x1fc], 0
call fcn.0042b3d0
sub esp, 0x14
lea eax, [ebp - 0x64]
mov ecx, esp
push eax
call fcn.004058a0
call fcn.00424540
add esp, 0x1c
test al, al
je 0x4176f7
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x64]
push ecx
cmp eax, dword [esi + 0xc]
je 0x4176ef
mov ecx, eax
call fcn.004058a0
mov eax, dword [esi + 8]
mov ecx, esi
push eax
push eax
call fcn.0041ac10
add dword [esi + 8], 0x1c
jmp 0x4176f7
push eax
mov ecx, esi
call fcn.0041a5a0
lea ecx, [ebp - 0x64]
call fcn.00406820
mov eax, dword [ebp - 0x64]
push 8
push eax
mov dword [ebp - 0x64], 0
call fcn.0042b3d0
add esp, 8
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00406820
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push 8
push eax
call fcn.0042b3d0
add esp, 8
mov edi, dword [ebp - 0x1d8]
lea eax, [ebp - 0x1c0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x417758
mov edi, dword [ebp - 0x1d0]
jmp 0x417310
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x80]
call fcn.00406820
mov eax, dword [ebp - 0x80]
push 8
push eax
mov dword [ebp - 0x80], 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