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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d98f8
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x66f33c]
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 dword [ebp - 0x2b0], ecx
mov dword [ebp - 4], 0
call fcn.004544b9
test al, al
je 0x416195
push eax
push edx
pop ecx
pop esp
pop ecx
pop ebx
push ecx
push esi
push edi
push edi
pop esi
pop ebx
pop ebx
pop edi
pop ebp
push ecx
pop esp
cmp dword [ebp + 0x18], 0
jne 0x4161a2
xor esi, esi
jmp 0x41653d
call fcn.004543ea
test al, al
je 0x4161bc
pop esp
pop ebx
push ebx
pop ebp
pop eax
pop ebp
push edi
push esi
push edi
pop edx
push edx
push ebp
push esp
push ebp
pop eax
push esi
push edx
xor eax, eax
mov dword [ebp - 0x2c], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x40]
lea eax, [ebp + 8]
mov dword [ebp - 0x30], 0
push eax
call fcn.00402ee0
push 3
push 0x5e4250
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00405290
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x2a8]
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2ac], eax
call fcn.00454543
test al, al
je 0x41622c
push ebp
pop esp
pop esi
push ecx
pop edi
push ebx
push ebx
push esi
pop ebp
pop ebp
push ebp
push ecx
push esp
pop edi
pop esi
push esp
push esp
pop ebx
cmp dword [ebp - 0x2ac], 0xffffffff
je 0x416445
nop dword [eax]
call fcn.00454543
test al, al
je 0x41625c
pop ebx
pop eax
pop edi
push esi
push esp
pop ecx
pop ecx
pop edi
pop ebp
pop esi
pop eax
pop edi
push edx
push esp
pop esi
pop ebx
pop eax
push esi
push esp
lea eax, [ebp - 0x2a8]
push eax
push dword [ebp - 0x2ac]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x416445
mov ax, word [ebp - 0x27c]
cmp ax, 0x2e
je 0x416240
mov cx, word [ebp - 0x27a]
test cx, cx
je 0x416240
cmp cx, 0x2e
jne 0x4162a0
cmp word [ebp - 0x278], 0
je 0x416240
xor ecx, ecx
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], cx
test ax, ax
jne 0x4162bd
xor eax, eax
jmp 0x4162d5
lea eax, [ebp - 0x27c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4162c6
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x58]
call fcn.00403000
xor eax, eax
mov byte [ebp - 4], 2
test byte [ebp - 0x2a8], 0x10
lea ecx, [ebp - 0x28]
push 0xffffffffffffffff
push eax
mov word [ebp - 0x28], ax
lea eax, [ebp + 8]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
push eax
je 0x4163b5
call fcn.00402ee0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x28]
call fcn.00405180
push 1
push 0x5e283c
lea ecx, [ebp - 0x28]
call fcn.00405290
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ebx, dword [ebp - 0x2b0]
cmovae eax, dword [ebp - 0x28]
push 0x10000000
push str.Everyone
mov ecx, dword [ebx]
push eax
call fcn.004154b0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, dword [ebx]
cmovae eax, dword [ebp - 0x28]
push 0x10000000
push str.ALL_APPLICATION_PACKAGES
push eax
call fcn.004154b0
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x416399
mov eax, dword [ecx]
jmp 0x41639b
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x28]
push edx
push eax
call fcn.00402ee0
mov ecx, ebx
call fcn.00416140
jmp 0x41640e
call fcn.00402ee0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x28]
call fcn.00405180
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ebx, dword [ebp - 0x2b0]
cmovae eax, dword [ebp - 0x28]
push 0x10000000
push str.Everyone
mov ecx, dword [ebx]
push eax
call fcn.004154b0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, dword [ebx]
cmovae eax, dword [ebp - 0x28]
push 0x10000000
push str.ALL_APPLICATION_PACKAGES
push eax
call fcn.004154b0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x416423
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403100
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 1
cmp eax, 8
jb 0x416240
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00403100
jmp 0x416240
call fcn.004547f5
test al, al
je 0x41645e
pop eax
push esp
pop eax
push esi
pop esi
push edx
push edi
push ebp
pop ecx
push ecx
push eax
push ebp
push ebx
push ecx
push eax
pop ebx
call fcn.004549d8
test al, al
je 0x416477
push ebx
pop edx
push esi
push edx
push esi
pop esp
push ecx
pop edx
pop ecx
pop ebx
push ebp
push esi
push ebx
pop ebp
push edx
pop edx
call fcn.00454657
test al, al
je 0x41649e
pop esi
push esp
pop ecx
push esp
push ecx
pop esi
pop esi
pop eax
pop eax
push ebx
push edi
push edi
pop ebp
push ebx
push ecx
push esp
pop edi
pop ecx
push esi
pop edx
push ebp
pop ecx
push edx
pop edi
push eax
pop esi
pop ebx
pop edx
pop eax
pop esp
push dword [ebp - 0x2ac]
call dword [sym.imp.KERNEL32.dll_FindClose]
call fcn.0045483a
test al, al
je 0x4164cf
pop esi
pop ecx
pop ebp
pop ebp
pop ebp
pop edi
pop ecx
pop esp
pop ecx
pop edi
push ebx
pop ebx
pop esi
pop edx
push ecx
push edx
pop ebx
pop esp
pop edi
pop edi
pop eax
push esi
push ebx
push ebp
pop ebx
pop ebp
pop eax
pop eax
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
mov esi, dword [ebp - 0x2b0]
cmovae eax, dword [ebp + 8]
push 0x10000000
push str.Everyone
mov ecx, dword [esi]
push eax
call fcn.004154b0
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.004154b0
mov eax, dword [ebp - 0x2c]
mov esi, 1
cmp eax, 8
jb 0x416529
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00403100
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov ecx, dword [ebp + 0x1c]
cmp ecx, 8
jb 0x416552
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.00403100
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.0045132d
mov esp, ebp
pop ebp
ret 0x18