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

Disassembly:
push 0xffffffffffffffff
push 0x100f332b
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x10139d00]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10139d00]
xor eax, esp
push eax
lea eax, [esp + 0x294]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2a4]
mov ebp, dword [esp + 0x2a8]
xor ebx, ebx
cmp dword [esp + 0x2ac], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
jle 0x1002d8d8
push 1
push 0x104
call fcn.100d1909
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x1002d8d8
mov eax, ebp
mov edx, 0x104
mov ecx, esi
call fcn.10032b60
lea edi, [esp + 0x14]
mov ecx, 0x104
mov edx, esi
call fcn.10004070
cmp eax, ebx
jl 0x1002d8cf
mov eax, dword [esp + 0x14]
mov edx, 0x104
sub edx, eax
lea ecx, [eax + esi]
mov eax, 0x1012d63c
call fcn.100040d0
cmp eax, ebx
jge 0x1002d8df
push esi
call fcn.100d1800
add esp, 4
xor eax, eax
jmp 0x1002da86
lea ecx, [esp + 0x44]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x24], eax
cmp eax, 0xffffffff
je 0x1002d8cf
cmp byte [esp + 0x70], 0x2e
jne 0x1002d915
mov al, byte [esp + 0x71]
cmp al, bl
je 0x1002da59
cmp al, 0x2e
jne 0x1002d915
cmp byte [esp + 0x72], bl
je 0x1002da59
mov ecx, 0x1012d640
lea eax, [esp + 0x70]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1002d940
cmp dl, bl
je 0x1002d93c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1002d940
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x1002d920
xor eax, eax
jmp 0x1002d945
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x1002da59
push 0x103
lea edx, [esp + 0x189]
push ebx
push edx
mov byte [esp + 0x190], bl
call fcn.100d4cc0
add esp, 0xc
mov eax, ebp
mov edx, 0x104
lea ecx, [esp + 0x184]
call fcn.10032b60
lea edi, [esp + 0x14]
mov ecx, 0x104
lea edx, [esp + 0x184]
call fcn.10004070
cmp eax, ebx
jl 0x1002d9b2
mov eax, dword [esp + 0x14]
mov edx, 0x104
sub edx, eax
lea ecx, [esp + eax + 0x184]
mov eax, 0x1012d650
call fcn.100040d0
lea edi, [esp + 0x20]
mov ecx, 0x104
lea edx, [esp + 0x184]
call fcn.10004070
cmp eax, ebx
jl 0x1002da59
mov eax, dword [esp + 0x20]
mov edx, 0x104
sub edx, eax
lea ecx, [esp + eax + 0x184]
lea eax, [esp + 0x70]
call fcn.100040d0
cmp eax, ebx
jl 0x1002da59
test byte [esp + 0x44], 0x10
je 0x1002da1d
mov edi, dword [esp + 0x2ac]
mov ecx, dword [esp + 0x18]
push edi
lea eax, [esp + 0x188]
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.1002d820
dec edi
mov dword [esp + 0x2ac], edi
jmp 0x1002da59
lea edx, [esp + 0x184]
push edx
lea ecx, [esp + 0x2c]
call fcn.10002670
lea eax, [esp + 0x28]
mov dword [esp + 0x29c], ebx
mov ebx, dword [esp + 0x18]
push eax
call fcn.1002f6d0
lea ecx, [esp + 0x28]
mov dword [esp + 0x29c], 0xffffffff
call fcn.10002cc0
xor ebx, ebx
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x44]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1002d8f4
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call fcn.100d1800
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x294]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.100d0738
add esp, 0x28c
ret 0xc