Function at 0x4f65d0
Capabilities:
Enumerate files on windows
Set current directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe80
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x17c], edx
mov dword [ebp - 0x180], edx
mov dword [ebp - 0x178], edx
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x158], edx
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f68b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
mov eax, dword [eax + 0x22c]
call fcn.00453138
lea edx, [ebp - 0x150]
mov eax, dword [0x55c428]
mov eax, dword [eax]
call fcn.0048e21c
mov eax, dword [ebp - 0x150]
lea edx, [ebp - 0x14c]
call fcn.00409adc
mov edx, dword [ebp - 0x14c]
lea eax, [ebp - 8]
mov ecx, 0x4f68c8
call fcn.00404b74
mov eax, dword [ebp - 8]
call fcn.00404d28
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [ebp - 0x148]
push eax
push 0x4f68d4
call sub.kernel32.dll_FindFirstFileA_1
mov esi, eax
cmp esi, 0xffffffff
je 0x4f686b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
mov eax, dword [eax + 0x22c]
call fcn.00452fdc
mov ebx, eax
lea eax, [ebp - 0x144]
call fcn.004d0b68
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x154]
call fcn.0040c258
mov edx, dword [ebp - 0x154]
mov eax, ebx
call fcn.00452a7c
mov edi, dword [ebp - 0x128]
mov eax, edi
sub eax, 1
jb 0x4f66f6
sub eax, 0x3ff
jb 0x4f6708
sub eax, 0xffc00
jb 0x4f6741
jmp 0x4f67a8
mov edx, 0x4f68e4
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4f680d
lea eax, [ebp - 0x158]
push eax
mov dword [ebp - 0x160], edi
mov byte [ebp - 0x15c], 0
lea edx, [ebp - 0x160]
xor ecx, ecx
mov eax, 0x4f68f4
call fcn.0040a4d0
mov edx, dword [ebp - 0x158]
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4f680d
lea eax, [ebp - 0x164]
push eax
mov dword [ebp - 0x16c], edi
xor eax, eax
mov dword [ebp - 0x168], eax
fild qword [ebp - 0x16c]
fdiv dword [0x4f68fc]
call fcn.00402c8c
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x170], edx
lea eax, [ebp - 0x174]
mov dword [ebp - 0x160], eax
mov byte [ebp - 0x15c], 0x10
lea edx, [ebp - 0x160]
xor ecx, ecx
mov eax, 0x4f6908
call fcn.0040a4d0
mov edx, dword [ebp - 0x164]
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4f680d
lea eax, [ebp - 0x178]
push eax
mov dword [ebp - 0x16c], edi
xor eax, eax
mov dword [ebp - 0x168], eax
fild qword [ebp - 0x16c]
fdiv dword [0x4f6910]
call fcn.00402c8c
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x170], edx
lea eax, [ebp - 0x174]
mov dword [ebp - 0x160], eax
mov byte [ebp - 0x15c], 0x10
lea edx, [ebp - 0x160]
xor ecx, ecx
mov eax, 0x4f691c
call fcn.0040a4d0
mov edx, dword [ebp - 0x178]
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x180]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00404ad8
mov ecx, dword [ebp - 0x180]
lea eax, [ebp - 0x17c]
mov edx, dword [ebp - 8]
call fcn.00404b74
mov edx, dword [ebp - 0x17c]
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x148]
push eax
push esi
call sub.kernel32.dll_FindNextFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4f6696
push esi
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f68b9
lea eax, [ebp - 0x180]
mov edx, 3
call fcn.0040488c
lea eax, [ebp - 0x164]
call fcn.00404868
lea eax, [ebp - 0x158]
mov edx, 4
call fcn.0040488c
lea eax, [ebp - 8]
call fcn.00404868
ret