Function at 0x4fdae0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x158
push ebx
push esi
push edi
mov edi, 0x8cccd0
mov ebx, eax
lea eax, [esp + 0xc]
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], edi
call fcn.00412f10
mov esi, dword [esp + 0xc]
mov eax, dword [esi - 4]
add eax, esi
cmp esi, eax
mov ecx, esi
jae 0x4fdb1d
cmp byte [ecx], 0x2f
jne 0x4fdb18
mov byte [ecx], 0x5c
inc ecx
cmp ecx, eax
jb 0x4fdb10
mov eax, dword [esi - 4]
cmp byte [esi + eax - 1], 0x5c
je 0x4fdb39
push 0x70e1b4
lea eax, [esp + 0x10]
call fcn.00412e50
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x16c]
push ecx
mov ecx, dword [esp + 0x16c]
push 0
push esi
call fcn.004fd110
mov esi, dword [esi - 4]
push 0x712b0c
lea eax, [esp + 0x10]
mov dword [esp + 0x24], esi
call fcn.00412e50
push 0x712b08
lea eax, [esp + 0x10]
call fcn.00412e50
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x24]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
je 0x4fddcd
push ebp
mov dword [esp + 0x1c], 0x8ccccc
jmp 0x4fdba3
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x10]
test esi, esi
jge 0x4fdba9
xor esi, esi
mov ebp, dword [ebx - 4]
cmp esi, ebp
jle 0x4fdbb2
mov esi, ebp
test ebp, ebp
jge 0x4fdbb8
xor esi, esi
cmp esi, ebp
jne 0x4fdc18
test ebp, ebp
mov ebx, 0x8cccd0
mov dword [esp + 0x14], ebx
jl 0x4fdcd7
cmp dword [esp + 0x10], ebx
je 0x4fdcd7
test ebp, ebp
je 0x4fdc06
mov esi, ebp
lea edi, [esp + 0x14]
call fcn.004f4a30
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
push ebp
push eax
push ebx
call dword [sym.imp.MSVCR71.dll_memmove]
mov ecx, dword [ebx - 4]
add esp, 0xc
mov byte [ebx + ecx], 0
jmp 0x4fdcd7
lea ecx, [esp + 0x14]
call fcn.00412f90
mov ebx, dword [esp + 0x14]
jmp 0x4fdcd7
test esi, esi
mov ebp, 0x8cccd0
mov dword [esp + 0x14], ebp
jl 0x4fdc6d
cmp ebx, ebp
je 0x4fdc6d
test esi, esi
je 0x4fdc53
lea edi, [esp + 0x14]
call fcn.004f4a30
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
push esi
push edx
push ebp
call dword [sym.imp.MSVCR71.dll_memmove]
mov eax, dword [ebp - 4]
add esp, 0xc
mov byte [eax + ebp], 0
jmp 0x4fdc6d
mov eax, dword [0x8ccccc]
test eax, eax
je 0x4fdc6d
mov byte [0x8cccd0], 0
mov dword [0x8ccccc], 0
mov esi, dword [ebp - 4]
test esi, esi
mov ebx, 0x8cccd0
mov dword [esp + 0x14], ebx
jl 0x4fdcc1
cmp ebp, ebx
je 0x4fdcc1
test esi, esi
je 0x4fdca7
lea edi, [esp + 0x14]
call fcn.004f4a30
mov ebx, dword [esp + 0x14]
push esi
push ebp
push ebx
call dword [sym.imp.MSVCR71.dll_memmove]
mov ecx, dword [ebx - 4]
add esp, 0xc
mov byte [ebx + ecx], 0
jmp 0x4fdcc1
mov eax, dword [0x8ccccc]
test eax, eax
je 0x4fdcc1
mov byte [0x8cccd0], 0
mov dword [0x8ccccc], 0
add ebp, 0xfffffff8
je 0x4fdcd7
cmp ebp, 0x8cccc8
je 0x4fdcd7
push ebp
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 4
mov esi, dword [ebx - 4]
test esi, esi
jl 0x4fdd25
mov ecx, dword [esp + 0x18]
cmp ebx, ecx
je 0x4fdd25
test esi, esi
je 0x4fdd13
lea edi, [esp + 0x18]
call fcn.004f4a30
push esi
mov esi, dword [esp + 0x1c]
push ebx
push esi
call dword [sym.imp.MSVCR71.dll_memmove]
mov edx, dword [esi - 4]
lea eax, [esi - 4]
add esp, 0xc
mov dword [esp + 0x1c], eax
mov byte [esi + edx], 0
jmp 0x4fdd25
mov eax, dword [esp + 0x1c]
cmp dword [eax], 0
je 0x4fdd25
mov byte [ecx], 0
mov dword [eax], 0
add ebx, 0xfffffff8
je 0x4fdd3b
cmp ebx, 0x8cccc8
je 0x4fdd3b
push ebx
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 4
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4fdd42
sub eax, edx
mov ebx, eax
test ebx, ebx
mov eax, dword [esp + 0x1c]
mov ebp, dword [eax]
jle 0x4fdd94
test ebp, ebp
jl 0x4fdd94
lea esi, [ebx + ebp]
cmp esi, ebp
jle 0x4fdd7c
lea edi, [esp + 0x18]
call fcn.004f4a30
mov eax, dword [esp + 0x18]
lea ecx, [eax - 4]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ecx]
mov byte [eax + ecx], 0
mov edi, dword [esp + 0x18]
push ebx
lea edx, [esp + 0x58]
push edx
add ebp, edi
push ebp
call dword [sym.imp.MSVCR71.dll_memmove]
add esp, 0xc
jmp 0x4fdd98
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x16c]
push 0
push eax
mov eax, edi
call fcn.004fde10
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x28]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4fdb9b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [esp + 0x10]
pop ebp
lea eax, [ebx - 8]
test eax, eax
je 0x4fdde4
cmp eax, 0x8cccc8
je 0x4fdde4
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 4
lea eax, [edi - 8]
test eax, eax
pop edi
pop esi
pop ebx
je 0x4fddfe
cmp eax, 0x8cccc8
je 0x4fddfe
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 4
add esp, 0x158
ret 8