Function at 0x5205d8
Capabilities:
Copy file
Create process on windows
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xe
push 0
push 0
dec ecx
jne 0x5205e0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404abc
xor eax, eax
push ebp
push 0x520a10
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x52c788], 1
jne 0x52067f
xor eax, eax
push ebp
push 0x520675
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, ebx
call fcn.00430b2c
lea edx, [ebp - 0x14]
mov eax, 0x520a28
call fcn.0051ef90
mov edx, dword [ebp - 0x14]
mov cl, 1
mov eax, ebx
call fcn.00430b94
test al, al
je 0x520664
lea edx, [ebp - 0x18]
mov eax, 0x520a58
call fcn.0051ef90
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov eax, ebx
call fcn.00430d30
mov eax, ebx
call fcn.00430afc
mov eax, ebx
call fcn.004037dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x52067f
xor eax, eax
push ebp
push 0x5209de
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004046a4
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 8]
call fcn.004048cc
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 8]
call fcn.00404b2c
mov eax, dword [ebp - 0x1c]
mov edx, 0x520a6c
call fcn.00404a18
je 0x5206cf
lea eax, [ebp - 8]
mov edx, 0x520a6c
call fcn.004048d4
lea edx, [ebp - 0x20]
mov eax, dword [0x52c784]
call fcn.00408a7c
mov edx, dword [ebp - 0x20]
mov eax, 0x520a78
call fcn.0040d8cc
test eax, eax
jle 0x52073c
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0x28]
mov eax, dword [0x52c784]
call fcn.00408a7c
mov edx, dword [ebp - 0x28]
mov eax, 0x520a78
call fcn.0040d8cc
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [0x52c784]
call fcn.00404b2c
mov eax, dword [ebp - 0x24]
push eax
lea edx, [ebp - 0x2c]
mov eax, 0x520a88
call fcn.0051ef90
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x10]
pop edx
call fcn.00404918
jmp 0x520749
lea edx, [ebp - 0x10]
mov eax, 0x520aa0
call fcn.0051ef90
lea eax, [ebp - 0x30]
mov ecx, dword [0x52c784]
mov edx, dword [ebp - 8]
call fcn.00404918
mov eax, dword [ebp - 0x30]
call fcn.004094a8
test al, al
je 0x5207a0
push 0
lea eax, [ebp - 0x34]
mov ecx, dword [0x52c784]
mov edx, dword [ebp - 8]
call fcn.00404918
mov eax, dword [ebp - 0x34]
call fcn.00404acc
push eax
call sub.kernel32.dll_SetFileAttributesA
lea eax, [ebp - 0x38]
mov ecx, dword [0x52c784]
mov edx, dword [ebp - 8]
call fcn.00404918
mov eax, dword [ebp - 0x38]
call fcn.004096e8
cmp byte [0x52c781], 0
je 0x5207ea
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004046a4
mov eax, dword [ebp - 8]
call fcn.004048cc
mov ebx, eax
dec ebx
cmp ebx, 1
jl 0x5207ea
mov eax, dword [ebp - 8]
cmp byte [eax + ebx - 1], 0x5c
jne 0x5207e5
mov eax, dword [ebp - 8]
call fcn.004048cc
mov ecx, eax
lea edx, [ebx + 1]
lea eax, [ebp - 8]
call fcn.00404b6c
jmp 0x5207ea
dec ebx
test ebx, ebx
jne 0x5207c4
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00404918
mov eax, dword [ebp - 0x3c]
call fcn.004094a8
test al, al
je 0x520838
push 0
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00404918
mov eax, dword [ebp - 0x40]
call fcn.00404acc
push eax
call sub.kernel32.dll_SetFileAttributesA
lea eax, [ebp - 0x44]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00404918
mov eax, dword [ebp - 0x44]
call fcn.004096e8
push 0
lea eax, [ebp - 0x48]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00404918
mov eax, dword [ebp - 0x48]
call fcn.00404acc
push eax
lea edx, [ebp - 0x4c]
xor eax, eax
call fcn.00402e94
mov eax, dword [ebp - 0x4c]
call fcn.00404acc
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
jne 0x52093b
mov eax, dword [ebp - 0x10]
call fcn.0052391c
push 0x1f4
call sub.kernel32.dll_Sleep_1
mov eax, dword [0x5295c0]
mov eax, dword [eax]
call fcn.00458274
mov eax, dword [ebp - 0x10]
call fcn.0052391c
push 0x1f4
call sub.kernel32.dll_Sleep_1
mov eax, dword [0x5295c0]
mov eax, dword [eax]
call fcn.00458274
push 0
lea eax, [ebp - 0x50]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00404918
mov eax, dword [ebp - 0x50]
call fcn.00404acc
push eax
lea edx, [ebp - 0x54]
xor eax, eax
call fcn.00402e94
mov eax, dword [ebp - 0x54]
call fcn.00404acc
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
jne 0x52093b
push 0x40
lea edx, [ebp - 0x5c]
mov eax, 0x520abc
call fcn.0051ef90
push dword [ebp - 0x5c]
push dword [ebp - 8]
push dword [ebp - 0x10]
push 0x520ad8
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.0040498c
mov eax, dword [ebp - 0x58]
call fcn.00404acc
mov edx, eax
mov ecx, 0x520ae0
mov eax, dword [0x5295c0]
mov eax, dword [eax]
call fcn.004585c0
push 0
call sub.kernel32.dll_ExitProcess_1
cmp byte [0x52c79c], 0
je 0x52095a
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00404918
mov eax, dword [ebp - 0x60]
call fcn.00520ce0
call fcn.005200f8
xor edx, edx
mov eax, dword [0x52c714]
call fcn.00451908
lea edx, [ebp - 0x68]
mov eax, dword [0x52c784]
call fcn.00408acc
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x64]
call fcn.00504788
mov eax, dword [ebp - 0x64]
push eax
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x6c]
call fcn.0040905c
mov eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0xc]
pop edx
call fcn.00520224
push 5
push 0x520af0
push dword [ebp - 8]
push dword [ebp - 0x10]
push 0x520afc
push dword [ebp - 0xc]
lea eax, [ebp - 0x70]
mov edx, 5
call fcn.0040498c
mov eax, dword [ebp - 0x70]
call fcn.00404acc
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5209e8
push 0
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_TerminateProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x520a17
lea eax, [ebp - 0x70]
mov edx, 0x1c
call fcn.00404630
ret