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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018d158
mov eax, dword fs:[0]
push eax
sub esp, 0x694
mov eax, dword [0x101ed40c]
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 + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
push 0x208
mov dword [ebp - 0x69c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x690], ebx
inc dword [0x101f38b8]
push ebx
push eax
movlpd qword [ebp - 0x688], xmm0
call fcn.1014de30
mov eax, dword [esi]
add esp, 0xc
cmp dword [eax - 0xc], ebx
jle 0x1008f86b
push 0x2a
push eax
call fcn.1014e2b9
mov ecx, eax
add esp, 8
mov eax, dword [esi]
test ecx, ecx
je 0x1008f86b
sub ecx, eax
sar ecx, 1
cmp ecx, 0xffffffff
jne 0x1008f880
push 0x101a3264
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
jmp 0x1008f88e
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push 0x464
lea eax, [ebp - 0x67c]
push 0
push eax
call fcn.1014de30
mov eax, 0x5c
mov dword [ebp - 0x220], ebx
add esp, 0xc
mov word [ebp - 0x224], ax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x21c], 0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jge 0x1008f975
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x650]
push 0x104
push eax
call fcn.10158db0
push eax
call fcn.10042c70
add esp, 0x10
lea eax, [ebp - 0x67c]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x220], eax
cmp eax, 0xffffffff
je 0x1008fd3c
push 0
lea eax, [ebp - 0x42c]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x1008f9e4
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x1008f96d
cmp eax, 0xffffffff
je 0x1008f96d
push eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
mov dword [ebp - 0x220], 0
push 0x7b
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp - 0x688]
mov esi, dword [ebp - 0x684]
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x21c], 0
test ecx, ecx
je 0x1008f9a9
cmp ecx, 0xffffffff
je 0x1008f9a9
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
xor ecx, ecx
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x21c], 0
test ecx, ecx
je 0x1008f9c4
cmp ecx, 0xffffffff
je 0x1008f9c4
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
push ecx
call eax
mov eax, edi
mov edx, 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.10126919
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x42c]
push 0x5c
push eax
call fcn.1014e6ab
mov esi, eax
lea eax, [ebp - 0x42c]
push 0x2f
push eax
call fcn.1014e6ab
mov ecx, eax
add esp, 0x10
test ecx, ecx
jne 0x1008fa15
test esi, esi
je 0x1008fa30
lea ecx, [ebp - 0x42c]
test esi, esi
lea eax, [ebp - 0x42c]
cmovne eax, esi
cmp ecx, eax
jb 0x1008fa2b
xor eax, eax
mov word [ecx], ax
jmp 0x1008fa30
xor ecx, ecx
mov word [eax], cx
mov esi, dword [ebp - 0x684]
mov eax, 1
mov edi, dword [ebp - 0x688]
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x68c], esi
mov dword [ebp - 0x680], edi
nop dword [eax]
nop word [eax + eax]
cmp dword [0x101f38b8], 0x3e8
jg 0x1008f981
test eax, eax
je 0x1008fb5d
mov ecx, dword [ebp - 0x67c]
shr ecx, 4
and ecx, 1
je 0x1008fac7
cmp word [ebp - 0x650], 0x2e
jne 0x1008fac7
mov dx, word [ebp - 0x64e]
test dx, dx
je 0x1008faac
cmp dx, 0x2e
jne 0x1008fac7
cmp word [ebp - 0x64c], 0
jne 0x1008fac7
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x1008f9c4
lea ecx, [ebp - 0x67c]
push ecx
push eax
jmp 0x1008fd22
test ecx, ecx
je 0x1008fb5d
cmp dword [ebp + 0x10], 0
jne 0x1008faf6
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x1008f9c4
lea ecx, [ebp - 0x67c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x1008fd29
lea eax, [ebp - 0x6a0]
push eax
lea ecx, [ebp - 0x67c]
call fcn.10091410
mov ecx, dword [ebp + 0x10]
dec ecx
mov byte [ebp - 4], 1
push ecx
push dword [ebp - 0x69c]
push eax
call fcn.1008f7e0
add esp, 0xc
mov byte [ebp - 4], 0
add edi, eax
mov dword [ebp - 0x680], edi
adc esi, edx
mov edx, dword [ebp - 0x6a0]
mov dword [ebp - 0x68c], esi
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1008fb52
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x21c]
jmp 0x1008fd04
mov ecx, dword [ebp - 0x69c]
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x684], ecx
cmp edi, ecx
jne 0x1008fbe0
mov dword [ebp - 0x684], 0
test eax, eax
je 0x1008fba7
mov edi, dword [ebp - 0x680]
mov ecx, dword [ebp - 0x65c]
add edi, ecx
mov edx, dword [ebp - 0x660]
adc esi, edx
mov dword [ebp - 0x680], edi
mov dword [ebp - 0x68c], esi
jmp 0x1008fd04
mov edi, dword [ebp - 0x680]
xorps xmm0, xmm0
movlpd qword [ebp - 0x688], xmm0
mov ecx, dword [ebp - 0x688]
add edi, ecx
mov edx, dword [ebp - 0x684]
adc esi, edx
mov dword [ebp - 0x680], edi
mov dword [ebp - 0x68c], esi
jmp 0x1008fd04
mov byte [ebp - 4], 2
mov dword [ebp - 0x694], 0
call fcn.10043000
mov ecx, eax
test ecx, ecx
je 0x1008fd4d
mov eax, dword [ecx]
call dword [eax + 0xc]
or ebx, 1
cmp dword [ebp - 0x21c], 0
mov dword [ebp - 0x690], ebx
lea esi, [eax + 0x10]
mov dword [ebp - 0x694], esi
je 0x1008fc4e
lea eax, [ebp - 0x650]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1008fc26
sub eax, edx
lea ecx, [ebp - 0x694]
sar eax, 1
push eax
lea eax, [ebp - 0x650]
push eax
call fcn.10043c10
mov esi, dword [ebp - 0x694]
push dword [edi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
and dword [ebp - 0x690], 0xfffffffe
mov ebx, eax
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1008fc7c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x21c]
test ebx, ebx
je 0x1008fce3
mov dword [ebp - 0x694], 0
test eax, eax
je 0x1008fcb6
mov ecx, dword [ebp - 0x65c]
add dword [ebp - 0x680], ecx
mov esi, dword [ebp - 0x68c]
mov edx, dword [ebp - 0x660]
adc esi, edx
mov dword [ebp - 0x68c], esi
jmp 0x1008fce9
mov esi, dword [ebp - 0x68c]
xorps xmm0, xmm0
movlpd qword [ebp - 0x698], xmm0
mov ecx, dword [ebp - 0x698]
add dword [ebp - 0x680], ecx
mov edx, dword [ebp - 0x694]
adc esi, edx
mov dword [ebp - 0x68c], esi
jmp 0x1008fce9
mov esi, dword [ebp - 0x68c]
mov ebx, dword [ebp - 0x690]
add edi, 4
cmp edi, dword [ebp - 0x684]
jne 0x1008fbe0
mov edi, dword [ebp - 0x680]
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x1008f9c4
test eax, eax
je 0x1008f987
lea eax, [ebp - 0x67c]
push eax
push ecx
mov eax, dword [sym.imp.KERNEL32.dll_FindNextFileW]
call eax
mov dword [ebp - 0x21c], eax
test eax, eax
jne 0x1008fa60
jmp 0x1008f981
mov esi, dword [ebp - 0x684]
mov edi, dword [ebp - 0x688]
jmp 0x1008f9c4
push 0x80004005
call fcn.10042d10
int3