Function at 0x47ee3c
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 0x47ee44
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x47f0fe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x4c]
call fcn.0048a13c
cmp edx, dword [ebx + 0x54]
jne 0x47ee75
cmp eax, dword [ebx + 0x50]
jae 0x47ee7b
jmp 0x47f0d6
jl 0x47f0d6
mov eax, dword [ebx + 0x40]
mov edx, 0x47f114
call fcn.00405974
jne 0x47eeaa
push 5
push 0
push 0
mov eax, dword [ebx + 0x4c]
call fcn.004059dc
push eax
push 0x47f120
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x47f0d6
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, 0x47f130
call fcn.00405974
jne 0x47ef3b
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, 0x47f140
call fcn.00405974
jne 0x47ef1b
push 0
push 0
push 0
mov eax, dword [ebx + 0x4c]
call fcn.004059dc
push eax
push 0x47f120
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x47f0d6
push 5
push 0
push 0
mov eax, dword [ebx + 0x4c]
call fcn.004059dc
push eax
push 0x47f120
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x47f0d6
mov eax, dword [ebx + 0x40]
mov edx, 0x47f14c
call fcn.00405974
jne 0x47ef71
push 0
push 0
push 0
mov eax, dword [ebx + 0x4c]
call fcn.004059dc
push eax
push 0x47f120
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
call fcn.00475bd8
jmp 0x47f0d6
mov eax, dword [ebx + 0x40]
mov edx, 0x47f15c
call fcn.00405974
jne 0x47efa0
push 1
push 0
push 0
mov eax, dword [ebx + 0x4c]
call fcn.004059dc
push eax
push 0x47f120
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x47f0d6
mov eax, dword [ebx + 0x40]
mov edx, 0x47f170
call fcn.00405974
jne 0x47f03d
push 0x80
lea eax, [ebp - 0xc]
call fcn.00489c78
lea eax, [ebp - 0xc]
mov edx, 0x47f180
call fcn.00405818
mov eax, dword [ebp - 0xc]
call fcn.004059dc
push eax
call sub.kernel32.dll_SetFileAttributesA
lea eax, [ebp - 0x10]
call fcn.00489c78
lea eax, [ebp - 0x10]
mov edx, 0x47f180
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.00489c78
lea eax, [ebp - 0x18]
mov edx, 0x47f180
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 0x47f0d6
mov eax, dword [ebx + 0x40]
mov edx, 0x47f19c
call fcn.00405974
jne 0x47f060
push 1
push 0
mov eax, dword [ebx + 0x4c]
call fcn.004059dc
push eax
call sub.winmm.dll_PlaySoundA
jmp 0x47f0d6
mov eax, dword [ebx + 0x40]
mov edx, 0x47f1ac
call fcn.00405974
jne 0x47f0d6
mov eax, dword [0x49487c]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x47f085
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x47f0d6
push 0
lea edx, [ebp - 0x20]
mov eax, dword [0x49487c]
mov eax, dword [eax]
call fcn.0040a5a0
push dword [ebp - 0x20]
lea edx, [ebp - 0x24]
mov eax, 0x47f1bc
call fcn.004735e8
push dword [ebp - 0x24]
push 0x47f1cc
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 0x47f105
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00405554
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405554
ret