Function at 0x47f05c
Capabilities:
Copy file
Create process on windows
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x47f064
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x47f31e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x4c]
call fcn.0048b0f8
cmp edx, dword [ebx + 0x54]
jne 0x47f095
cmp eax, dword [ebx + 0x50]
jae 0x47f09b
jmp 0x47f2f6
jl 0x47f2f6
mov eax, dword [ebx + 0x40]
mov edx, 0x47f334
call fcn.00405974
jne 0x47f0ca
push 5
push 0
push 0
mov eax, dword [ebx + 0x4c]
call fcn.004059dc
push eax
push 0x47f340
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x47f2f6
lea eax, [ebp - 8]
push eax
mov ecx, 5
mov edx, 1
mov eax, dword [ebx + 0x40]
call fcn.00405a44
mov eax, dword [ebp - 8]
mov edx, 0x47f350
call fcn.00405974
jne 0x47f15b
lea eax, [ebx + 0x40]
mov ecx, 5
mov edx, 1
call fcn.00405a84
lea eax, [ebp - 4]
mov edx, dword [ebx + 0x40]
call fcn.004055c8
mov eax, dword [ebp - 4]
mov edx, 0x47f360
call fcn.00405974
jne 0x47f13b
push 0
push 0
push 0
mov eax, dword [ebx + 0x4c]
call fcn.004059dc
push eax
push 0x47f340
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x47f2f6
push 5
push 0
push 0
mov eax, dword [ebx + 0x4c]
call fcn.004059dc
push eax
push 0x47f340
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x47f2f6
mov eax, dword [ebx + 0x40]
mov edx, 0x47f36c
call fcn.00405974
jne 0x47f191
push 0
push 0
push 0
mov eax, dword [ebx + 0x4c]
call fcn.004059dc
push eax
push 0x47f340
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
call fcn.00475d34
jmp 0x47f2f6
mov eax, dword [ebx + 0x40]
mov edx, 0x47f37c
call fcn.00405974
jne 0x47f1c0
push 1
push 0
push 0
mov eax, dword [ebx + 0x4c]
call fcn.004059dc
push eax
push 0x47f340
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x47f2f6
mov eax, dword [ebx + 0x40]
mov edx, 0x47f390
call fcn.00405974
jne 0x47f25d
push 0x80
lea eax, [ebp - 0xc]
call fcn.0048ac24
lea eax, [ebp - 0xc]
mov edx, 0x47f3a0
call fcn.00405818
mov eax, dword [ebp - 0xc]
call fcn.004059dc
push eax
call sub.kernel32.dll_SetFileAttributesA
lea eax, [ebp - 0x10]
call fcn.0048ac24
lea eax, [ebp - 0x10]
mov edx, 0x47f3a0
call fcn.00405818
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x14]
call fcn.004059dc
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
push 0
lea eax, [ebp - 0x18]
call fcn.0048ac24
lea eax, [ebp - 0x18]
mov edx, 0x47f3a0
call fcn.00405818
mov eax, dword [ebp - 0x18]
call fcn.004059dc
push eax
mov eax, dword [ebx + 0x4c]
call fcn.004059dc
push eax
call sub.kernel32.dll_CopyFileA
jmp 0x47f2f6
mov eax, dword [ebx + 0x40]
mov edx, 0x47f3bc
call fcn.00405974
jne 0x47f280
push 1
push 0
mov eax, dword [ebx + 0x4c]
call fcn.004059dc
push eax
call sub.winmm.dll_PlaySoundA
jmp 0x47f2f6
mov eax, dword [ebx + 0x40]
mov edx, 0x47f3cc
call fcn.00405974
jne 0x47f2f6
mov eax, dword [0x495880]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x47f2a5
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x47f2f6
push 0
lea edx, [ebp - 0x20]
mov eax, dword [0x495880]
mov eax, dword [eax]
call fcn.0040a5a8
push dword [ebp - 0x20]
lea edx, [ebp - 0x24]
mov eax, 0x47f3dc
call fcn.00473744
push dword [ebp - 0x24]
push 0x47f3ec
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004058e0
mov eax, dword [ebp - 0x1c]
call fcn.004059dc
push eax
mov eax, dword [ebx + 0x4c]
call fcn.004059dc
push eax
call sub.kernel32.dll_CopyFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f325
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00405554
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405554
ret