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

Disassembly:
push 0x2d8
mov eax, 0x4fa344
call fcn.0041c61c
mov dword [ebp - 0x2e0], ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x2dc], eax
mov dword [ebp - 0x2d8], esi
test eax, eax
jne 0x42e8fa
xor eax, eax
jmp 0x42ea0a
test esi, esi
je 0x42e8f3
push eax
lea ecx, [ebp - 0x70]
xor ebx, ebx
call fcn.0040ade0
and dword [ebp - 4], ebx
mov edi, 0x5056fc
push edi
call fcn.00497313
pop ecx
push eax
push edi
lea ecx, [ebp - 0x70]
call fcn.0040e650
xor edi, edi
mov dword [ebp - 0x2c], 7
xor eax, eax
mov dword [ebp - 0x30], edi
mov word [ebp - 0x40], ax
inc eax
lea ecx, [ebp - 0x58]
push esi
mov byte [ebp - 4], al
call fcn.0040ade0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
call fcn.0042780b
mov dword [ebp - 0x2d0], edi
mov dword [ebp - 0x2cc], edi
mov dword [ebp - 0x2c8], edi
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x2d0]
push ecx
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
cmovae eax, dword [ebp - 0x58]
push 0x505858
push eax
call fcn.004275e3
mov eax, dword [ebp - 0x2cc]
add esp, 0x10
sub eax, dword [ebp - 0x2d0]
cdq
mov dword [ebp - 0x2d4], edi
push 0x18
pop ecx
idiv ecx
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x2e4], eax
lea eax, [ebp - 0x2c0]
cmovae ecx, dword [ebp - 0x70]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2c4], eax
cmp eax, 0xffffffff
jne 0x42ea18
xor esi, esi
inc esi
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test edi, edi
jle 0x42e9dd
cmp edi, dword [ebp - 0x2e4]
cmovge ebx, esi
lea ecx, [ebp - 0x2d0]
call fcn.00427b0a
xor edi, edi
lea ecx, [ebp - 0x58]
push edi
push esi
call fcn.0040e4d0
push edi
push esi
lea ecx, [ebp - 0x40]
call fcn.0040e4d0
push edi
push esi
lea ecx, [ebp - 0x70]
call fcn.0040e4d0
mov eax, ebx
call fcn.0041c5d7
ret 8
mov esi, dword [ebp - 0x2d8]
lea ecx, [ebp - 0x2c0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov eax, dword [ebp - 0x2c4]
je 0x42e9c6
push 0x2e
pop ecx
cmp word [ebp - 0x294], cx
je 0x42ea18
cmp word [ebp - 0x292], 0
je 0x42ea18
cmp word [ebp - 0x292], cx
jne 0x42ea59
cmp word [ebp - 0x290], 0
je 0x42ea18
cmp word [ebp - 0x294], 0
jne 0x42ea67
xor eax, eax
jmp 0x42ea74
lea eax, [ebp - 0x294]
push eax
call fcn.00497313
pop ecx
push eax
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x40]
call fcn.004078c0
test byte [ebp - 0x2c0], 0x10
je 0x42eafa
push dword [ebp - 0x2dc]
lea ecx, [ebp - 0x28]
call fcn.0040ade0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x28]
call fcn.0040e540
push 0x503374
call fcn.00497313
pop ecx
push eax
push 0x503374
lea ecx, [ebp - 0x28]
call fcn.0040e650
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x2e0]
cmovae eax, dword [ebp - 0x28]
push esi
push eax
call fcn.0042e8c8
lea ecx, [ebp - 0x28]
push 0
test eax, eax
jne 0x42eb7d
push 1
mov byte [ebp - 4], 3
call fcn.0040e4d0
jmp 0x42eb72
lea eax, [ebp - 0x40]
push eax
call fcn.0042780b
mov esi, dword [ebp - 0x2d0]
mov eax, dword [ebp - 0x2c4]
pop ecx
cmp esi, dword [ebp - 0x2cc]
je 0x42ea12
cmp dword [esi + 0x14], 8
jb 0x42eb26
mov eax, dword [esi]
jmp 0x42eb28
mov eax, esi
push eax
lea ecx, [ebp - 0x28]
call fcn.0040ade0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00422120
push 0
push 1
lea ecx, [ebp - 0x28]
mov edi, eax
call fcn.0040e4d0
mov eax, dword [ebp - 0x2d4]
add esi, 0x18
test edi, edi
lea ecx, [eax + 1]
cmovne ecx, eax
mov edi, ecx
mov dword [ebp - 0x2d4], edi
cmp esi, dword [ebp - 0x2cc]
jne 0x42eb1c
mov esi, dword [ebp - 0x2d8]
mov eax, dword [ebp - 0x2c4]
jmp 0x42ea18
xor esi, esi
inc esi
push esi
mov ebx, esi
call fcn.0040e4d0
mov eax, dword [ebp - 0x2c4]
jmp 0x42e9c9