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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aa0a9
mov eax, dword fs:[0]
push eax
sub esp, 0x8b0
mov eax, dword [0x100db3fc]
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.10076570
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp dword [eax - 0xc], 0
jne 0x1001e386
push 0x100b1704
jmp 0x1001e387
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 0x1001eb30
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x858]
push 0x104
push eax
call fcn.100799aa
push eax
call fcn.100032f0
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 0x1001e42a
mov dword [ebp - 0x424], 0
jmp 0x1001eb74
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 0x1001e478
mov dword [ebp - 0x424], eax
mov eax, dword [ebp - 0x428]
test eax, eax
je 0x1001e46b
cmp eax, 0xffffffff
je 0x1001e46b
push eax
call esi
mov dword [ebp - 0x428], 0
push 0x7b
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1001eb30
lea eax, [ebp - 0x634]
push 0x5c
push eax
call fcn.1007698e
mov esi, eax
lea eax, [ebp - 0x634]
push 0x2f
push eax
call fcn.1007698e
mov ecx, eax
add esp, 0x10
test ecx, ecx
jne 0x1001e4a9
test esi, esi
je 0x1001e4c4
lea ecx, [ebp - 0x634]
test esi, esi
lea eax, [ebp - 0x634]
cmovne eax, esi
cmp ecx, eax
jb 0x1001e4bf
xor eax, eax
mov word [ecx], ax
jmp 0x1001e4c4
xor ecx, ecx
mov word [eax], cx
mov eax, 1
mov dword [ebp - 0x424], eax
nop
test eax, eax
je 0x1001e531
mov eax, dword [ebp - 0x884]
shr eax, 4
and eax, 1
je 0x1001e531
cmp word [ebp - 0x858], 0x2e
jne 0x1001e531
mov ax, word [ebp - 0x856]
test ax, ax
je 0x1001e508
cmp ax, 0x2e
jne 0x1001e531
cmp word [ebp - 0x854], 0
jne 0x1001e531
mov eax, dword [ebp - 0x428]
test eax, eax
je 0x1001e41b
lea ecx, [ebp - 0x884]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x424], eax
mov esi, eax
jmp 0x1001eb22
lea eax, [ebp - 0x8b8]
push eax
lea ecx, [ebp - 0x884]
call fcn.1001ecb0
lea eax, [ebp - 0x890]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x884]
call fcn.1001ec00
cmp dword [ebp - 0x424], 0
mov byte [ebp - 4], 5
je 0x1001e873
mov eax, dword [ebp - 0x884]
shr eax, 4
and eax, 1
je 0x1001e873
call fcn.10002a80
mov ecx, eax
test ecx, ecx
je 0x1001ebed
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 0x1001e634
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 0x1001e7e7
cmp dword [edx + 0xc], 0
lea esi, [edx + 0xc]
jl 0x1001e61a
mov ecx, dword [ecx]
cmp ecx, dword [edx]
jne 0x1001e61a
push dword [ebp - 0x888]
call fcn.10002400
add esp, 4
mov dword [ebp - 0x888], eax
mov ecx, edi
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x1001e60c
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 0x1001e7e7
push dword [eax - 0xc]
lea ecx, [ebp - 0x894]
push eax
call fcn.10002680
mov esi, dword [ebp - 0x894]
jmp 0x1001e7e7
mov ecx, dword [eax - 0x10]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x1001e648
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x1001e65c
call fcn.10002a80
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x1001ebed
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 0x100b1708
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x8b0]
push eax
call fcn.1001e180
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 0x1001e6c7
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x1001e6db
call fcn.10002a80
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x1001ebed
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.1001e180
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 0x1001e78b
cmp dword [edx + 0xc], 0
lea esi, [edx + 0xc]
jl 0x1001e776
mov ecx, dword [edi]
cmp ecx, dword [edx]
jne 0x1001e776
push edi
call fcn.10002400
add esp, 4
mov dword [ebp - 0x898], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x1001e76b
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 0x1001e78b
push dword [eax - 0xc]
lea ecx, [ebp - 0x894]
push eax
call fcn.10002680
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 0x1001e7b3
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 0x1001e7e7
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.10002400
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.10002400
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.10002400
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.1001e320
mov edx, dword [ebp - 0x88c]
or edi, 0xffffffff
mov byte [ebp - 4], 5
jmp 0x1001ea98
call fcn.10002a80
mov ecx, eax
test ecx, ecx
je 0x1001ebed
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x8a4], esi
call fcn.10002a80
mov ecx, eax
test ecx, ecx
je 0x1001ebed
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x8a0], eax
call fcn.10002a80
mov ecx, eax
test ecx, ecx
je 0x1001ebed
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 0x1001e935
cmp dword [esi + 0xc], 0
jl 0x1001e926
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x1001e926
push edx
call fcn.10002400
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 0x1001e91b
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 0x1001e935
push dword [eax - 0xc]
lea ecx, [ebp - 0x8a4]
push eax
call fcn.10002680
mov eax, dword [ebp - 0x890]
mov esi, dword [ebp - 0x8a0]
add esi, 0xfffffff0
lea edx, [eax - 0x10]
cmp edx, esi
je 0x1001e9a2
cmp dword [esi + 0xc], 0
jl 0x1001e98d
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x1001e98d
push edx
call fcn.10002400
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 0x1001e982
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 0x1001e99c
push dword [eax - 0xc]
lea ecx, [ebp - 0x8a0]
push eax
call fcn.10002680
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 0x1001ea0c
cmp dword [esi + 0xc], 0
jl 0x1001e9f7
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x1001e9f7
push edx
call fcn.10002400
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 0x1001e9ec
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 0x1001ea06
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x89c]
call fcn.10002680
mov eax, dword [ebp - 0x890]
mov ecx, dword [ebx + 0xc]
cmp dword [ecx - 0xc], 0
je 0x1001ea2b
test eax, eax
je 0x1001ebed
push eax
push ecx
call fcn.10086c6a
add esp, 8
test eax, eax
jne 0x1001ea51
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x8a4]
push ecx
push eax
cmp dword [ebx + 8], eax
je 0x1001ea4a
push ebx
call fcn.100188c0
add esp, 0xc
add dword [ebx + 4], 0xc
jmp 0x1001ea51
mov ecx, ebx
call fcn.100184c0
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 0x1001ea72
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 0x1001ea8f
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 0x1001eaac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x428]
test eax, eax
jne 0x1001eaba
xor esi, esi
jmp 0x1001eadd
cmp dword [ebp - 0x424], 0
jne 0x1001eac7
xor esi, esi
jmp 0x1001eadd
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 0x1001eafe
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 0x1001eb1c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x424]
test esi, esi
jne 0x1001e4d0
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x428]
mov dword [ebp - 0x424], 0
test eax, eax
je 0x1001eb54
cmp eax, 0xffffffff
je 0x1001eb54
push eax
call esi
xor eax, eax
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], 0
test eax, eax
je 0x1001eb74
cmp eax, 0xffffffff
je 0x1001eb74
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 0x1001eb92
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 0x1001ebb0
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 0x1001ebcf
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.1006a60c
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.10001670
int3