Function at 0x40b500
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4429bb
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x473064]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x224]
push 0x108
push 0
push eax
mov dword [ebp - 4], 0
call fcn.00426440
add esp, 0xc
xorps xmm0, xmm0
push 0x4748f0
push 1
push 3
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 5
movups xmmword [ecx], xmm0
push str.1.0.1
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00415050
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
xorps xmm0, xmm0
push 0x12
movups xmmword [ecx], xmm0
push str.no_defender_loader
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00415050
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 0
call fcn.00407ad0
push str.__disable
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 2
call fcn.00414280
push 0x1b
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
push str.re_enable_firewall_defender
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x24], 0
mov esi, eax
movups xmmword [ebp - 0x38], xmm0
call fcn.00415050
lea eax, [ebp - 0x38]
push eax
lea ecx, [esi + 0x14]
call fcn.0040e570
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x40b634
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b62a
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bed2
push edx
push ecx
call fcn.00424b8e
add esp, 8
mov ecx, esi
call fcn.00405b90
push str.__firewall
lea ecx, [ebp - 0x224]
call fcn.00414280
push 0x14
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
push str.disable_the_firewall
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x24], 0
mov esi, eax
movups xmmword [ebp - 0x38], xmm0
call fcn.00415050
lea eax, [ebp - 0x38]
push eax
lea ecx, [esi + 0x14]
call fcn.0040e570
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x40b6b1
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b6a7
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bed2
push edx
push ecx
call fcn.00424b8e
add esp, 8
mov ecx, esi
call fcn.00405b90
push str.__av
lea ecx, [ebp - 0x224]
call fcn.00414280
push 0x14
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
push str.disable_the_defender
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x24], 0
mov esi, eax
movups xmmword [ebp - 0x38], xmm0
call fcn.00415050
lea eax, [ebp - 0x38]
push eax
lea ecx, [esi + 0x14]
call fcn.0040e570
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x40b72e
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b724
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bed2
push edx
push ecx
call fcn.00424b8e
add esp, 8
mov ecx, esi
call fcn.00405b90
push str.__name
lea ecx, [ebp - 0x224]
call fcn.00414280
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
push str.av_name
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x24], 0
mov esi, eax
movups xmmword [ebp - 0x38], xmm0
call fcn.00415050
lea eax, [ebp - 0x38]
push eax
lea ecx, [esi + 0x14]
call fcn.0040e570
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x40b7ab
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b7a1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40be28
push ecx
push edx
call fcn.00424b8e
add esp, 8
push 0x1d
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
push str.github.com_es3n1n_no_defender
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x54], xmm0
call fcn.00415050
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 3
push eax
mov ecx, esi
call fcn.00412d30
mov byte [ebp - 4], 2
mov dword [eax + 0x11c], 1
mov dword [eax + 0x120], 1
mov ecx, dword [ebp - 0x40]
cmp ecx, 0x10
jb 0x40b82a
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b820
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40be28
push ecx
push edx
call fcn.00424b8e
add esp, 8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
lea ecx, [edi + eax*4]
mov dword [ebp - 0x228], ecx
test eax, eax
je 0x40b8e1
push eax
lea ecx, [ebp - 0x48]
call fcn.00418140
lea eax, [ebp - 0x48]
mov dword [ebp - 0x1c], eax
mov esi, dword [ebp - 0x48]
xorps xmm0, xmm0
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 5
cmp edi, dword [ebp - 0x228]
je 0x40b8d1
mov edx, dword [edi]
xorps xmm0, xmm0
mov ecx, edx
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
lea eax, [ecx + 1]
mov dword [ebp - 0x22c], eax
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b8b0
sub ecx, dword [ebp - 0x22c]
push ecx
push edx
mov ecx, esi
call fcn.00415050
add esi, 0x18
add edi, 4
mov dword [ebp - 0x28], esi
jmp 0x40b881
push ecx
mov edx, esi
mov ecx, esi
call fcn.00414940
add esp, 4
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x224]
call fcn.004081f0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.0040fc90
sub esp, 8
lea ecx, [ebp - 0x224]
mov eax, esp
mov dword [eax], str.__name
mov dword [eax + 4], 6
lea eax, [ebp - 0x6c]
push eax
call fcn.00414420
mov byte [ebp - 4], 7
cmp dword [ebp - 0x5c], 0x80
ja 0x40be2d
sub esp, 8
mov byte [ebp - 0x17], 0
mov eax, esp
lea ecx, [ebp - 0x224]
mov dword [eax], str.__disable
mov dword [eax + 4], 9
call fcn.00414590
mov byte [ebp - 0x18], al
lea ecx, [ebp - 0x224]
sub esp, 8
mov eax, esp
mov dword [eax], str.__firewall
mov dword [eax + 4], 0xa
call fcn.00414590
test al, al
je 0x40b97b
or byte [ebp - 0x17], 2
sub esp, 8
lea ecx, [ebp - 0x224]
mov eax, esp
mov dword [eax], str.__av
mov dword [eax + 4], 4
call fcn.00414590
mov cl, byte [ebp - 0x17]
test al, al
je 0x40b9a2
or cl, 1
test cl, cl
movzx eax, cl
mov edx, 1
mov ecx, 0x4748f0
cmove eax, edx
mov edx, str._saving_the_ctx..
mov byte [ebp - 0x17], al
call fcn.004129a0
push eax
call fcn.00413910
add esp, 4
lea eax, [ebp - 0x11c]
push 0xb0
push 0
push eax
call fcn.00426440
add esp, 0xc
lea ecx, [ebp - 0x38]
call fcn.0040a9a0
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 0x10
jb 0x40b9f4
mov eax, dword [eax]
sub esp, 0xc
lea ecx, [ebp - 0x11c]
push eax
call fcn.0040fa50
mov eax, dword [ebp - 0x11c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x120], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x40ba62
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40ba58
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40be60
push ecx
push edx
call fcn.00424b8e
add esp, 8
sub esp, 8
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x24], 0xf
lea ecx, [ebp - 0x11c]
mov byte [ebp - 0x38], 0
push eax
call fcn.0040deb0
mov eax, dword [ebp - 0x11c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x120], eax
lea ecx, [ebp - 0x118]
call fcn.0040cd20
mov eax, dword [ebp - 0x11c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x120], eax
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 0xc
push eax
mov dword [ebp - 0xb4], vtable.std::ios_base.0
call fcn.00424117
add esp, 4
mov byte [ebp - 4], 7
mov edx, str._setting_the_registry_keys_up
mov ecx, 0x4748f0
call fcn.004129a0
push eax
call fcn.00413910
add esp, 4
call fcn.0040ac00
lea esi, [ebp - 0x44]
mov dword [ebp - 0x44], str.SeLoadDriverPrivilege
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x40], 0x15
sub esp, 0xc
sub eax, esi
mov ecx, esp
mov dword [ebp - 0x22c], eax
sar eax, 3
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x1c], eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
test eax, eax
je 0x40bbf3
cmp eax, 0x1fffffff
ja 0x40be65
lea edi, [eax*8]
cmp edi, 0x1000
jb 0x40bbad
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x40be6a
push eax
call fcn.00424985
add esp, 4
test eax, eax
je 0x40be28
mov ecx, dword [ebp - 0x228]
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x40bbc6
test edi, edi
je 0x40bbc4
push edi
call fcn.00424985
mov ecx, dword [ebp - 0x228]
add esp, 4
mov esi, eax
jmp 0x40bbc6
xor esi, esi
push dword [ebp - 0x22c]
mov dword [ecx], esi
lea eax, [esi + edi]
mov dword [ecx + 4], esi
mov dword [ecx + 8], eax
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.00425ec0
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov ecx, dword [ebp - 0x228]
lea eax, [esi + eax*8]
mov dword [ecx + 4], eax
call fcn.004057d0
add esp, 0xc
test al, al
je 0x40be6f
push 0xf003f
push 0
xorps xmm0, xmm0
push 0
movlpd qword [ebp - 0x20], xmm0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x6c]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x20]
call fcn.0040af80
cmp byte [ebp - 0x18], 1
jne 0x40bcf1
mov edx, str._removing_the_service
mov ecx, 0x4748f0
call fcn.004129a0
push eax
call fcn.00413910
mov esi, dword [ebp - 0x1c]
add esp, 4
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
movq qword [ebp - 0x48], xmm0
push 0xf01ff
push str.wsc_proxy
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ecx, eax
test ecx, ecx
jne 0x40bc8a
mov ecx, dword [ebp - 0x44]
xor al, al
mov byte [ebp - 0x40], al
jmp 0x40bc95
mov al, 1
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], ecx
mov byte [ebp - 0x40], al
mov byte [ebp - 4], 0xf
test al, al
je 0x40be90
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x24], 0
push eax
xorps xmm0, xmm0
push 1
push ecx
movups xmmword [ebp - 0x3c], xmm0
movq qword [ebp - 0x2c], xmm0
call dword [sym.imp.ADVAPI32.dll_ControlService]
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x40beb1
mov byte [ebp - 4], 0xd
cmp byte [ebp - 0x40], 0
je 0x40bcf4
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x40bceb
push eax
call dword [ebp - 0x48]
mov byte [ebp - 4], 0xd
jmp 0x40bcf4
mov esi, dword [ebp - 0x1c]
mov edx, str._done__thanks_for_using_the_no_defender_project_
mov ecx, 0x4748f0
call fcn.004129a0
push eax
call fcn.00413910
add esp, 4
push eax
call fcn.00413910
add esp, 4
mov edx, str._please_dont_forget_to_leave_a_star_at_https:__github.com_es3n1n_no_defender
mov ecx, 0x4748f0
call fcn.004129a0
push eax
call fcn.00413910
add esp, 4
cmp byte [ebp - 0x18], 0
jne 0x40bd7b
mov edx, str._please_dont_remove_any_files_from_this_folder__otherwise_no_defender_wouldnt_be_activated_after_the_reboot_
mov ecx, 0x4748f0
call fcn.004129a0
push eax
call fcn.00413910
add esp, 4
mov edx, str._if_you_wish_to_change_the_folder__please_de_activate_no_defender__change_the_folder_and_activate_it_again
mov ecx, 0x4748f0
call fcn.004129a0
push eax
call fcn.00413910
add esp, 4
mov edx, str._to_de_activate_the_no_defender_please_run_no_defender.exe___disable
mov ecx, 0x4748f0
call fcn.004129a0
push eax
call fcn.00413910
add esp, 4
call fcn.0040d420
mov byte [ebp - 4], 0x11
test esi, esi
je 0x40bd8c
push esi
call dword [ebp - 0x20]
mov ecx, dword [ebp - 0x58]
cmp ecx, 0x10
jb 0x40bdc0
mov edx, dword [ebp - 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bdb6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bed2
push ecx
push edx
call fcn.00424b8e
add esp, 8
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
call fcn.0040bee0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00424972
mov esp, ebp
pop ebp
ret
call fcn.0042cf69
push 0x20
push str.Max_name_length_is__characters
lea ecx, [ebp - 0x38]
call fcn.00414530
add esp, 8
push eax
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 8
call fcn.00403a10
push 0x471d18
lea eax, [ebp - 0x23c]
push eax
call fcn.00425e40
call fcn.0042cf69
call fcn.004161b0
call fcn.00403800
push str.unable_to_acquire_privileges
lea ecx, [ebp - 0x248]
call fcn.00403a70
push 0x471d18
lea eax, [ebp - 0x248]
push eax
call fcn.00425e40
push str.unable_to_open_wsc_proxy
lea ecx, [ebp - 0x254]
call fcn.00403a70
push 0x471d18
lea eax, [ebp - 0x254]
push eax
call fcn.00425e40
push str.unable_to_remove_wsc_proxy
lea ecx, [ebp - 0x260]
call fcn.00403a70
push 0x471d18
lea eax, [ebp - 0x260]
push eax
call fcn.00425e40
call fcn.0042cf69
int3