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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e782d
mov eax, dword fs:[0]
push eax
sub esp, 0x2e4
mov eax, dword [0x101170e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.1000df90
movzx eax, al
test eax, eax
je 0x100298af
jmp 0x10029ae1
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x40]
call fcn.1000bfd0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.1000e560
sub eax, 1
push eax
lea ecx, [ebp - 0x40]
call fcn.1000d5b0
movzx edx, word [eax]
cmp edx, 0x5c
je 0x100298eb
push 0x100f2a30
lea ecx, [ebp - 0x40]
call fcn.10025b90
push 2
push 0
push 0
lea eax, [ebp - 0x2a8]
push eax
push 0
push 0x100f2a34
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x2d8]
push edx
call fcn.10016ac0
add esp, 0xc
mov dword [ebp - 0x2bc], eax
mov ecx, dword [ebp - 0x2bc]
call fcn.1000b540
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov dword [ebp - 0x2b0], eax
lea ecx, [ebp - 0x2d8]
call fcn.10002420
cmp dword [ebp - 0x2b0], 0xffffffff
je 0x10029ad2
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x28]
call fcn.1000d2b0
mov byte [ebp - 4], 1
push 0x100f2a38
lea ecx, [ebp - 0x28]
push ecx
call fcn.10016860
add esp, 8
movzx edx, al
test edx, edx
jne 0x1002998b
push 0x100f2a3c
lea eax, [ebp - 0x28]
push eax
call fcn.10016860
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x1002999c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10002420
jmp 0x10029aa9
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.10016a30
add esp, 0xc
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x2a8]
and edx, 0x10
jne 0x10029a81
lea ecx, [ebp - 0x28]
call fcn.1000df90
movzx eax, al
test eax, eax
jne 0x10029a7f
push 0xffffffffffffffff
push 0x2e
lea ecx, [ebp - 0x28]
call fcn.10032f30
mov dword [ebp - 0x2b4], eax
cmp dword [ebp - 0x2b4], 0xffffffff
je 0x10029a7f
push 0x100f2a44
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x2b4]
push ecx
lea edx, [ebp - 0x2f0]
push edx
lea ecx, [ebp - 0x28]
call fcn.10013c20
mov dword [ebp - 0x2c0], eax
mov ecx, dword [ebp - 0x2c0]
call fcn.1000b540
push eax
call fcn.10093ed6
add esp, 8
test eax, eax
jne 0x10029a3c
mov dword [ebp - 0x2b8], 1
jmp 0x10029a46
mov dword [ebp - 0x2b8], 0
mov al, byte [ebp - 0x2b8]
mov byte [ebp - 0x2a9], al
lea ecx, [ebp - 0x2f0]
call fcn.10002420
movzx ecx, byte [ebp - 0x2a9]
test ecx, ecx
je 0x10029a7f
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.10024af0
mov ecx, eax
call fcn.1000c310
jmp 0x10029a91
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.10029870
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.10002420
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10002420
lea eax, [ebp - 0x2a8]
push eax
mov ecx, dword [ebp - 0x2b0]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10029948
mov edx, dword [ebp - 0x2b0]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10002420
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008511a
mov esp, ebp
pop ebp
ret