Function at 0x4f6a98
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 - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4f6da1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi + 0x334]
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 - 4]
mov ecx, 0x4f6db8
call fcn.00404b74
mov eax, dword [ebp - 4]
call fcn.00404d28
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
test eax, eax
je 0x4f6d42
lea eax, [ebp - 0x148]
push eax
push 0x4f6dc8
call sub.kernel32.dll_FindFirstFileA_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x4f6d39
mov eax, dword [esi + 0x334]
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 0x4f6bc1
sub eax, 0x3ff
jb 0x4f6bd3
sub eax, 0xffc00
jb 0x4f6c0c
jmp 0x4f6c73
mov edx, 0x4f6dd8
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4f6cd8
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, 0x4f6de8
call fcn.0040a4d0
mov edx, dword [ebp - 0x158]
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4f6cd8
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 [0x4f6df0]
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, 0x4f6dfc
call fcn.0040a4d0
mov edx, dword [ebp - 0x164]
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4f6cd8
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 [0x4f6e04]
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, 0x4f6e10
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 - 4]
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 - 4]
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
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindNextFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4f6b64
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindClose_1
xor edx, edx
mov eax, dword [esi + 0x334]
call fcn.00456710
mov edx, dword [esi + 0x334]
mov edx, dword [edx + 0x48]
sub edx, 0x14
call fcn.00452164
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f6da8
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 - 4]
call fcn.00404868
ret