Function at 0x408f1b
Capabilities:
Create process on windows

Disassembly:
push 0x1f8
mov eax, 0x412776
call fcn.0040ffa5
mov dword [ebp - 0x70], edx
mov edi, ecx
mov eax, dword [ebp + 8]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x6c], eax
call fcn.0040868d
call fcn.0040872f
mov bl, al
add esp, 0x18
test bl, bl
jne 0x408f55
or eax, 0xffffffff
jmp 0x40929c
push str.sm.ps1
lea ecx, [ebp - 0x104]
call fcn.00409add
mov esi, eax
and dword [ebp - 4], 0
lea ecx, [ebp - 0x12c]
call fcn.0040868d
push esi
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call fcn.0040c1e0
pop ecx
lea ecx, [ebp - 0x12c]
call fcn.00409a01
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 4
call fcn.00409a01
lea ecx, [ebp - 0x8c]
call fcn.00408d95
test al, al
jne 0x408fb9
call fcn.00408e18
mov bl, al
test bl, bl
jne 0x408fc5
push 0xfffffffffffffffe
pop esi
jmp 0x40928f
mov esi, 0x414e70
lea ecx, [ebp - 0xec]
push esi
call fcn.00409add
mov ebx, 0x414e60
mov byte [ebp - 4], 5
push ebx
lea ecx, [ebp - 0xd4]
call fcn.00409add
push esi
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 6
call fcn.00409add
push ebx
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 7
call fcn.00409add
push ebx
push dword [ebp - 0x6c]
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 8
push str.___Att__
push eax
sub esp, 0x18
lea esi, [ebp - 0xd4]
mov ecx, esp
push dword [ebp - 0x70]
call fcn.00409b3f
mov edx, esi
lea ecx, [ebp - 0x204]
call fcn.00408d08
add esp, 0x1c
push eax
push str.___Body__
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 9
push eax
sub esp, 0x18
lea esi, [ebp - 0xa4]
mov ecx, esp
push edi
call fcn.00409b3f
mov edx, esi
lea ecx, [ebp - 0x1ec]
call fcn.00408d08
mov esi, eax
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 0xa
push eax
mov edx, str._ExecutionPolicy_ByPass__File__
lea ecx, [ebp - 0x1d4]
call fcn.0040c7eb
push str.___Subj__
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1bc]
call fcn.0040c2b7
push esi
mov edx, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1a4]
call fcn.0040c1e0
add esp, 0x28
mov edx, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x18c]
call fcn.0040c2b7
pop ecx
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x174]
mov edx, eax
call fcn.0040c1e0
pop ecx
mov edx, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x15c]
call fcn.0040c2b7
pop ecx
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x144]
call fcn.0040c1b1
pop ecx
mov edx, eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2c]
call fcn.0040c2b7
pop ecx
lea ecx, [ebp - 0x144]
call fcn.00409a01
lea ecx, [ebp - 0x15c]
call fcn.00409a01
lea ecx, [ebp - 0x174]
call fcn.00409a01
lea ecx, [ebp - 0x18c]
call fcn.00409a01
lea ecx, [ebp - 0x1a4]
call fcn.00409a01
lea ecx, [ebp - 0x1bc]
call fcn.00409a01
lea ecx, [ebp - 0x1d4]
call fcn.00409a01
lea ecx, [ebp - 0x1ec]
call fcn.00409a01
lea ecx, [ebp - 0x204]
call fcn.00409a01
lea ecx, [ebp - 0xa4]
call fcn.00409a01
lea ecx, [ebp - 0xbc]
call fcn.00409a01
lea ecx, [ebp - 0xd4]
call fcn.00409a01
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0x1f
call fcn.00409a01
push 0x38
xor ebx, ebx
lea eax, [ebp - 0x64]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x68], 0x3c
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x64], 0x40
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], str.open
mov dword [ebp - 0x58], str.powershell
call fcn.0040984c
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
setne al
test al, al
jne 0x409202
push 0xfffffffffffffffd
pop esi
jmp 0x409287
push 0x1b58
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x64
push eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x74]
call fcn.0040932d
lea ecx, [ebp - 0x114]
push dword [eax + 4]
push dword [eax]
call fcn.0040c877
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 0x20
push eax
call fcn.00408ca9
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0x1f
call fcn.00409726
push ecx
call fcn.00408cbb
lea eax, [ebp - 0x70]
mov dword [ebp - 0x70], 0xa
push eax
call fcn.00408cd5
push ecx
mov ecx, 0x41c888
call fcn.00408c50
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
call fcn.00409a01
lea ecx, [ebp - 0x8c]
call fcn.00409a01
mov eax, esi
call fcn.0040ff4f
ret