Function at 0x40c880
Capabilities:
Create process on windows
Get common file path
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x42ac78
push 0x4182c0
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x8508
call fcn.00422640
mov eax, dword [0x42c520]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 0x10]
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov byte [ebp - 0x30], bl
xor eax, eax
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x84c8], 0x10
lea eax, [ebp - 0x84c8]
push eax
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
cmp dword [ebp - 0x30], ebx
je 0x40caf7
mov dword [ebp - 4], ebx
push 6
push 0x428bb8
push esi
call fcn.00413584
add esp, 0xc
test eax, eax
je 0x40cad1
call fcn.00409a20
xor edx, edx
mov word [ebp - 0x4c4], dx
push 0x206
push ebx
lea eax, [ebp - 0x4c2]
push eax
call fcn.004142b0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x4c4]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x40caf0
xor edx, edx
mov word [ebp - 0x2bc], dx
push 0x206
push ebx
lea eax, [ebp - 0x2ba]
push eax
call fcn.004142b0
add esp, 0xc
lea ecx, [ebp - 0x2bc]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x40caf0
lea edx, [ebp - 0x2bc]
push edx
push ebx
push ebx
mov eax, edx
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x40caf0
call fcn.00407ca0
test eax, eax
je 0x40caf0
mov byte [ebp - 0xb4], bl
push 0x80
push ebx
lea ecx, [ebp - 0xb3]
push ecx
call fcn.004142b0
add esp, 0xc
mov dword [ebp - 0x84cc], 0x81
lea edx, [ebp - 0x84cc]
lea eax, [ebp - 0xb4]
call fcn.0040a580
test eax, eax
je 0x40caf0
lea ecx, [ebp - 0x2bc]
lea edx, [ebp - 0x4c4]
call fcn.0040c430
test eax, eax
je 0x40caf0
xor edx, edx
mov word [ebp - 0x84c4], dx
push 0x7ffe
push ebx
lea eax, [ebp - 0x84c2]
push eax
call fcn.004142b0
lea ecx, [ebp - 0xb4]
push ecx
lea edx, [ebp - 0x4c4]
push edx
lea eax, [ebp - 0x2bc]
push eax
push str.__s____help_s_t_S
push 0x4000
lea ecx, [ebp - 0x84c4]
push ecx
call fcn.0041305d
mov dword [ebp - 0x8520], ebx
push 0x40
push ebx
lea edx, [ebp - 0x851c]
push edx
call fcn.004142b0
add esp, 0x30
mov dword [ebp - 0x8520], 0x44
xor eax, eax
mov word [ebp - 0x84f0], ax
mov dword [ebp - 0x84f4], 1
mov dword [ebp - 0x84dc], ebx
mov dword [ebp - 0x84d8], eax
mov dword [ebp - 0x84d4], eax
mov dword [ebp - 0x84d0], eax
lea ecx, [ebp - 0x84dc]
push ecx
lea edx, [ebp - 0x8520]
push edx
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
lea eax, [ebp - 0x84c4]
push eax
lea ecx, [ebp - 0x2bc]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
jmp 0x40caf0
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call fcn.0040c4b0
add esp, 4
jmp 0x40caf0
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00412178
mov esp, ebp
pop ebp
ret 0x10