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

Disassembly:
sub esp, 0x198
push ebx
mov ebx, dword [esp + 0x1a0]
xor eax, eax
cmp ebx, eax
push edi
mov edi, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
je 0x4fd49a
cmp byte [ebx], al
je 0x4fd49a
push ebp
mov ebp, 0x8cccd0
push esi
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebp
call fcn.00412f10
mov esi, dword [esp + 0x10]
mov eax, dword [esi - 4]
add eax, esi
cmp esi, eax
mov ecx, esi
jae 0x4fd16f
cmp byte [ecx], 0x2f
jne 0x4fd16a
mov byte [ecx], 0x5c
inc ecx
cmp ecx, eax
jb 0x4fd162
mov eax, dword [esi - 4]
cmp byte [esi + eax - 1], 0x5c
je 0x4fd18b
push 0x70e1b4
lea eax, [esp + 0x14]
call fcn.00412e50
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x1b4]
test ebx, ebx
mov dword [esp + 0x1c], ebp
je 0x4fd1b9
cmp byte [ebx], 0
je 0x4fd1b9
lea eax, [esp + 0x1c]
call fcn.00412f10
mov al, 0x5c
mov bl, 0x2f
lea ecx, [esp + 0x1c]
call fcn.004f3780
mov ebp, dword [esp + 0x1c]
push 4
call fcn.005354b8
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4fd1d6
lea eax, [esp + 0x10]
call fcn.00412df0
mov ebx, eax
jmp 0x4fd1d8
xor ebx, ebx
push ebx
mov eax, edi
call fcn.004fd720
mov ecx, dword [esi - 4]
push 0x712b04
lea eax, [esp + 0x14]
mov dword [esp + 0x20], ecx
call fcn.00412e50
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x68]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
jne 0x4fd250
lea eax, [ebp - 8]
test eax, eax
je 0x4fd225
cmp eax, 0x8cccc8
je 0x4fd225
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 4
lea eax, [esi - 8]
test eax, eax
je 0x4fd23c
cmp eax, 0x8cccc8
je 0x4fd23c
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 4
pop esi
pop ebp
pop edi
xor eax, eax
pop ebx
add esp, 0x198
ret 0xc
mov edi, dword [esp + 0x20]
nop
mov al, byte [esp + 0x68]
test al, 6
jne 0x4fd43a
test al, 0x10
je 0x4fd2e8
mov edi, 0x6f7894
lea esi, [esp + 0x94]
mov ecx, 2
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4fd43a
mov edi, 0x712b00
lea esi, [esp + 0x94]
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4fd43a
mov ecx, dword [esp + 0x1c]
lea esi, [esp + 0x28]
lea edi, [esp + 0x10]
call fcn.00475fb0
mov ecx, edi
call fcn.00412ec0
mov ecx, esi
call fcn.00412fb0
lea eax, [esp + 0x94]
push eax
mov eax, edi
call fcn.00412e50
mov ecx, dword [esp + 0x1b0]
mov edx, dword [esp + 0x10]
push ebp
push ecx
mov ecx, dword [esp + 0x28]
push edx
call fcn.004fd110
add dword [esp + 0x14], eax
jmp 0x4fd43a
mov al, byte [esp + 0x1b0]
test al, al
je 0x4fd358
lea eax, [esp + 0x94]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4fd300
sub eax, edx
push 4
lea eax, [esp + eax + 0x94]
push str..FPK
push eax
call dword [sym.imp.MSVCR71.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x4fd358
lea esi, [esp + 0x30]
call fcn.004fd6b0
push 0
push edi
mov ecx, esi
push ecx
lea eax, [esp + 0xa0]
call fcn.004ff6c0
mov ecx, dword [esp + 0x14]
add ecx, eax
mov edi, esi
mov dword [esp + 0x14], ecx
call fcn.004ff7b0
mov eax, esi
call fcn.004fd660
mov al, byte [0x8cccf8]
test al, al
je 0x4fd3f2
mov esi, dword [ebp - 4]
test esi, esi
je 0x4fd387
mov edx, dword [ebx]
push esi
push ebp
push edx
call dword [sym.imp.MSVCR71.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x4fd387
mov eax, esi
xor ecx, ecx
call fcn.004f3430
push 0x28
call fcn.005354b8
mov esi, eax
add esp, 4
test esi, esi
je 0x4fd3d3
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x30]
or edx, 1
push ecx
mov eax, ebx
mov dword [esp + 0x20], edx
call fcn.00412a60
mov eax, dword [eax]
mov ecx, dword [esp + 0x88]
push ebp
push eax
push 0
lea edx, [esp + 0x88]
call fcn.004fd630
mov esi, eax
jmp 0x4fd3d5
xor esi, esi
test byte [esp + 0x18], 1
je 0x4fd426
mov eax, dword [esp + 0x18]
and eax, 0xfffffffe
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], eax
call fcn.00412fb0
jmp 0x4fd426
push 0x28
call fcn.005354b8
add esp, 4
test eax, eax
je 0x4fd424
mov ecx, dword [esp + 0x88]
push 0
lea edx, [esp + 0x98]
push edx
push ebx
lea edx, [esp + 0x88]
mov esi, eax
call fcn.004fd630
mov esi, eax
jmp 0x4fd426
xor esi, esi
mov eax, dword [esp + 0x20]
push 0
push esi
call fcn.004fd4b0
test al, al
je 0x4fd43a
inc dword [esp + 0x14]
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x68]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4fd24b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 8]
test eax, eax
je 0x4fd470
cmp eax, 0x8cccc8
je 0x4fd470
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [esp + 0x10]
add eax, 0xfffffff8
je 0x4fd489
cmp eax, 0x8cccc8
je 0x4fd489
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [esp + 0x14]
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x198
ret 0xc
pop edi
xor eax, eax
pop ebx
add esp, 0x198
ret 0xc