Function at 0x48c7e0
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Get common file path
Get file attributes
Move file
Set current directory
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4cd03b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x774
mov dword [esp + 0xc], ecx
push esi
push edi
lea ecx, [esp + 8]
xor esi, esi
call fcn.00403960
lea eax, [esp + 0x434]
mov dword [esp + 0x784], esi
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryA]
lea ecx, [esp + 0x434]
lea edx, [esp + 0x22c]
push ecx
push str._sImage
push edx
call fcn.004b8784
lea eax, [esp + 0x238]
lea ecx, [esp + 0x544]
push eax
push str._sTemp
push ecx
call fcn.004b8784
mov edi, dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryA]
add esp, 0x18
lea edx, [esp + 0x538]
push edx
call edi
test eax, eax
jne 0x48c8a6
lea eax, [esp + 0x434]
push eax
call edi
lea ecx, [esp + 8]
mov dword [esp + 0x784], 0xffffffff
call fcn.004039a0
pop edi
pop esi
mov ecx, dword [esp + 0x774]
mov dword fs:[0], ecx
add esp, 0x780
ret
push ebx
lea ecx, [esp + 0x640]
push ebp
push ecx
push 0x4e1758
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
lea edx, [esp + 0x234]
mov dword [esp + 0x14], eax
push edx
call edi
push 0x3f7a0
call fcn.004b7e62
mov ebp, dword [sym.imp.KERNEL32.DLL_FindNextFileA]
mov ebx, eax
add esp, 4
mov dword [esp + 0x20], ebx
mov edi, ebx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x644]
push eax
push ecx
call ebp
test eax, eax
je 0x48c920
cmp byte [esp + 0x670], 0x2e
je 0x48c8e4
lea edx, [esp + 0x670]
push edx
push 0x4de544
push edi
call fcn.004b8784
add esp, 0xc
inc esi
add edi, 0x104
jmp 0x48c8e4
push 0x104
push esi
push ebx
lea ecx, [esp + 0x1c]
call fcn.00403f80
test esi, esi
jle 0x48cb0e
mov ebp, ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
mov dword [esp + 0x18], esi
lea eax, [esp + 0x540]
push ebp
push eax
lea ecx, [esp + 0x340]
push str._s_s
push ecx
call fcn.004b8784
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x130]
mov eax, ecx
mov esi, edi
mov edi, edx
push 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x134]
push ecx
push 0x5f
lea ecx, [esp + 0x1c]
call fcn.00403e50
mov esi, eax
lea edx, [esp + 0x130]
test esi, esi
push edx
je 0x48ca09
lea eax, [esp + 0x28]
lea ecx, [esp + 0x14]
push eax
call fcn.00403f20
lea ecx, [esp + 0x130]
push 0
push ecx
push 0x2e
lea ecx, [esp + 0x1c]
call fcn.00403e50
test eax, eax
je 0x48ca23
lea eax, [esp + esi + 0x131]
xor edx, edx
lea ecx, [esp + 0x24]
mov dword [eax], edx
push ecx
lea ecx, [esp + 0x30]
mov byte [eax + 4], dl
lea edx, [esp + 0x134]
lea eax, [esp + 0x238]
push edx
push eax
push str._s_s._s
push ecx
call fcn.004b8784
add esp, 0x14
jmp 0x48ca23
lea eax, [esp + 0x238]
lea ecx, [esp + 0x30]
push eax
push str._s_s
push ecx
call fcn.004b8784
add esp, 0x10
mov esi, str.OJNList.dat
lea eax, [esp + 0x130]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x48ca53
test cl, cl
je 0x48ca4f
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x48ca53
add eax, 2
add esi, 2
test cl, cl
jne 0x48ca2f
xor eax, eax
jmp 0x48ca58
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x48ca83
lea eax, [esp + 0x2c]
push eax
call ebx
test al, 1
je 0x48ca76
xor eax, 1
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesA]
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
jmp 0x48ca8f
lea edx, [esp + 0x2c]
push edx
call ebx
cmp eax, 0xffffffff
jne 0x48caa4
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x338]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_MoveFileA]
jmp 0x48caf5
test al, 1
je 0x48cab7
xor eax, 1
lea edx, [esp + 0x2c]
push eax
push edx
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesA]
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x338]
push eax
push ecx
mov ecx, dword [esp + 0x24]
call fcn.0048c0c0
mov esi, dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryA]
lea edx, [esp + 0x540]
push edx
call esi
lea eax, [esp + 0x338]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
lea ecx, [esp + 0x234]
push ecx
call esi
mov eax, dword [esp + 0x18]
add ebp, 0x104
dec eax
mov dword [esp + 0x18], eax
jne 0x48c944
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x48cb1b
push ebx
call fcn.004a9db0
add esp, 4
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov esi, dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryA]
lea eax, [esp + 0x234]
push eax
call esi
push str.Temp
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryA]
lea ecx, [esp + 0x43c]
push ecx
call esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x78c], 0xffffffff
call fcn.004039a0
mov ecx, dword [esp + 0x784]
pop ebp
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x780
ret