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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x5c4e68]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push 0x13c
mov dword [ebp - 0x15c], eax
lea eax, [ebp - 0x148]
push esi
push eax
mov dword [ebp - 0x14c], esi
call fcn.005117f0
add esp, 0xc
mov edx, edi
mov dword [ebp - 0x154], esi
call fcn.004c3b34
test eax, eax
je 0x429919
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051291c
leave
ret
push 1
mov ebx, 0x71c
push ebx
call fcn.00511988
mov esi, eax
test esi, esi
pop ecx
pop ecx
mov dword [ebp - 0x150], esi
je 0x429908
push 1
push ebx
call fcn.00511988
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x158], eax
jne 0x429951
push esi
call fcn.00511758
pop ecx
jmp 0x429908
push edi
mov ecx, ebx
mov eax, esi
call fcn.004c3b66
pop ecx
mov edx, esi
call fcn.004c470f
call fcn.004c47b0
push 0x22
mov edi, esi
call fcn.004c4594
pop ecx
push esi
call fcn.0042adad
test eax, eax
pop ecx
je 0x4299b3
mov edi, 0x533004
push edi
push esi
call fcn.00512350
test eax, eax
pop ecx
pop ecx
jne 0x4299b3
push esi
call fcn.005120b0
cmp byte [eax + esi - 1], 0x5c
pop ecx
je 0x4299aa
push 0x53ed7c
mov eax, ebx
call fcn.004c3c36
pop ecx
push edi
mov eax, ebx
call fcn.004c3c36
pop ecx
lea eax, [ebp - 0x14c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x160], eax
jne 0x4299e8
xor edi, edi
push esi
call fcn.00511758
pop ecx
push dword [ebp - 0x158]
call fcn.00511758
pop ecx
mov eax, edi
jmp 0x42990a
mov edi, 0x104
lea edx, [ebp - 0x120]
call fcn.004c3b34
test eax, eax
jne 0x429a8f
cmp byte [ebp - 0x120], 0x2e
je 0x429a8f
cmp dword [ebp + 0xc], eax
je 0x429a1b
test byte [ebp - 0x14c], 2
jne 0x429a8f
test byte [ebp - 0x14c], 0x10
jne 0x429a8f
inc dword [ebp - 0x154]
cmp dword [ebp - 0x15c], 0
je 0x429a8f
mov esi, dword [ebp - 0x158]
lea eax, [ebp - 0x120]
push eax
mov ecx, ebx
mov eax, esi
call fcn.004c3b66
pop ecx
push dword [ebp - 0x150]
mov ecx, edi
lea eax, [ebp - 0x120]
call fcn.004c3b66
pop ecx
call fcn.004c3eab
mov edx, eax
mov ecx, esi
call fcn.004c40f5
push esi
mov ecx, edi
lea eax, [ebp - 0x120]
call fcn.004c3b66
pop ecx
push dword [ebp + 0x18]
lea eax, [ebp - 0x14c]
push eax
call dword [ebp - 0x15c]
test eax, eax
je 0x429ab0
lea eax, [ebp - 0x14c]
push eax
push dword [ebp - 0x160]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4299ed
mov esi, dword [ebp - 0x158]
push dword [ebp - 0x160]
mov ebx, dword [sym.imp.KERNEL32.dll_FindClose]
call ebx
cmp dword [ebp + 0x10], 0
je 0x429b7d
push dword [ebp - 0x150]
push esi
call fcn.005123e0
mov eax, esi
call fcn.004c3eab
push 0x533004
push esi
call fcn.005123f0
add esp, 0x10
lea eax, [ebp - 0x14c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x429b7d
lea edx, [ebp - 0x120]
call fcn.004c3b34
test eax, eax
jne 0x429b68
cmp byte [ebp - 0x120], 0x2e
je 0x429b68
cmp dword [ebp + 0xc], eax
je 0x429b24
test byte [ebp - 0x14c], 2
jne 0x429b68
test byte [ebp - 0x14c], 0x10
je 0x429b68
push dword [ebp - 0x150]
push esi
call fcn.005123e0
lea eax, [ebp - 0x120]
push eax
mov ecx, esi
call fcn.004c3fde
add esp, 0xc
push dword [ebp + 0x18]
push dword [ebp - 0x15c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.004298b8
add esp, 0x14
add dword [ebp - 0x154], eax
lea eax, [ebp - 0x14c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x429afe
push edi
call ebx
mov edi, dword [ebp - 0x154]
mov esi, dword [ebp - 0x150]
jmp 0x4299ce