Function at 0x47f104
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 0x47f10c
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x47f3c6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x4c]
call fcn.0048a770
cmp edx, dword [ebx + 0x54]
jne 0x47f13d
cmp eax, dword [ebx + 0x50]
jae 0x47f143
jmp 0x47f39e
jl 0x47f39e
mov eax, dword [ebx + 0x40]
mov edx, 0x47f3dc
call fcn.00405974
jne 0x47f172
push 5
push 0
push 0
mov eax, dword [ebx + 0x4c]
call fcn.004059dc
push eax
push 0x47f3e8
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x47f39e
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, 0x47f3f8
call fcn.00405974
jne 0x47f203
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, 0x47f408
call fcn.00405974
jne 0x47f1e3
push 0
push 0
push 0
mov eax, dword [ebx + 0x4c]
call fcn.004059dc
push eax
push 0x47f3e8
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x47f39e
push 5
push 0
push 0
mov eax, dword [ebx + 0x4c]
call fcn.004059dc
push eax
push 0x47f3e8
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x47f39e
mov eax, dword [ebx + 0x40]
mov edx, 0x47f414
call fcn.00405974
jne 0x47f239
push 0
push 0
push 0
mov eax, dword [ebx + 0x4c]
call fcn.004059dc
push eax
push 0x47f3e8
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
call fcn.00475978
jmp 0x47f39e
mov eax, dword [ebx + 0x40]
mov edx, 0x47f424
call fcn.00405974
jne 0x47f268
push 1
push 0
push 0
mov eax, dword [ebx + 0x4c]
call fcn.004059dc
push eax
push 0x47f3e8
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x47f39e
mov eax, dword [ebx + 0x40]
mov edx, 0x47f438
call fcn.00405974
jne 0x47f305
push 0x80
lea eax, [ebp - 0xc]
call fcn.0048a29c
lea eax, [ebp - 0xc]
mov edx, 0x47f448
call fcn.00405818
mov eax, dword [ebp - 0xc]
call fcn.004059dc
push eax
call sub.kernel32.dll_SetFileAttributesA
lea eax, [ebp - 0x10]
call fcn.0048a29c
lea eax, [ebp - 0x10]
mov edx, 0x47f448
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.0048a29c
lea eax, [ebp - 0x18]
mov edx, 0x47f448
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 0x47f39e
mov eax, dword [ebx + 0x40]
mov edx, 0x47f464
call fcn.00405974
jne 0x47f328
push 1
push 0
mov eax, dword [ebx + 0x4c]
call fcn.004059dc
push eax
call sub.winmm.dll_PlaySoundA
jmp 0x47f39e
mov eax, dword [ebx + 0x40]
mov edx, 0x47f474
call fcn.00405974
jne 0x47f39e
mov eax, dword [0x494880]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x47f34d
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x47f39e
push 0
lea edx, [ebp - 0x20]
mov eax, dword [0x494880]
mov eax, dword [eax]
call fcn.0040a5a0
push dword [ebp - 0x20]
lea edx, [ebp - 0x24]
mov eax, 0x47f484
call fcn.00473608
push dword [ebp - 0x24]
push 0x47f494
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 0x47f3cd
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00405554
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405554
ret