Function at 0x486b70
Capabilities:
Copy file
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0x486b78
push ebx
push esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004045dc
mov eax, dword [ebp - 8]
call fcn.004045dc
xor eax, eax
push ebp
push 0x486fe4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404538
je 0x486fc9
cmp dword [ebp - 4], 0
je 0x486fc9
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00485124
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.004081cc
mov eax, dword [ebp - 0xc]
push eax
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00485124
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.004081cc
mov eax, dword [ebp - 0x14]
pop edx
call fcn.00485380
test eax, eax
jge 0x486ece
cmp dword [0x493218], 0
je 0x486d00
push 1
push 0xa
push 0x486ffc
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00485124
push dword [ebp - 0x28]
push 0x487010
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.00407f7c
push dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.004044ac
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004081cc
push dword [ebp - 0x20]
push 0x48701c
push 0x487028
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 8]
call fcn.00485124
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.004081cc
push dword [ebp - 0x30]
push 0x487010
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 8]
call fcn.00407f7c
push dword [ebp - 0x38]
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.004044ac
mov ecx, dword [ebp - 0x1c]
mov eax, dword [0x494d48]
mov eax, dword [eax + 0x300]
mov edx, 0x48703c
call fcn.00481c6c
mov eax, dword [0x494d48]
mov eax, dword [eax + 0x330]
mov dl, 1
call fcn.0042c314
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404538
je 0x486cf6
push 0
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00408c1c
mov eax, dword [ebp - 0x3c]
push eax
call sub.kernel32.dll_GetCurrentProcessId
mov ecx, eax
mov edx, 3
pop eax
call fcn.004859b0
push eax
call sub.kernel32.dll_TerminateProcess
push 0x7d0
call sub.kernel32.dll_Sleep_1
push 0
mov eax, dword [ebp - 4]
call fcn.004045ec
mov esi, eax
push esi
mov eax, dword [ebp - 8]
call fcn.004045ec
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
je 0x486e90
mov eax, 0x487070
call fcn.0040891c
test al, al
je 0x486dc6
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 4]
mov edx, 0x487080
call fcn.00404438
mov eax, dword [ebp - 0x40]
mov edx, 1
call fcn.004858c8
cmp dword [0x493218], 0
je 0x486e34
push 1
push 0xa
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 4]
call fcn.00485124
push dword [ebp - 0x50]
push 0x487010
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 4]
call fcn.00407f7c
push dword [ebp - 0x54]
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.004044ac
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.004081cc
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x44]
mov edx, 0x487094
call fcn.00404438
mov ecx, dword [ebp - 0x44]
mov eax, dword [0x494d48]
mov eax, dword [eax + 0x300]
mov edx, 0x4870a4
call fcn.00481c6c
jmp 0x486e34
cmp dword [0x493218], 0
je 0x486e34
push 1
push 0xa
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 4]
call fcn.00485124
push dword [ebp - 0x64]
push 0x487010
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
call fcn.00407f7c
push dword [ebp - 0x68]
lea eax, [ebp - 0x60]
mov edx, 3
call fcn.004044ac
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.004081cc
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
mov edx, 0x487094
call fcn.00404438
mov ecx, dword [ebp - 0x58]
mov eax, dword [0x494d48]
mov eax, dword [eax + 0x300]
mov edx, 0x4870cc
call fcn.00481c6c
mov eax, dword [0x494d48]
mov eax, dword [eax + 0x330]
mov dl, 1
call fcn.0042c314
push 0x7d0
call sub.kernel32.dll_Sleep_1
push 1
push 0
lea eax, [ebp - 0x6c]
mov ecx, dword [0x494d60]
mov edx, 0x4870f0
call fcn.00404438
mov eax, dword [ebp - 0x6c]
call fcn.004045ec
push eax
push esi
push 0x4870f8
mov eax, dword [0x49351c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
call fcn.00403fb8
jmp 0x486fc9
cmp dword [0x493218], 0
je 0x486eb7
push 3
push 0xa
mov eax, dword [0x494d48]
mov eax, dword [eax + 0x300]
mov ecx, 0x487108
mov edx, 0x487148
call fcn.00481c6c
mov eax, dword [0x494d48]
mov eax, dword [eax + 0x330]
mov dl, 1
call fcn.0042c314
jmp 0x486fc9
cmp dword [0x493218], 0
je 0x486ef5
push 0
push 0xa
mov eax, dword [0x494d48]
mov eax, dword [eax + 0x300]
mov ecx, 0x487158
mov edx, 0x487194
call fcn.00481c6c
push 0x7d0
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 4]
call fcn.004871f0
test al, al
jne 0x486f4b
push 1
push 0
lea eax, [ebp - 0x70]
mov ecx, dword [0x494d60]
mov edx, 0x4870f0
call fcn.00404438
mov eax, dword [ebp - 0x70]
call fcn.004045ec
push eax
mov eax, dword [ebp - 4]
call fcn.004045ec
push eax
push 0x4870f8
mov eax, dword [0x49351c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x486fc4
push 0x20
push 0x4871a8
push 0x4871b8
push dword [ebp - 4]
push 0x4871c8
push 0x48701c
push 0x4871dc
lea eax, [ebp - 0x74]
mov edx, 5
call fcn.004044ac
mov eax, dword [ebp - 0x74]
call fcn.004045ec
push eax
push 0
call sub.user32.dll_MessageBoxA_1
push 1
push 0
lea eax, [ebp - 0x78]
mov ecx, dword [0x494d60]
mov edx, 0x4870f0
call fcn.00404438
mov eax, dword [ebp - 0x78]
call fcn.004045ec
push eax
mov eax, dword [ebp - 4]
call fcn.004045ec
push eax
push 0x4870f8
mov eax, dword [0x49351c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
call fcn.00403fb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486feb
lea eax, [ebp - 0x78]
mov edx, 0x1e
call fcn.00404150
ret