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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009e0d9
mov eax, dword fs:[0]
push eax
sub esp, 0x8b0
mov eax, dword [0x100cd4bc]
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 ebx, ecx
xor eax, eax
mov dword [ebp - 0x898], eax
mov dword [ebp - 0x8a8], eax
mov dword [ebp - 4], eax
push 0x410
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.1006c590
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp dword [eax - 0xc], 0
jne 0x10018026
push 0x100a56cc
jmp 0x10018027
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, 0x5c
mov dword [ebp - 0x428], 0
mov word [ebp - 0x42c], ax
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 3
push eax
mov dword [ebp - 0x424], 0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
or edi, 0xffffffff
cmp eax, 0x104
jge 0x100187d0
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x858]
push 0x104
push eax
call fcn.1006f9ca
push eax
call fcn.10001e70
add esp, 0x10
lea eax, [ebp - 0x884]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x428], eax
cmp eax, edi
jne 0x100180ca
mov dword [ebp - 0x424], 0
jmp 0x10018814
push 0
lea eax, [ebp - 0x634]
push eax
push 0x104
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x10018118
mov dword [ebp - 0x424], eax
mov eax, dword [ebp - 0x428]
test eax, eax
je 0x1001810b
cmp eax, 0xffffffff
je 0x1001810b
push eax
call esi
mov dword [ebp - 0x428], 0
push 0x7b
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x100187d0
lea eax, [ebp - 0x634]
push 0x5c
push eax
call fcn.1006c9ae
mov esi, eax
lea eax, [ebp - 0x634]
push 0x2f
push eax
call fcn.1006c9ae
mov ecx, eax
add esp, 0x10
test ecx, ecx
jne 0x10018149
test esi, esi
je 0x10018164
lea ecx, [ebp - 0x634]
test esi, esi
lea eax, [ebp - 0x634]
cmovne eax, esi
cmp ecx, eax
jb 0x1001815f
xor eax, eax
mov word [ecx], ax
jmp 0x10018164
xor ecx, ecx
mov word [eax], cx
mov eax, 1
mov dword [ebp - 0x424], eax
nop
test eax, eax
je 0x100181d1
mov eax, dword [ebp - 0x884]
shr eax, 4
and eax, 1
je 0x100181d1
cmp word [ebp - 0x858], 0x2e
jne 0x100181d1
mov ax, word [ebp - 0x856]
test ax, ax
je 0x100181a8
cmp ax, 0x2e
jne 0x100181d1
cmp word [ebp - 0x854], 0
jne 0x100181d1
mov eax, dword [ebp - 0x428]
test eax, eax
je 0x100180bb
lea ecx, [ebp - 0x884]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x424], eax
mov esi, eax
jmp 0x100187c2
lea eax, [ebp - 0x8b8]
push eax
lea ecx, [ebp - 0x884]
call fcn.10018950
lea eax, [ebp - 0x890]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x884]
call fcn.100188a0
cmp dword [ebp - 0x424], 0
mov byte [ebp - 4], 5
je 0x10018513
mov eax, dword [ebp - 0x884]
shr eax, 4
and eax, 1
je 0x10018513
call fcn.10001d50
mov ecx, eax
test ecx, ecx
je 0x1001888d
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x894], esi
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 6
cmp dword [eax - 0xc], 0
jne 0x100182d4
mov eax, dword [ebp - 0x890]
lea edx, [esi - 0x10]
mov dword [ebp - 0x8ac], edx
lea ecx, [eax - 0x10]
mov dword [ebp - 0x888], ecx
cmp ecx, edx
je 0x10018487
cmp dword [edx + 0xc], 0
lea esi, [edx + 0xc]
jl 0x100182ba
mov ecx, dword [ecx]
cmp ecx, dword [edx]
jne 0x100182ba
push dword [ebp - 0x888]
call fcn.100016d0
add esp, 4
mov dword [ebp - 0x888], eax
mov ecx, edi
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x100182ac
mov esi, dword [ebp - 0x8ac]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x888]
lea esi, [eax + 0x10]
mov dword [ebp - 0x894], esi
jmp 0x10018487
push dword [eax - 0xc]
lea ecx, [ebp - 0x894]
push eax
call fcn.10001950
mov esi, dword [ebp - 0x894]
jmp 0x10018487
mov ecx, dword [eax - 0x10]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x100182e8
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x100182fc
call fcn.10001d50
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x1001888d
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x8b0], eax
mov eax, dword [ebp - 0x898]
or eax, 2
mov dword [ebp - 0x898], eax
mov dword [ebp - 0x8a8], eax
mov dword [ebp - 0x888], eax
mov eax, dword [ebp + 0x10]
push 1
push 0x100a56d0
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x8b0]
push eax
call fcn.10017e20
add esp, 0x14
mov edi, dword [ebp - 0x8b0]
mov ecx, dword [edi - 0x10]
lea eax, [edi - 0x10]
mov byte [ebp - 4], 8
mov dword [ebp - 0x88c], eax
test ecx, ecx
je 0x10018367
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x1001837b
call fcn.10001d50
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x1001888d
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x8b4], eax
mov eax, dword [ebp - 0x898]
or eax, 4
mov dword [ebp - 0x8a8], eax
mov eax, dword [ebp - 0x890]
push dword [eax - 0xc]
push eax
push dword [edi - 0xc]
lea eax, [ebp - 0x8b4]
push edi
push eax
call fcn.10017e20
mov eax, dword [ebp - 0x8b4]
lea edx, [esi - 0x10]
add esp, 0x14
mov dword [ebp - 0x8ac], edx
lea edi, [eax - 0x10]
cmp edi, edx
je 0x1001842b
cmp dword [edx + 0xc], 0
lea esi, [edx + 0xc]
jl 0x10018416
mov ecx, dword [edi]
cmp ecx, dword [edx]
jne 0x10018416
push edi
call fcn.100016d0
add esp, 4
mov dword [ebp - 0x898], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x1001840b
mov esi, dword [ebp - 0x8ac]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x898]
lea esi, [eax + 0x10]
mov dword [ebp - 0x894], esi
jmp 0x1001842b
push dword [eax - 0xc]
lea ecx, [ebp - 0x894]
push eax
call fcn.10001950
mov esi, dword [ebp - 0x894]
mov eax, dword [ebp - 0x888]
and eax, 0xfffffffb
mov byte [ebp - 4], 7
mov dword [ebp - 0x8a8], eax
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10018453
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x888]
mov edx, dword [ebp - 0x88c]
and eax, 0xfffffff9
mov dword [ebp - 0x898], eax
mov dword [ebp - 0x8a8], eax
or eax, 0xffffffff
mov byte [ebp - 4], 6
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10018487
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
lea eax, [esi - 0x10]
mov dword [ebp - 0x8ac], esp
mov edi, esp
mov dword [ebp - 0x88c], edi
push eax
mov dword [ebp - 0x88c], eax
call fcn.100016d0
add eax, 0x10
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
mov esi, esp
add eax, 0xfffffff0
mov dword [ebp - 0x8bc], esp
push eax
mov byte [ebp - 4], 9
mov dword [ebp - 0x888], esi
call fcn.100016d0
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x8b8]
mov esi, esp
add eax, 0xfffffff0
mov dword [ebp - 0x888], esi
push eax
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x888], eax
call fcn.100016d0
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.10017fc0
mov edx, dword [ebp - 0x88c]
or edi, 0xffffffff
mov byte [ebp - 4], 5
jmp 0x10018738
call fcn.10001d50
mov ecx, eax
test ecx, ecx
je 0x1001888d
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x8a4], esi
call fcn.10001d50
mov ecx, eax
test ecx, ecx
je 0x1001888d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x8a0], eax
call fcn.10001d50
mov ecx, eax
test ecx, ecx
je 0x1001888d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x89c], eax
mov eax, dword [ebp - 0x8b8]
add esi, 0xfffffff0
mov byte [ebp - 4], 0xb
lea edx, [eax - 0x10]
mov dword [ebp - 0x888], edx
cmp edx, esi
je 0x100185d5
cmp dword [esi + 0xc], 0
jl 0x100185c6
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x100185c6
push edx
call fcn.100016d0
add esp, 4
mov dword [ebp - 0x88c], eax
mov ecx, edi
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100185bb
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x88c]
add eax, 0x10
mov dword [ebp - 0x8a4], eax
jmp 0x100185d5
push dword [eax - 0xc]
lea ecx, [ebp - 0x8a4]
push eax
call fcn.10001950
mov eax, dword [ebp - 0x890]
mov esi, dword [ebp - 0x8a0]
add esi, 0xfffffff0
lea edx, [eax - 0x10]
cmp edx, esi
je 0x10018642
cmp dword [esi + 0xc], 0
jl 0x1001862d
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x1001862d
push edx
call fcn.100016d0
add esp, 4
mov dword [ebp - 0x88c], eax
mov ecx, edi
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10018622
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x88c]
add eax, 0x10
mov dword [ebp - 0x8a0], eax
jmp 0x1001863c
push dword [eax - 0xc]
lea ecx, [ebp - 0x8a0]
push eax
call fcn.10001950
mov eax, dword [ebp - 0x890]
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp - 0x89c]
add esi, 0xfffffff0
lea edx, [ecx - 0x10]
cmp edx, esi
je 0x100186ac
cmp dword [esi + 0xc], 0
jl 0x10018697
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x10018697
push edx
call fcn.100016d0
add esp, 4
mov dword [ebp - 0x88c], eax
mov ecx, edi
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1001868c
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x88c]
add eax, 0x10
mov dword [ebp - 0x89c], eax
jmp 0x100186a6
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x89c]
call fcn.10001950
mov eax, dword [ebp - 0x890]
mov ecx, dword [ebx + 0xc]
cmp dword [ecx - 0xc], 0
je 0x100186cb
test eax, eax
je 0x1001888d
push eax
push ecx
call fcn.1007b7f8
add esp, 8
test eax, eax
jne 0x100186f1
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x8a4]
push ecx
push eax
cmp dword [ebx + 8], eax
je 0x100186ea
push ebx
call fcn.10017b20
add esp, 0xc
add dword [ebx + 4], 0xc
jmp 0x100186f1
mov ecx, ebx
call fcn.10017870
mov edx, dword [ebp - 0x89c]
mov eax, edi
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10018712
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x8a0]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001872f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x8a4]
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001874c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x428]
test eax, eax
jne 0x1001875a
xor esi, esi
jmp 0x1001877d
cmp dword [ebp - 0x424], 0
jne 0x10018767
xor esi, esi
jmp 0x1001877d
lea ecx, [ebp - 0x884]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, eax
mov dword [ebp - 0x424], esi
mov edx, dword [ebp - 0x890]
mov ecx, edi
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1001879e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x888]
mov eax, edi
mov byte [ebp - 4], 3
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100187bc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x424]
test esi, esi
jne 0x10018170
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x428]
mov dword [ebp - 0x424], 0
test eax, eax
je 0x100187f4
cmp eax, 0xffffffff
je 0x100187f4
push eax
call esi
xor eax, eax
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], 0
test eax, eax
je 0x10018814
cmp eax, 0xffffffff
je 0x10018814
push eax
call esi
mov dword [ebp - 0x428], 0
mov edx, dword [ebp + 8]
mov eax, edi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10018832
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10018850
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x1001886f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.100612dc
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.100015b0
int3