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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cbf38
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x667ce0]
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 esi, ecx
cmp dword [ebp + 0x18], 0
mov dword [ebp - 4], 0
jne 0x415754
xor esi, esi
jmp 0x4159a3
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x58]
call fcn.00403d20
push 3
push 0x5d66d4
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00405a30
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x2a8]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x415955
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [eax]
lea eax, [ebp - 0x2a8]
push eax
push edi
call ebx
test eax, eax
je 0x415955
cmp word [ebp - 0x27c], 0x2e
je 0x4157a0
mov ax, word [ebp - 0x27a]
test ax, ax
je 0x4157a0
cmp ax, 0x2e
jne 0x4157d8
cmp word [ebp - 0x278], 0
je 0x4157a0
xor eax, eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x27c]
mov dword [ebp - 0x2c], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4157f5
sub eax, edx
lea ecx, [ebp - 0x40]
sar eax, 1
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.00403240
test byte [ebp - 0x2a8], 0x10
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
push eax
je 0x4158ac
call fcn.00403d20
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 4], 3
call fcn.00405a30
push 1
push 0x5d4964
lea ecx, [ebp - 0x28]
call fcn.00405a30
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, dword [esi]
cmovae eax, dword [ebp - 0x28]
push 0x10000000
push str.Everyone
push eax
call fcn.00415120
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, dword [esi]
cmovae eax, dword [ebp - 0x28]
push 0x10000000
push str.ALL_APPLICATION_PACKAGES
push eax
call fcn.00415120
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00403d20
mov ecx, esi
call fcn.00415710
jmp 0x415906
call fcn.00403d20
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 4], 4
call fcn.00405a30
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, dword [esi]
cmovae eax, dword [ebp - 0x28]
push 0x10000000
push str.Everyone
push eax
call fcn.00415120
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, dword [esi]
cmovae eax, dword [ebp - 0x28]
push 0x10000000
push str.ALL_APPLICATION_PACKAGES
push eax
call fcn.00415120
lea ecx, [ebp - 0x28]
call fcn.00402fe0
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x4157a0
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415946
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4159f9
push edx
push ecx
call fcn.0059c9cd
add esp, 8
jmp 0x4157a0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
mov ecx, dword [esi]
cmovae eax, dword [ebp + 8]
push 0x10000000
push str.Everyone
push eax
call fcn.00415120
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
mov ecx, dword [esi]
cmovae eax, dword [ebp + 8]
push 0x10000000
push str.ALL_APPLICATION_PACKAGES
push eax
call fcn.00415120
lea ecx, [ebp - 0x58]
mov esi, 1
call fcn.00402fe0
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x4159d9
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4159cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4159f9
push edx
push ecx
call fcn.0059c9cd
add esp, 8
mov eax, esi
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.0059cf09
mov esp, ebp
pop ebp
ret 0x18
call fcn.005a57f9
int3