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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aa229
mov eax, dword fs:[0]
push eax
sub esp, 0x8b0
mov eax, dword [0x100db55c]
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.10076710
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp dword [eax - 0xc], 0
jne 0x1001e4f6
push 0x100b1d34
jmp 0x1001e4f7
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 0x1001eca0
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x858]
push 0x104
push eax
call fcn.10079b4a
push eax
call fcn.10003480
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 0x1001e59a
mov dword [ebp - 0x424], 0
jmp 0x1001ece4
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 0x1001e5e8
mov dword [ebp - 0x424], eax
mov eax, dword [ebp - 0x428]
test eax, eax
je 0x1001e5db
cmp eax, 0xffffffff
je 0x1001e5db
push eax
call esi
mov dword [ebp - 0x428], 0
push 0x7b
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1001eca0
lea eax, [ebp - 0x634]
push 0x5c
push eax
call fcn.10076b2e
mov esi, eax
lea eax, [ebp - 0x634]
push 0x2f
push eax
call fcn.10076b2e
mov ecx, eax
add esp, 0x10
test ecx, ecx
jne 0x1001e619
test esi, esi
je 0x1001e634
lea ecx, [ebp - 0x634]
test esi, esi
lea eax, [ebp - 0x634]
cmovne eax, esi
cmp ecx, eax
jb 0x1001e62f
xor eax, eax
mov word [ecx], ax
jmp 0x1001e634
xor ecx, ecx
mov word [eax], cx
mov eax, 1
mov dword [ebp - 0x424], eax
nop
test eax, eax
je 0x1001e6a1
mov eax, dword [ebp - 0x884]
shr eax, 4
and eax, 1
je 0x1001e6a1
cmp word [ebp - 0x858], 0x2e
jne 0x1001e6a1
mov ax, word [ebp - 0x856]
test ax, ax
je 0x1001e678
cmp ax, 0x2e
jne 0x1001e6a1
cmp word [ebp - 0x854], 0
jne 0x1001e6a1
mov eax, dword [ebp - 0x428]
test eax, eax
je 0x1001e58b
lea ecx, [ebp - 0x884]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x424], eax
mov esi, eax
jmp 0x1001ec92
lea eax, [ebp - 0x8b8]
push eax
lea ecx, [ebp - 0x884]
call fcn.1001ee20
lea eax, [ebp - 0x890]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x884]
call fcn.1001ed70
cmp dword [ebp - 0x424], 0
mov byte [ebp - 4], 5
je 0x1001e9e3
mov eax, dword [ebp - 0x884]
shr eax, 4
and eax, 1
je 0x1001e9e3
call fcn.10002c20
mov ecx, eax
test ecx, ecx
je 0x1001ed5d
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 0x1001e7a4
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 0x1001e957
cmp dword [edx + 0xc], 0
lea esi, [edx + 0xc]
jl 0x1001e78a
mov ecx, dword [ecx]
cmp ecx, dword [edx]
jne 0x1001e78a
push dword [ebp - 0x888]
call fcn.100025a0
add esp, 4
mov dword [ebp - 0x888], eax
mov ecx, edi
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x1001e77c
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 0x1001e957
push dword [eax - 0xc]
lea ecx, [ebp - 0x894]
push eax
call fcn.10002820
mov esi, dword [ebp - 0x894]
jmp 0x1001e957
mov ecx, dword [eax - 0x10]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x1001e7b8
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x1001e7cc
call fcn.10002c20
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x1001ed5d
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 0x100b1d38
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x8b0]
push eax
call fcn.1001e2f0
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 0x1001e837
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x1001e84b
call fcn.10002c20
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x1001ed5d
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.1001e2f0
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 0x1001e8fb
cmp dword [edx + 0xc], 0
lea esi, [edx + 0xc]
jl 0x1001e8e6
mov ecx, dword [edi]
cmp ecx, dword [edx]
jne 0x1001e8e6
push edi
call fcn.100025a0
add esp, 4
mov dword [ebp - 0x898], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x1001e8db
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 0x1001e8fb
push dword [eax - 0xc]
lea ecx, [ebp - 0x894]
push eax
call fcn.10002820
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 0x1001e923
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 0x1001e957
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.100025a0
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.100025a0
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.100025a0
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.1001e490
mov edx, dword [ebp - 0x88c]
or edi, 0xffffffff
mov byte [ebp - 4], 5
jmp 0x1001ec08
call fcn.10002c20
mov ecx, eax
test ecx, ecx
je 0x1001ed5d
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x8a4], esi
call fcn.10002c20
mov ecx, eax
test ecx, ecx
je 0x1001ed5d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x8a0], eax
call fcn.10002c20
mov ecx, eax
test ecx, ecx
je 0x1001ed5d
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 0x1001eaa5
cmp dword [esi + 0xc], 0
jl 0x1001ea96
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x1001ea96
push edx
call fcn.100025a0
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 0x1001ea8b
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 0x1001eaa5
push dword [eax - 0xc]
lea ecx, [ebp - 0x8a4]
push eax
call fcn.10002820
mov eax, dword [ebp - 0x890]
mov esi, dword [ebp - 0x8a0]
add esi, 0xfffffff0
lea edx, [eax - 0x10]
cmp edx, esi
je 0x1001eb12
cmp dword [esi + 0xc], 0
jl 0x1001eafd
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x1001eafd
push edx
call fcn.100025a0
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 0x1001eaf2
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 0x1001eb0c
push dword [eax - 0xc]
lea ecx, [ebp - 0x8a0]
push eax
call fcn.10002820
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 0x1001eb7c
cmp dword [esi + 0xc], 0
jl 0x1001eb67
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x1001eb67
push edx
call fcn.100025a0
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 0x1001eb5c
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 0x1001eb76
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x89c]
call fcn.10002820
mov eax, dword [ebp - 0x890]
mov ecx, dword [ebx + 0xc]
cmp dword [ecx - 0xc], 0
je 0x1001eb9b
test eax, eax
je 0x1001ed5d
push eax
push ecx
call fcn.10086e0a
add esp, 8
test eax, eax
jne 0x1001ebc1
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x8a4]
push ecx
push eax
cmp dword [ebx + 8], eax
je 0x1001ebba
push ebx
call fcn.10018a30
add esp, 0xc
add dword [ebx + 4], 0xc
jmp 0x1001ebc1
mov ecx, ebx
call fcn.10018630
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 0x1001ebe2
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 0x1001ebff
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 0x1001ec1c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x428]
test eax, eax
jne 0x1001ec2a
xor esi, esi
jmp 0x1001ec4d
cmp dword [ebp - 0x424], 0
jne 0x1001ec37
xor esi, esi
jmp 0x1001ec4d
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 0x1001ec6e
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 0x1001ec8c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x424]
test esi, esi
jne 0x1001e640
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x428]
mov dword [ebp - 0x424], 0
test eax, eax
je 0x1001ecc4
cmp eax, 0xffffffff
je 0x1001ecc4
push eax
call esi
xor eax, eax
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], 0
test eax, eax
je 0x1001ece4
cmp eax, 0xffffffff
je 0x1001ece4
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 0x1001ed02
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 0x1001ed20
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 0x1001ed3f
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.1006a7ac
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.10001810
int3