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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4284c8
push 0x4164e0
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x8508
call fcn.00420840
mov eax, dword [0x42a520]
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 0x40c177
mov dword [ebp - 4], ebx
push 6
push 0x4267d4
push esi
call fcn.004119cf
add esp, 0xc
test eax, eax
je 0x40c151
call fcn.00409720
xor edx, edx
mov word [ebp - reloc.ntdll.dll_RtlImageNtHeader], dx
push 0x206
push ebx
lea eax, [ebp - 0x4c2]
push eax
call fcn.00412570
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x4c4]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x40c170
xor edx, edx
mov word [ebp - reloc.ntdll.dll_RtlImageNtHeader], dx
push 0x206
push ebx
lea eax, [ebp - 0x2ba]
push eax
call fcn.00412570
add esp, 0xc
lea ecx, [ebp - 0x2bc]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x40c170
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 0x40c170
call fcn.004079a0
test eax, eax
je 0x40c170
mov byte [ebp - 0xb4], bl
push 0x80
push ebx
lea ecx, [ebp - 0xb3]
push ecx
call fcn.00412570
add esp, 0xc
mov dword [ebp - 0x84cc], 0x81
lea edx, [ebp - 0x84cc]
lea eax, [ebp - 0xb4]
call fcn.0040a2b0
test eax, eax
je 0x40c170
lea ecx, [ebp - 0x2bc]
lea edx, [ebp - 0x4c4]
call fcn.0040bab0
test eax, eax
je 0x40c170
xor edx, edx
mov word [ebp - reloc.ntdll.dll_RtlImageNtHeader], dx
push 0x7ffe
push ebx
lea eax, [ebp - 0x84c2]
push eax
call fcn.00412570
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.004114a8
mov dword [ebp - 0x8520], ebx
push 0x40
push ebx
lea edx, [ebp - 0x851c]
push edx
call fcn.00412570
add esp, 0x30
mov dword [ebp - 0x8520], 0x44
xor eax, eax
mov word [ebp - reloc.ntdll.dll_RtlImageNtHeader], 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 0x40c170
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call fcn.0040bb30
add esp, 4
jmp 0x40c170
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.00410717
mov esp, ebp
pop ebp
ret 0x10