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

Disassembly:
push 0x2cc
mov eax, 0x1017d650
call fcn.10077939
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c8], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x2d8], ecx
lea ecx, [ebp - 0x40]
push eax
call fcn.1001fcb0
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push eax
call fcn.1003feb9
pop ecx
test eax, eax
jne 0x10042f80
mov esi, 0x101d749c
push esi
call fcn.100649fb
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.10021a60
call fcn.1003c757
test al, al
je 0x10042fa3
push ebx
pop edx
push ebp
push ecx
push esp
push esp
pop esi
pop ebx
pop edx
pop edx
pop ebx
push esi
push eax
push esp
push esp
pop eax
pop ebx
pop eax
pop esi
pop eax
pop ebp
pop edi
push ebx
push edi
pop ebx
pop edx
call fcn.1003c8f5
test al, al
je 0x10042fc8
push esi
pop esp
push eax
push esi
push ebx
push esi
pop esp
push edi
pop ebp
push edi
push edx
pop edi
pop esp
push ecx
push ecx
pop eax
push ecx
pop ebp
push ebp
push ebx
pop esi
pop edi
pop ebx
push eax
pop ebp
push esp
push esi
push ebx
xor ebx, ebx
mov dword [ebp - 0x2d4], ebx
mov dword [ebp - 0x2d0], ebx
mov dword [ebp - 0x2cc], ebx
xor eax, eax
mov byte [ebp - 4], 1
mov esi, 0x1017f764
mov dword [ebp - 0x14], 7
push esi
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
call fcn.100649fb
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.1001fe10
push dword [ebp - 0x2c8]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.1001fcb0
lea eax, [ebp - 0x2d4]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.1004075e
add esp, 0xc
lea ecx, [ebp - 0x58]
push ebx
push 1
call fcn.1001fd50
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.1001fd50
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x70]
call fcn.10021880
mov esi, 0x101827a8
mov byte [ebp - 4], 4
push esi
call fcn.100649fb
pop ecx
push eax
push esi
lea ecx, [ebp - 0x70]
call fcn.10021a60
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x2c0]
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2c4], eax
call fcn.1003c7e1
test al, al
je 0x100430b0
pop edx
pop ebp
pop eax
push ecx
pop edx
push edx
pop edi
push eax
pop ebx
push esp
pop esi
push ebp
pop eax
pop ebx
pop edi
pop eax
push ebx
push edx
push ebx
push edi
pop eax
call fcn.1003c574
test al, al
je 0x100430c9
pop ecx
push ebp
pop ebp
push eax
pop ebp
pop ecx
push ebp
pop ecx
push edx
pop edi
pop edx
push eax
pop edx
pop edx
pop ecx
pop eax
call fcn.1003cb1d
test al, al
je 0x100430e6
pop esi
push ecx
pop edx
pop edx
push ebx
pop ebx
pop ecx
push edx
pop esi
pop ebp
push esi
push esi
pop esi
push ebp
push edi
pop ebx
push ebx
pop edi
pop ebp
pop esi
cmp dword [ebp - 0x2c4], 0xffffffff
je 0x100432fa
call fcn.1003c5fe
test al, al
je 0x1004311a
pop ebx
pop ecx
pop ebx
push esi
pop esp
push edx
push edx
push ebp
pop ecx
push edi
pop edx
push ebp
push ebx
pop esi
pop edi
push esp
pop ebx
pop esp
pop ecx
push edx
push ecx
push eax
pop ecx
push edi
push edx
pop ecx
push ecx
push edi
push esp
pop ecx
call fcn.1003c643
test al, al
je 0x10043137
push edx
push esi
pop ebx
push ebx
pop esi
push edi
pop ecx
pop esi
pop esp
pop eax
pop ecx
push ebx
pop eax
push ebp
pop esi
push esi
pop ebp
push eax
push ebx
push ebp
call fcn.1003c97f
test al, al
je 0x10043159
pop esi
pop edi
pop edi
push ebx
pop esp
pop ecx
pop edx
push ecx
push edx
push esi
push esi
push ecx
push eax
push ebp
pop esi
pop ebx
push esi
pop ebp
push edx
push ebx
pop esp
push edi
push edi
push ebp
push edi
mov esi, dword [ebp - 0x2c4]
mov edi, dword [ebp - 0x2d8]
test byte [ebp - 0x2c0], 0x10
je 0x100431f4
cmp word [ebp - 0x294], 0x2e
je 0x100432bd
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.10021880
cmp word [ebp - 0x294], 0
mov byte [ebp - 4], 5
jne 0x1004319e
xor eax, eax
jmp 0x100431ab
lea eax, [ebp - 0x294]
push eax
call fcn.100649fb
pop ecx
push eax
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x28]
call fcn.10021a60
cmp byte [ebp + 0x14], 0
je 0x100431df
push dword [ebp + 0x14]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push edi
cmovae eax, dword [ebp - 0x28]
push dword [ebp - 0x2c8]
push eax
call fcn.10042f2b
add esp, 0x10
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.1001fd50
jmp 0x100432bd
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1003ebbc
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
push eax
call fcn.10040b49
mov esi, dword [ebp - 0x2d4]
add esp, 0xc
xor bl, bl
jmp 0x10043245
cmp dword [esi + 0x14], 8
jb 0x10043228
mov ecx, dword [esi]
jmp 0x1004322a
mov ecx, esi
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10064b18
pop ecx
pop ecx
test eax, eax
je 0x1004324f
add esi, 0x18
cmp esi, dword [ebp - 0x2d0]
jne 0x1004321e
jmp 0x10043251
mov bl, 1
test bl, bl
je 0x100432a7
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x58]
call fcn.10021880
cmp word [ebp - 0x294], 0
mov byte [ebp - 4], 7
jne 0x10043273
xor eax, eax
jmp 0x10043280
lea eax, [ebp - 0x294]
push eax
call fcn.100649fb
pop ecx
push eax
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x58]
call fcn.10021a60
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.1004125f
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.1001fd50
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.1001fd50
mov esi, dword [ebp - 0x2c4]
lea eax, [ebp - 0x2c0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10043165
call fcn.1003c757
test al, al
je 0x100432f3
pop ebx
pop eax
pop ecx
pop ebp
push edi
push eax
push edx
pop esp
push ebx
push edi
push esp
pop edi
pop ecx
push esp
pop esp
push eax
push ebx
pop ebp
push ebx
pop edx
pop eax
push ecx
push esp
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
push 1
lea ecx, [ebp - 0x70]
call fcn.1001fd50
lea ecx, [ebp - 0x2d4]
call fcn.100434bb
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.1001fd50
call fcn.100778f4
ret