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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10111389
mov eax, dword fs:[0]
push eax
sub esp, 0x8b0
mov eax, dword [0x1015e404]
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.100dd9d0
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp dword [eax - 0xc], 0
jne 0x1001cc86
push 0x1011cfc8
jmp 0x1001cc87
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 0x1001d430
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x858]
push 0x104
push eax
call fcn.100e0e0a
push eax
call fcn.100021d0
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 0x1001cd2a
mov dword [ebp - 0x424], 0
jmp 0x1001d474
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 0x1001cd78
mov dword [ebp - 0x424], eax
mov eax, dword [ebp - 0x428]
test eax, eax
je 0x1001cd6b
cmp eax, 0xffffffff
je 0x1001cd6b
push eax
call esi
mov dword [ebp - 0x428], 0
push 0x7b
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1001d430
lea eax, [ebp - 0x634]
push 0x5c
push eax
call fcn.100dddee
mov esi, eax
lea eax, [ebp - 0x634]
push 0x2f
push eax
call fcn.100dddee
mov ecx, eax
add esp, 0x10
test ecx, ecx
jne 0x1001cda9
test esi, esi
je 0x1001cdc4
lea ecx, [ebp - 0x634]
test esi, esi
lea eax, [ebp - 0x634]
cmovne eax, esi
cmp ecx, eax
jb 0x1001cdbf
xor eax, eax
mov word [ecx], ax
jmp 0x1001cdc4
xor ecx, ecx
mov word [eax], cx
mov eax, 1
mov dword [ebp - 0x424], eax
nop
test eax, eax
je 0x1001ce31
mov eax, dword [ebp - 0x884]
shr eax, 4
and eax, 1
je 0x1001ce31
cmp word [ebp - 0x858], 0x2e
jne 0x1001ce31
mov ax, word [ebp - 0x856]
test ax, ax
je 0x1001ce08
cmp ax, 0x2e
jne 0x1001ce31
cmp word [ebp - 0x854], 0
jne 0x1001ce31
mov eax, dword [ebp - 0x428]
test eax, eax
je 0x1001cd1b
lea ecx, [ebp - 0x884]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x424], eax
mov esi, eax
jmp 0x1001d422
lea eax, [ebp - 0x8b8]
push eax
lea ecx, [ebp - 0x884]
call fcn.1001d5b0
lea eax, [ebp - 0x890]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x884]
call fcn.1001d500
cmp dword [ebp - 0x424], 0
mov byte [ebp - 4], 5
je 0x1001d173
mov eax, dword [ebp - 0x884]
shr eax, 4
and eax, 1
je 0x1001d173
call fcn.100020b0
mov ecx, eax
test ecx, ecx
je 0x1001d4ed
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 0x1001cf34
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 0x1001d0e7
cmp dword [edx + 0xc], 0
lea esi, [edx + 0xc]
jl 0x1001cf1a
mov ecx, dword [ecx]
cmp ecx, dword [edx]
jne 0x1001cf1a
push dword [ebp - 0x888]
call fcn.10001a00
add esp, 4
mov dword [ebp - 0x888], eax
mov ecx, edi
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x1001cf0c
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 0x1001d0e7
push dword [eax - 0xc]
lea ecx, [ebp - 0x894]
push eax
call fcn.10001c80
mov esi, dword [ebp - 0x894]
jmp 0x1001d0e7
mov ecx, dword [eax - 0x10]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x1001cf48
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x1001cf5c
call fcn.100020b0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x1001d4ed
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 0x1011cfcc
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x8b0]
push eax
call fcn.1001ca80
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 0x1001cfc7
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x1001cfdb
call fcn.100020b0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x1001d4ed
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.1001ca80
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 0x1001d08b
cmp dword [edx + 0xc], 0
lea esi, [edx + 0xc]
jl 0x1001d076
mov ecx, dword [edi]
cmp ecx, dword [edx]
jne 0x1001d076
push edi
call fcn.10001a00
add esp, 4
mov dword [ebp - 0x898], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x1001d06b
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 0x1001d08b
push dword [eax - 0xc]
lea ecx, [ebp - 0x894]
push eax
call fcn.10001c80
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 0x1001d0b3
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 0x1001d0e7
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.10001a00
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.10001a00
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.10001a00
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.1001cc20
mov edx, dword [ebp - 0x88c]
or edi, 0xffffffff
mov byte [ebp - 4], 5
jmp 0x1001d398
call fcn.100020b0
mov ecx, eax
test ecx, ecx
je 0x1001d4ed
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x8a4], esi
call fcn.100020b0
mov ecx, eax
test ecx, ecx
je 0x1001d4ed
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x8a0], eax
call fcn.100020b0
mov ecx, eax
test ecx, ecx
je 0x1001d4ed
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 0x1001d235
cmp dword [esi + 0xc], 0
jl 0x1001d226
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x1001d226
push edx
call fcn.10001a00
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 0x1001d21b
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 0x1001d235
push dword [eax - 0xc]
lea ecx, [ebp - 0x8a4]
push eax
call fcn.10001c80
mov eax, dword [ebp - 0x890]
mov esi, dword [ebp - 0x8a0]
add esi, 0xfffffff0
lea edx, [eax - 0x10]
cmp edx, esi
je 0x1001d2a2
cmp dword [esi + 0xc], 0
jl 0x1001d28d
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x1001d28d
push edx
call fcn.10001a00
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 0x1001d282
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 0x1001d29c
push dword [eax - 0xc]
lea ecx, [ebp - 0x8a0]
push eax
call fcn.10001c80
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 0x1001d30c
cmp dword [esi + 0xc], 0
jl 0x1001d2f7
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x1001d2f7
push edx
call fcn.10001a00
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 0x1001d2ec
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 0x1001d306
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x89c]
call fcn.10001c80
mov eax, dword [ebp - 0x890]
mov ecx, dword [ebx + 0xc]
cmp dword [ecx - 0xc], 0
je 0x1001d32b
test eax, eax
je 0x1001d4ed
push eax
push ecx
call fcn.100ece58
add esp, 8
test eax, eax
jne 0x1001d351
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x8a4]
push ecx
push eax
cmp dword [ebx + 8], eax
je 0x1001d34a
push ebx
call fcn.1001c780
add esp, 0xc
add dword [ebx + 4], 0xc
jmp 0x1001d351
mov ecx, ebx
call fcn.1001c4d0
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 0x1001d372
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 0x1001d38f
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 0x1001d3ac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x428]
test eax, eax
jne 0x1001d3ba
xor esi, esi
jmp 0x1001d3dd
cmp dword [ebp - 0x424], 0
jne 0x1001d3c7
xor esi, esi
jmp 0x1001d3dd
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 0x1001d3fe
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 0x1001d41c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x424]
test esi, esi
jne 0x1001cdd0
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x428]
mov dword [ebp - 0x424], 0
test eax, eax
je 0x1001d454
cmp eax, 0xffffffff
je 0x1001d454
push eax
call esi
xor eax, eax
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], 0
test eax, eax
je 0x1001d474
cmp eax, 0xffffffff
je 0x1001d474
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 0x1001d492
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 0x1001d4b0
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 0x1001d4cf
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.10067a9c
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.100017c0
int3