Function at 0x40ba20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4367f6
mov eax, dword fs:[0]
push eax
sub esp, 0x1dc
mov eax, dword [0x44b0c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
sub esp, 0x18
mov ecx, esp
call fcn.0040add0
call fcn.0040af50
add esp, 0x18
test al, al
jne 0x40ba70
or eax, 0xffffffff
jmp 0x40c5ba
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x8c], 0
push str.sm.ps1
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x88], 0
movups xmmword [ebp - 0x9c], xmm0
call fcn.00416020
lea ecx, [ebp - 0xe4]
mov dword [ebp - 4], 0
call fcn.0040add0
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 1
push ecx
push eax
push dword [ebp - 0x84]
lea ecx, [ebp - 0x44]
call fcn.00412010
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xd0]
cmp ecx, 0xf
jbe 0x40bb0a
mov edx, dword [ebp - 0xe4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bb00
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c5d5
push ecx
push edx
call fcn.004173b0
add esp, 8
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0xf
mov byte [ebp - 0xe4], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x88]
cmp ecx, 0xf
jbe 0x40bb63
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bb59
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c5d5
push ecx
push edx
call fcn.004173b0
add esp, 8
lea ecx, [ebp - 0x44]
call fcn.0040b450
test al, al
jne 0x40bb82
call fcn.0040b710
test al, al
jne 0x40bb82
mov esi, 0xfffffffe
jmp 0x40c588
push 2
xorps xmm0, xmm0
mov dword [ebp - 0xa4], 0
push 0x442504
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xa0], 0
movups xmmword [ebp - 0xb4], xmm0
call fcn.00416020
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xe4]
push 1
xorps xmm0, xmm0
mov dword [ebp - 0xd4], 0
push 0x4424f4
movups xmmword [ebp - 0xe4], xmm0
mov dword [ebp - 0xd0], 0
call fcn.00416020
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x160]
push 2
xorps xmm0, xmm0
mov dword [ebp - 0x150], 0
push 0x442504
movups xmmword [ebp - 0x160], xmm0
mov dword [ebp - 0x14c], 0
call fcn.00416020
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x9c]
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x8c], 0
push 0x4424f4
movups xmmword [ebp - 0x9c], xmm0
mov dword [ebp - 0x88], 0
call fcn.00416020
push edi
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 8
push eax
sub esp, 0x18
lea edi, [ebp - 0xe4]
mov ecx, esp
push 0x44d2c8
call fcn.00415e10
mov edx, edi
lea ecx, [ebp - 0x1a8]
call fcn.0040b270
add esp, 0x1c
mov edi, eax
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 9
push eax
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00415e10
lea edx, [ebp - 0x9c]
lea ecx, [ebp - 0x190]
call fcn.0040b270
add esp, 0x1c
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 0xa
mov ecx, 0x7fffffff
mov edx, dword [ebp - 0x34]
sub ecx, edx
cmp ecx, 0x1f
jb 0x40c5da
cmp dword [ebp - 0x30], 0xf
lea eax, [ebp - 0x44]
push edx
cmova eax, dword [ebp - 0x44]
push eax
push 0x1f
push str._ExecutionPolicy_ByPass__File__
push ecx
push dword [ebp - 0x84]
lea ecx, [ebp - 0xcc]
call fcn.004121f0
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0xb8]
mov eax, edx
mov ecx, dword [ebp - 0xbc]
sub eax, ecx
push 9
push str.___Subj__
cmp eax, 9
jb 0x40bd3e
cmp edx, 0xf
lea esi, [ebp - 0xcc]
lea eax, [ecx + 9]
cmova esi, dword [ebp - 0xcc]
add esi, ecx
mov dword [ebp - 0xbc], eax
push esi
call fcn.00418b50
add esp, 0xc
mov byte [esi + 9], 0
lea eax, [ebp - 0xcc]
jmp 0x40bd58
mov byte [ebp - 0xe8], 0
lea ecx, [ebp - 0xcc]
push dword [ebp - 0xe8]
push 9
call fcn.00415c30
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x118], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x108], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x118]
push dword [ebp - 0x84]
lea ecx, [ebp - 0x148]
push eax
push dword [ebp - 0x84]
call fcn.00412010
push str.___Body__
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 0xd
call fcn.004154d0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1c0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1b0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push edi
lea eax, [ebp - 0x1c0]
mov byte [ebp - 4], 0xe
push eax
push dword [ebp - 0x84]
lea ecx, [ebp - 0x130]
call fcn.00412010
push str.___Att__
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0xf
call fcn.004154d0
mov dword [ebp - 0xf0], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x100], xmm0
mov dword [ebp - 0xec], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x100], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xf0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea edx, [ebp - 0x100]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x178]
call fcn.004100b0
add esp, 4
push 0x4424f4
mov ecx, eax
mov byte [ebp - 4], 0x11
call fcn.004154d0
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x164]
cmp ecx, 0xf
jbe 0x40bef2
mov edx, dword [ebp - 0x178]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bee8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c5df
push ecx
push edx
call fcn.004173b0
add esp, 8
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0xf
mov byte [ebp - 0x178], 0
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0xec]
cmp ecx, 0xf
jbe 0x40bf4b
mov edx, dword [ebp - 0x100]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bf41
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c5df
push ecx
push edx
call fcn.004173b0
add esp, 8
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0xf
mov byte [ebp - 0x100], 0
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x11c]
cmp ecx, 0xf
jbe 0x40bfa4
mov edx, dword [ebp - 0x130]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bf9a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c5df
push ecx
push edx
call fcn.004173b0
add esp, 8
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x1ac]
cmp ecx, 0xf
jbe 0x40bffd
mov edx, dword [ebp - 0x1c0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bff3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c5df
push ecx
push edx
call fcn.004173b0
add esp, 8
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x134]
cmp ecx, 0xf
jbe 0x40c03b
mov edx, dword [ebp - 0x148]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c031
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c5df
push ecx
push edx
call fcn.004173b0
add esp, 8
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0xf
mov byte [ebp - 0x148], 0
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x104]
cmp ecx, 0xf
jbe 0x40c094
mov edx, dword [ebp - 0x118]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c08a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c5df
push ecx
push edx
call fcn.004173b0
add esp, 8
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0xb8]
cmp ecx, 0xf
jbe 0x40c0d2
mov edx, dword [ebp - 0xcc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c0c8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c5df
push ecx
push edx
call fcn.004173b0
add esp, 8
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0xf
mov byte [ebp - 0xcc], 0
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x17c]
cmp ecx, 0xf
jbe 0x40c12b
mov edx, dword [ebp - 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c121
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c5df
push ecx
push edx
call fcn.004173b0
add esp, 8
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0xf
mov byte [ebp - 0x190], 0
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x194]
cmp ecx, 0xf
jbe 0x40c184
mov edx, dword [ebp - 0x1a8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c17a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c5df
push ecx
push edx
call fcn.004173b0
add esp, 8
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x194], 0xf
mov byte [ebp - 0x1a8], 0
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x88]
cmp ecx, 0xf
jbe 0x40c1dd
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c1d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c5df
push ecx
push edx
call fcn.004173b0
add esp, 8
mov byte [ebp - 4], 0x1d
mov ecx, dword [ebp - 0x14c]
cmp ecx, 0xf
jbe 0x40c21b
mov edx, dword [ebp - 0x160]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c211
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c5df
push ecx
push edx
call fcn.004173b0
add esp, 8
mov byte [ebp - 4], 0x1e
mov ecx, dword [ebp - 0xd0]
cmp ecx, 0xf
jbe 0x40c259
mov edx, dword [ebp - 0xe4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c24f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c5df
push ecx
push edx
call fcn.004173b0
add esp, 8
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0xa0]
cmp ecx, 0xf
jbe 0x40c297
mov edx, dword [ebp - 0xb4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c28d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c5df
push ecx
push edx
call fcn.004173b0
add esp, 8
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
xorps xmm0, xmm0
mov dword [ebp - 0x80], 0x3c
cmova eax, dword [ebp - 0x2c]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x80]
push eax
movlpd qword [ebp - 0x5c], xmm0
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x7c], 0x40
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], str.open
mov dword [ebp - 0x70], str.powershell
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x40c378
push 0x2e
xorps xmm0, xmm0
mov dword [ebp - 0xa4], eax
push str._ShellExecuteEx_was_not_executed_successfully
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xa0], eax
movups xmmword [ebp - 0xb4], xmm0
call fcn.00416020
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0x20
call fcn.0040a3d0
mov ecx, dword [ebp - 0xa0]
cmp ecx, 0xf
jbe 0x40c36e
mov edx, dword [ebp - 0xb4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c364
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c5e4
push ecx
push edx
call fcn.004173b0
add esp, 8
mov esi, 0xfffffffd
jmp 0x40c542
push 0x2710
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x64
push eax
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x84], eax
call fcn.0040ffa0
push 0x24
push str._ShellExecuteEx1_GetExitCodeProcess
push 0
mov ecx, eax
mov byte [ebp - 4], 0x21
call fcn.0040fb00
mov dword [ebp - 0x8c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x9c], xmm0
mov dword [ebp - 0x88], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x9c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x8c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0x22
call fcn.0040a3d0
mov byte [ebp - 4], 0x21
mov ecx, dword [ebp - 0x88]
cmp ecx, 0xf
jbe 0x40c45b
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c451
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c5e9
push ecx
push edx
call fcn.004173b0
add esp, 8
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x104]
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
cmp ecx, 0xf
jbe 0x40c4b4
mov edx, dword [ebp - 0x118]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c4aa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c5e9
push ecx
push edx
call fcn.004173b0
add esp, 8
lea eax, [ebp - 0x80]
mov dword [ebp - 0x1e8], 0x443898
mov dword [ebp - 0x1e4], eax
lea ecx, [ebp - 0x14]
lea eax, [ebp - 0x1e8]
mov dword [ebp - 0x1e0], ecx
mov dword [ebp - 0x1c4], eax
push eax
mov ecx, 0x44bba8
mov byte [ebp - 4], 0x23
call fcn.0040d560
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x1c4]
test ecx, ecx
je 0x40c50d
mov edx, dword [ecx]
lea eax, [ebp - 0x1e8]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
cmp byte [0x44bb90], 0
jne 0x40c534
mov dword [0x44bb94], 1
mov dword [0x44bba0], 0xa
mov dword [0x44bba4], 0
push ecx
mov ecx, 0x44bb88
call fcn.0040b180
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x40c576
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c56c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c5ee
push ecx
push edx
call fcn.004173b0
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x40c5b8
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c5ae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c5ee
push ecx
push edx
call fcn.004173b0
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004173a2
mov esp, ebp
pop ebp
ret
call fcn.0041c28f
call fcn.00415f00
call fcn.0041c28f
call fcn.0041c28f
call fcn.0041c28f
call fcn.0041c28f
int3