Function at 0x427b18
Capabilities:
Copy file
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x427b20
push ecx
push ebx
xor eax, eax
push ebp
push 0x427d9d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x427db4
call fcn.00426e30
lea edx, [ebp - 0x10]
mov eax, 0x427ddc
call fcn.00410a04
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x42adb4]
call fcn.00405014
mov edx, 0x427dec
call fcn.0040488c
pop edx
call fcn.0040488c
call fcn.004030f4
mov eax, dword [0x42ae5c]
cmp byte [eax], 0
je 0x427d6b
call fcn.00427744
test al, al
je 0x427bb1
lea edx, [ebp - 0x14]
mov eax, 0x427ddc
call fcn.00410a04
mov eax, dword [ebp - 0x14]
mov edx, 0x427e0c
call fcn.004045bc
jne 0x427d6b
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00402840
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0xc]
call fcn.00407828
lea edx, [ebp - 0x1c]
mov eax, dword [0x42adf0]
mov eax, dword [eax]
call fcn.0041a30c
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0040f89c
test al, al
je 0x427d6b
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x42adb4]
call fcn.00405014
mov edx, 0x427e18
call fcn.0040488c
call fcn.004030f4
push 0
push 0
mov eax, 0x427e38
call fcn.00410be4
mov ebx, eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x24], 0
lea edx, [ebp - 0x28]
xor ecx, ecx
mov eax, 0x427e48
call fcn.00407f68
mov eax, dword [ebp - 0x20]
call fcn.00426e30
imul eax, ebx, 0x3e8
cdq
push edx
push eax
xor eax, eax
call fcn.0040f22c
lea edx, [ebp - 0x30]
xor eax, eax
call fcn.00402840
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.004077a0
push dword [ebp - 0x2c]
push 0x427e5c
push dword [ebp - 0xc]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404530
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404670
push eax
lea edx, [ebp - 0x34]
xor eax, eax
call fcn.00402840
mov eax, dword [ebp - 0x34]
call fcn.00404670
push eax
call sub.kernel32.dll_CopyFileA
mov eax, 0x427e68
call fcn.00426e30
lea eax, [ebp - 4]
call fcn.004041cc
lea edx, [ebp - 8]
mov eax, 0x427e80
call fcn.00410a04
cmp dword [ebp - 8], 0
je 0x427cd1
lea eax, [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, 0x427e94
call fcn.004044bc
lea edx, [ebp - 8]
mov eax, 0x427eac
call fcn.00410a04
cmp dword [ebp - 8], 0
je 0x427cf4
lea eax, [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, 0x427ebc
call fcn.004044bc
push 0x427ed0
push dword [ebp - 0xc]
push dword [ebp - 4]
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00404530
mov eax, dword [ebp - 0x38]
call fcn.00426e30
push 0
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.004044bc
mov eax, dword [ebp - 0x3c]
call fcn.00404670
push eax
call sub.kernel32.dll_WinExec
call fcn.004027e0
test eax, eax
jle 0x427d6b
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
add ebx, 0xbb8
push 0
push 0xc8
xor eax, eax
call fcn.0040f22c
mov eax, dword [ebp - 0xc]
call fcn.0040debc
test al, al
jne 0x427d6b
call sub.kernel32.dll_GetTickCount_1
cmp ebx, eax
jae 0x427d48
mov eax, 0x427ee4
call fcn.00426e30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427da4
lea eax, [ebp - 0x3c]
mov edx, 5
call fcn.004041f0
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.004041f0
ret