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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x368
mov dword [ebp - 0x368], ecx
mov dword [ebp - 0x358], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0x104
lea edx, [ebp - 0x20c]
push edx
call fcn.00409000
lea eax, [ebp - 0x20c]
push eax
call sub.ntdll.dll_strlen
add esp, 4
lea ecx, [ebp + eax - 0x20c]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
movsx eax, byte [edx - 1]
cmp eax, 0x5c
je 0x4869af
mov ecx, dword [ebp - 4]
mov byte [ecx], 0x5c
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov byte [eax], 0
push 0x537688
push 0x104
mov ecx, dword [ebp - 4]
push ecx
call fcn.00409000
lea edx, [ebp - 0x354]
push edx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0xffffffff
je 0x486c55
mov dword [ebp - 0x35c], 0
lea ecx, [ebp - 0x328]
push ecx
push 0x104
mov edx, dword [ebp - 4]
push edx
call fcn.00409000
mov eax, dword [ebp - 0x354]
and eax, 0x10
test eax, eax
je 0x486af7
push 0x53768c
lea ecx, [ebp - 0x328]
push ecx
call fcn.00402980
add esp, 8
test eax, eax
je 0x486af2
push 0x537690
lea edx, [ebp - 0x328]
push edx
call fcn.00402980
add esp, 8
test eax, eax
je 0x486af2
cmp dword [ebp + 0x18], 0
je 0x486af2
mov eax, dword [ebp - 0x210]
cmp dword [eax + 0x434], 0
jne 0x486af2
mov ecx, dword [ebp - 0x368]
add ecx, 0xc
push ecx
call sub.ntdll.dll_strlen
add esp, 4
sub eax, 1
push eax
mov edx, dword [ebp - 0x368]
add edx, 0xc
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.00415220
add esp, 0xc
test eax, eax
je 0x486ab7
push 0x537694
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x486abc
jmp 0x486c1d
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x368]
call fcn.0048693e
mov dword [ebp - 0x358], eax
cmp dword [ebp - 0x358], 0xffffffff
jne 0x486af2
jmp 0x486c48
jmp 0x486c1d
cmp dword [ebp - 0x338], 0
jne 0x486c1d
cmp dword [ebp - 0x334], 0x3200000
ja 0x486c1d
mov ecx, dword [ebp - 0x210]
cmp dword [ecx + 0x434], 0
jne 0x486c1d
mov eax, dword [ebp - 0x35c]
xor edx, edx
mov ecx, 5
div ecx
mov eax, dword [ebp - 0x35c]
add eax, 1
mov dword [ebp - 0x35c], eax
test edx, edx
jne 0x486b64
lea ecx, [ebp - 0x20c]
push ecx
push 0x53769c
mov edx, dword [ebp - 0x210]
push edx
call fcn.0040ba78
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call fcn.0042e1a0
add esp, 4
push 0x5c
lea ecx, [ebp - 0x20c]
push ecx
call fcn.0040a130
add esp, 8
mov dword [ebp - 0x360], eax
cmp dword [ebp - 0x360], 0
jne 0x486b98
jmp 0x486c1d
mov edx, dword [ebp - 0x360]
add edx, 1
mov dword [ebp - 0x360], edx
mov dword [ebp - 0x364], 0
jmp 0x486bc2
mov eax, dword [ebp - 0x364]
add eax, 1
mov dword [ebp - 0x364], eax
cmp dword [ebp - 0x364], 1
jae 0x486c1d
mov ecx, dword [ebp - 0x364]
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + ecx*4]
push eax
mov ecx, dword [ebp - 0x360]
push ecx
call fcn.00402980
add esp, 8
test eax, eax
jne 0x486c1b
lea edx, [ebp - 0x20c]
push edx
call fcn.0042b4af
add esp, 4
test eax, eax
je 0x486c1b
cmp dword [ebp + 8], 0
je 0x486c1b
mov eax, dword [ebp + 0xc]
push eax
push 0x67
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [ebp - 0x368]
push edx
call dword [ebp + 8]
jmp 0x486bb3
mov eax, dword [ebp - 0x210]
cmp dword [eax + 0x434], 0
jne 0x486c48
lea ecx, [ebp - 0x354]
push ecx
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4869f3
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x358]
mov esp, ebp
pop ebp
ret 0x14