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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001e7c3
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x1002f0ac]
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 edx, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x2dc], ebx
mov dword [ebp - 0x2d8], edi
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
cmp word [edx], ax
jne 0x10001ef0
xor ecx, ecx
jmp 0x10001f04
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10001ef5
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.10001920
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 0
push eax
call fcn.100029a0
add esp, 4
test eax, eax
jne 0x10001f34
push 1
push 0x1002032c
lea ecx, [ebp - 0x58]
call fcn.100016d0
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x2c8], 0
lea eax, [ebp - 0x2d0]
mov byte [ebp - 4], 1
push eax
push 0x10020360
push ebx
call fcn.100029e0
add esp, 0xc
mov dword [ebp - 0x2c], 7
xor eax, eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x40]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10001800
push 3
push 0x10020358
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.100016d0
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x2c0]
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
mov dword [ebp - 0x2d4], ebx
cmp ebx, 0xffffffff
je 0x1000225a
mov ebx, dword [ebp + 0x14]
mov esi, eax
test byte [ebp - 0x2c0], 0x10
je 0x10002091
cmp word [ebp - 0x294], 0x2e
je 0x1000223d
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x58]
mov dword [ebp - 0x18], 0
push eax
call fcn.10001800
cmp word [ebp - 0x294], 0
mov byte [ebp - 4], 3
jne 0x10002020
xor ecx, ecx
jmp 0x1000203f
lea ecx, [ebp - 0x294]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002030
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x28]
call fcn.100016d0
test bl, bl
je 0x1000206f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ebx
cmovae eax, dword [ebp - 0x28]
push edi
push dword [ebp - 0x2dc]
push eax
call fcn.10001e90
add esp, 0x10
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x1000223d
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10001a20
jmp 0x1000223d
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.10001b70
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 4
push eax
call fcn.10002af0
mov esi, dword [ebp - 0x2d0]
xor al, al
mov ebx, dword [ebp - 0x2cc]
add esp, 0xc
mov byte [ebp - 0x2c1], al
cmp esi, ebx
je 0x1000212a
nop dword [eax]
cmp dword [esi + 0x14], 8
jb 0x100020da
mov edi, dword [esi]
jmp 0x100020dc
mov edi, esi
lea ecx, [ebp - 0x70]
call fcn.10001be0
mov cx, word [eax]
cmp cx, word [edi]
jne 0x1000210a
test cx, cx
je 0x10002106
mov cx, word [eax + 2]
cmp cx, word [edi + 2]
jne 0x1000210a
add eax, 4
add edi, 4
test cx, cx
jne 0x100020e4
xor eax, eax
jmp 0x1000210f
sbb eax, eax
or eax, 1
test eax, eax
je 0x10002122
add esi, 0x18
cmp esi, ebx
jne 0x100020d0
mov al, byte [ebp - 0x2c1]
jmp 0x10002124
mov al, 1
mov edi, dword [ebp - 0x2d8]
test al, al
je 0x100021f1
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x58]
mov dword [ebp - 0x18], 0
push eax
call fcn.10001800
cmp word [ebp - 0x294], 0
mov byte [ebp - 4], 5
jne 0x10002167
xor ecx, ecx
jmp 0x1000217f
lea ecx, [ebp - 0x294]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002170
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x28]
call fcn.100016d0
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.10002720
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x100021f1
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x7fffffff
ja 0x1000226d
add eax, eax
cmp eax, 0x1000
jb 0x100021e8
test cl, 0x1f
jne 0x1000226d
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x1000226d
sub ecx, eax
cmp ecx, 4
jb 0x1000226d
cmp ecx, 0x23
ja 0x1000226d
mov ecx, eax
push ecx
call fcn.10009e22
add esp, 4
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x10002234
mov ecx, dword [ebp - 0x70]
inc eax
cmp eax, 0x7fffffff
ja 0x1000226d
add eax, eax
cmp eax, 0x1000
jb 0x1000222b
test cl, 0x1f
jne 0x1000226d
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x1000226d
sub ecx, eax
cmp ecx, 4
jb 0x1000226d
cmp ecx, 0x23
ja 0x1000226d
mov ecx, eax
push ecx
call fcn.10009e22
add esp, 4
mov esi, dword [ebp - 0x2d4]
mov ebx, dword [ebp + 0x14]
lea eax, [ebp - 0x2c0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10001fd0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x100022b3
mov ecx, dword [ebp - 0x40]
inc eax
cmp eax, 0x7fffffff
jbe 0x10002272
call fcn.1000e0f1
add eax, eax
cmp eax, 0x1000
jb 0x100022aa
test byte [ebp - 0x40], 0x1f
je 0x10002286
call fcn.1000e0f1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x10002292
call fcn.1000e0f1
sub ecx, eax
cmp ecx, 4
jae 0x1000229e
call fcn.1000e0f1
cmp ecx, 0x23
jbe 0x100022a8
call fcn.1000e0f1
mov ecx, eax
push ecx
call fcn.10009e22
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x30], 0
test eax, eax
je 0x1000237e
push dword [ebp - 0x2dc]
lea ecx, [ebp - 0x2d0]
push ecx
push dword [ebp - 0x2cc]
push eax
call fcn.10001cf0
mov ecx, dword [ebp - 0x2c8]
mov eax, 0x2aaaaaab
mov ebx, dword [ebp - 0x2d0]
add esp, 0x10
sub ecx, ebx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xaaaaaaa
jbe 0x1000231c
call fcn.1000e0f1
lea eax, [eax + eax*2]
shl eax, 3
cmp eax, 0x1000
jb 0x10002357
test bl, 0x1f
je 0x10002333
call fcn.1000e0f1
mov eax, dword [ebx - 4]
cmp eax, ebx
jb 0x1000233f
call fcn.1000e0f1
sub ebx, eax
cmp ebx, 4
jae 0x1000234b
call fcn.1000e0f1
cmp ebx, 0x23
jbe 0x10002355
call fcn.1000e0f1
mov ebx, eax
push ebx
call fcn.10009e22
add esp, 4
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x2c8], 0
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x100023d7
mov ecx, dword [ebp - 0x58]
inc eax
cmp eax, 0x7fffffff
jbe 0x10002396
call fcn.1000e0f1
add eax, eax
cmp eax, 0x1000
jb 0x100023ce
test byte [ebp - 0x58], 0x1f
je 0x100023aa
call fcn.1000e0f1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x100023b6
call fcn.1000e0f1
sub ecx, eax
cmp ecx, 4
jae 0x100023c2
call fcn.1000e0f1
cmp ecx, 0x23
jbe 0x100023cc
call fcn.1000e0f1
mov ecx, eax
push ecx
call fcn.10009e22
add esp, 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.1000a19d
mov esp, ebp
pop ebp
ret