Function at 0x56fb04
Capabilities:
Copy file
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x34
push 0
push 0
dec ecx
jne 0x56fb0c
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x56fe15
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x4d4]
call fcn.0041cbdc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x410]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x56fdea
lea eax, [ebp - 0x168]
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
call fcn.00405774
push eax
call sub.kernel32.dll_FindFirstFileA_1
cmp eax, 0xffffffff
je 0x56fbe0
push eax
call sub.kernel32.dll_FindClose_1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x154]
push eax
call sub.kernel32.dll_FileTimeToLocalFileTime
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x18]
push eax
call sub.kernel32.dll_FileTimeToSystemTime
xor eax, eax
push ebp
push 0x56fbd6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x178]
call fcn.0040cfe8
fstp qword [ebp - 0x28]
wait
push dword [ebp - 0x24]
push dword [ebp - 0x28]
lea eax, [ebp - 0xc]
mov edx, 0x56fe2c
call fcn.0040dcac
lea eax, [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.0040537c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x56fbe0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
mov edx, dword [edx + 0x24]
call fcn.0040570c
je 0x56fdea
xor eax, eax
push ebp
push 0x56fc30
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x17c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x20]
call fcn.004a5f78
mov eax, dword [ebp - 0x17c]
call fcn.00405774
push eax
call sub.eb_efs.dll_FX_Directory_Changenodenametoindex
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x56fc44
cmp ebx, 0xffffffff
je 0x56fdea
mov eax, dword [ebp - 0x1c]
add eax, 8
mov edx, dword [ebp - 4]
call fcn.00405338
lea edx, [ebp - 0x180]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
call fcn.0040ac0c
mov edx, dword [ebp - 0x180]
lea eax, [ebp - 8]
mov ecx, 0x56fe48
call fcn.004055fc
mov eax, dword [ebp - 8]
call fcn.00405774
mov esi, eax
mov edx, esi
lea eax, [ebp - 0x184]
call fcn.004054dc
mov eax, dword [ebp - 0x184]
call fcn.004c8824
test al, al
je 0x56fcac
mov eax, dword [ebp - 8]
call fcn.004a5660
push 0
push esi
call sub.kernel32.dll_CreateDirectoryA
push 0
lea edx, [ebp - 0x18c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
call fcn.004a65d0
mov ecx, dword [ebp - 0x18c]
lea eax, [ebp - 0x188]
mov edx, dword [ebp - 8]
call fcn.004055fc
mov eax, dword [ebp - 0x188]
call fcn.00405774
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
call fcn.00405774
push eax
call sub.kernel32.dll_CopyFileA
mov dl, 1
mov eax, dword [0x41a74c]
call fcn.00404350
mov esi, eax
lea edx, [ebp - 0x194]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
call fcn.004a65d0
mov ecx, dword [ebp - 0x194]
lea eax, [ebp - 0x190]
mov edx, dword [ebp - 8]
call fcn.004055fc
mov edx, dword [ebp - 0x190]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 1
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
call fcn.00405774
push eax
push 1
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x18]
call fcn.00405774
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x14]
call fcn.00405774
push eax
push esi
push ebx
push 1
call sub.eb_efs.dll_FX_Inputall
mov eax, esi
call fcn.00404380
mov eax, dword [ebp - 0x1c]
add eax, 0x24
mov edx, dword [ebp - 4]
call fcn.00405338
lea edx, [ebp - 0x1a0]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
call fcn.004a65d0
mov ecx, dword [ebp - 0x1a0]
lea eax, [ebp - 0x19c]
mov edx, dword [ebp - 8]
call fcn.004055fc
mov eax, dword [ebp - 0x19c]
call fcn.00405774
mov edx, eax
lea eax, [ebp - 0x198]
call fcn.004054dc
mov ebx, dword [ebp - 0x198]
mov dword [ebp - 0x1a4], ebx
mov eax, dword [ebp - 0x1a4]
call fcn.00405774
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov eax, dword [ebp - 8]
call fcn.004a5660
mov eax, dword [ebp - 0x10]
call fcn.005707d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56fe1c
lea eax, [ebp - 0x1a0]
mov edx, 0xa
call fcn.00405308
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405308
ret