Function at 0x40d160
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41507e
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x41b00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push 0x416530
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
call fcn.00404430
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
push 0x416530
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
call fcn.00404430
sub esp, 0xc
mov byte [ebp - 4], 1
mov esi, esp
mov dword [ebp - 0x5c], 0
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
movq qword [ebp - 0x64], xmm0
push 0x41b79c
call fcn.004038e0
mov ecx, esi
call fcn.00406e00
add esp, 0x18
lea ecx, [ebp - 0x64]
call fcn.00406620
add esp, 0xc
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
cmp edx, eax
je 0x40d4d4
add edx, 4
mov dword [ebp - 0x8c], edx
mov eax, dword [edx - 4]
xor ecx, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x90], ecx
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x14], ecx
xor esi, esi
mov ecx, dword [edx + 4]
xor edi, edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edi
sub ecx, dword [edx]
je 0x40d2a9
cmp ecx, 0x7fffffff
ja 0x40d92b
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00405460
mov eax, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x70], edi
mov esi, dword [eax + 4]
mov eax, dword [eax]
sub esi, eax
push esi
push eax
push edi
call sub.VCRUNTIME140.dll_memmove
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov eax, dword [ebp - 0x20]
add edi, esi
mov esi, dword [ebp - 0x70]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x90], ecx
mov byte [ebp - 4], 3
sub eax, 0x16
je 0x40d376
sub eax, 1
jne 0x40d46c
sub esp, 0xc
mov eax, esp
mov dword [ebp - 0x6c], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
sub edi, esi
je 0x40d311
cmp edi, 0x7fffffff
ja 0x40d92b
push edi
mov ecx, eax
call fcn.00405460
mov eax, dword [ebp - 0x6c]
push edi
push dword [ebp - 0x70]
mov esi, dword [eax]
push esi
call sub.VCRUNTIME140.dll_memmove
mov ecx, dword [ebp - 0x6c]
lea eax, [esi + edi]
mov esi, dword [ebp - 0x70]
add esp, 0xc
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x88]
call fcn.00405910
mov edi, eax
add esp, 0xc
lea eax, [ebp - 0x40]
cmp eax, edi
je 0x40d435
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x40d360
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d356
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d66a
push ecx
push edx
call fcn.0041342f
add esp, 8
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x30], xmm0
jmp 0x40d424
sub esp, 0xc
mov eax, esp
mov dword [ebp - 0x6c], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
sub edi, esi
je 0x40d3c8
cmp edi, 0x7fffffff
ja 0x40d92b
push edi
mov ecx, eax
call fcn.00405460
mov eax, dword [ebp - 0x6c]
push edi
push dword [ebp - 0x70]
mov esi, dword [eax]
push esi
call sub.VCRUNTIME140.dll_memmove
mov ecx, dword [ebp - 0x6c]
lea eax, [edi + esi]
mov esi, dword [ebp - 0x70]
add esp, 0xc
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x88]
call fcn.00405910
mov edi, eax
add esp, 0xc
lea eax, [ebp - 0x58]
cmp eax, edi
je 0x40d435
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x40d413
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d409
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d66a
push ecx
push edx
call fcn.0041342f
add esp, 8
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x48], xmm0
mov byte [edi], 0
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov ecx, dword [ebp - 0x74]
cmp ecx, 0x10
jb 0x40d46c
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d462
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d66a
push ecx
push edx
call fcn.0041342f
add esp, 8
mov byte [ebp - 4], 2
test esi, esi
je 0x40d4b9
mov ecx, dword [ebp - 0x90]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x40d49a
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d900
push ecx
push esi
call fcn.0041342f
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x8c]
add edx, 0x10
mov dword [ebp - 0x8c], edx
lea eax, [edx - 4]
cmp eax, dword [ebp - 0x68]
jne 0x40d236
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
nop word [eax + eax]
sub esp, 0x18
lea eax, [ebp - 0x40]
mov esi, esp
sub esp, 0x18
mov ecx, esp
push eax
call fcn.004038e0
mov ecx, esi
call fcn.00407d90
add esp, 0x18
call fcn.00412190
add esp, 0x18
test eax, eax
je 0x40d50f
push 0x64
call edi
jmp 0x40d4e0
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.004038e0
call fcn.00405640
mov ecx, dword [ebp - 0x48]
mov edi, 0x7fffffff
mov eax, edi
add esp, 0x18
sub eax, ecx
cmp eax, 0xb
jb 0x40d930
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push ecx
cmovae eax, dword [ebp - 0x58]
push eax
push 0xb
push str.sc_delete__
push ecx
push dword [ebp - 0x68]
lea ecx, [ebp - 0x88]
call fcn.00409e00
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x74]
mov eax, edx
mov ecx, dword [ebp - 0x78]
sub eax, ecx
cmp eax, 1
jb 0x40d594
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
mov word [eax + ecx], 0x22
lea eax, [ebp - 0x88]
jmp 0x40d5af
push 1
push 0x4165c4
mov byte [ebp - 0x68], 0
lea ecx, [ebp - 0x88]
push dword [ebp - 0x68]
push 1
call fcn.004047e0
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
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], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, dword [ebp - 0x14]
add esp, 4
cmp ecx, 0x10
jb 0x40d62b
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d621
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d66a
push ecx
push edx
call fcn.0041342f
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0x10
jb 0x40d67a
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d670
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40d670
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041342f
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x40]
mov esi, esp
push 0x416af4
sub esp, 0x18
mov ecx, esp
push eax
call fcn.004038e0
lea ecx, [ebp - 0x88]
call fcn.00407d90
add esp, 0x18
push 0x27
push str.Remove_MpPreference__ExclusionProcess_
push ecx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00404950
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
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], 0xf
mov byte [eax], 0
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 6
mov ecx, esi
call fcn.00404180
add esp, 4
call fcn.00405a10
mov byte [ebp - 4], 5
add esp, 0x18
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x40d737
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d72d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d776
push ecx
push edx
call fcn.0041342f
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0x10
jb 0x40d786
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d77c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40d77c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041342f
add esp, 8
mov ecx, dword [ebp - 0x30]
sub edi, ecx
cmp edi, 0x24
jb 0x40d935
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
push 0x24
push str.Remove_MpPreference__ExclusionPath_
push ecx
push dword [ebp - 0x68]
lea ecx, [ebp - 0x88]
call fcn.00409e00
mov byte [ebp - 4], 7
sub esp, 0x18
mov edx, dword [ebp - 0x74]
mov esi, esp
mov ecx, dword [ebp - 0x78]
mov eax, edx
sub eax, ecx
mov dword [ebp - 0x68], esi
cmp eax, 1
jb 0x40d7f6
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
mov word [eax + ecx], 0x27
lea eax, [ebp - 0x88]
jmp 0x40d811
push 1
push 0x416af4
mov byte [ebp - 0x68], 0
lea ecx, [ebp - 0x88]
push dword [ebp - 0x68]
push 1
call fcn.004047e0
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.00405a10
mov byte [ebp - 4], 2
add esp, 0x18
mov ecx, dword [ebp - 0x74]
cmp ecx, 0x10
jb 0x40d88b
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d881
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40d881
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041342f
add esp, 8
sub esp, 0x18
mov ecx, esp
push 0x41b79c
call fcn.004038e0
call fcn.00405640
add esp, 0x18
lea ecx, [ebp - 0x64]
call fcn.00405190
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x40d8da
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d8d0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d900
push ecx
push edx
call fcn.0041342f
add esp, 8
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x40d910
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d906
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40d906
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041342f
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.00412ed8
mov esp, ebp
pop ebp
ret
call fcn.00404fe0
call fcn.00401480
call fcn.00401480
int3