Function at 0x41e412
Capabilities:
Delete file
Delete registry key
Disable windows defender features via registry on windows
Set registry value
Terminate process

Disassembly:
push ebp
sub esp, 0x670
lea ebp, [esp - 4]
mov eax, dword [0x6c56f8]
xor eax, ebp
mov dword [ebp + 0x670], eax
push 0x80
mov eax, 0x5c9149
call fcn.0058ec5e
mov eax, dword [ebp + 0x680]
mov dword [ebp - 0x1c], eax
and dword [ebp - 4], 0
push eax
push dword [ebp + 0x67c]
lea eax, [ebp - 0x70]
push eax
call fcn.0041e263
mov byte [ebp - 4], 1
push 0x68799c
lea esi, [ebp + 0x5ac]
call fcn.0040820f
mov byte [ebp - 4], 2
push str._remove
lea esi, [ebp + 0x590]
call fcn.0040820f
mov byte [ebp - 4], 3
push str._debug
lea esi, [ebp + 0x574]
call fcn.0040820f
mov byte [ebp - 4], 4
lea eax, [ebp + 0x5ac]
push eax
lea eax, [ebp + 0x5c8]
push eax
lea ecx, [ebp - 0x70]
call fcn.0041e30b
mov byte [ebp - 4], 5
lea eax, [ebp + 0x590]
push eax
lea eax, [ebp + 0x5e4]
push eax
lea ecx, [ebp - 0x70]
call fcn.0041e30b
mov byte [ebp - 4], 6
mov eax, esi
push eax
lea eax, [ebp + 0x600]
push eax
lea ecx, [ebp - 0x70]
call fcn.0041e30b
mov byte [ebp - 4], 7
push 0x6879d0
lea esi, [ebp - 0x50]
call fcn.0040820f
mov byte [ebp - 4], 8
mov eax, esi
push eax
lea eax, [ebp + 0x61c]
push eax
lea ecx, [ebp - 0x70]
call fcn.0041e30b
mov byte [ebp - 4], 0xa
push 0
push 1
call fcn.00409da6
push str.ThreatTankService
lea esi, [ebp + 0x654]
call fcn.0040820f
mov byte [ebp - 4], 0xb
mov eax, esi
push eax
lea esi, [ebp + 0x638]
call fcn.0040822e
mov byte [ebp - 4], 0xc
call fcn.0048a4d0
mov edi, 0x6810b8
push edi
lea esi, [ebp - 0x8c]
call fcn.0040820f
mov byte [ebp - 4], 0xd
push edi
lea esi, [ebp - 0x50]
call fcn.0040820f
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp + 0x654]
push eax
mov edx, esi
lea ecx, [ebp + 0x638]
lea ebx, [ebp + 0x468]
call fcn.00451c29
mov byte [ebp - 4], 0x10
push 0
xor ebx, ebx
inc ebx
push ebx
call fcn.00409da6
mov byte [ebp - 4], 0x11
push 0
push ebx
lea esi, [ebp - 0x8c]
call fcn.00409da6
mov esi, 0x6879fc
push esi
lea eax, [ebp + 0x5e4]
call fcn.0041f63e
pop ecx
test al, al
je 0x41e6b7
xor edi, edi
push edi
call fcn.004864e8
mov dword [ebp - 0x28], edi
pop ecx
cmp dword [ebp - 0x28], ebx
jge 0x41e5e4
mov eax, dword [ebp - 0x28]
shl eax, 5
push dword [eax + 0x6c797c]
call fcn.00486a19
inc dword [ebp - 0x28]
jmp 0x41e5c8
lea ecx, [ebp + 0x468]
call fcn.0045c80e
push str.netfilter2
call dword [sym.imp.nfapi.dll_enum__NF_STATUS___cdecl_nfapi::nf_unRegisterDriver_char_const__]
pop ecx
mov byte [ebp - 4], 0xc
lea eax, [ebp + 0x468]
push eax
call fcn.00451f79
mov byte [ebp - 4], 0xb
push edi
push ebx
lea esi, [ebp + 0x638]
call fcn.00409da6
mov byte [ebp - 4], 0xa
push edi
push ebx
lea esi, [ebp + 0x654]
call fcn.00409da6
mov byte [ebp - 4], 7
push edi
push ebx
lea esi, [ebp + 0x61c]
call fcn.00409da6
mov byte [ebp - 4], 6
push edi
push ebx
lea esi, [ebp + 0x600]
call fcn.00409da6
mov byte [ebp - 4], 5
push edi
push ebx
lea esi, [ebp + 0x5e4]
call fcn.00409da6
mov byte [ebp - 4], 4
push edi
push ebx
lea esi, [ebp + 0x5c8]
call fcn.00409da6
mov byte [ebp - 4], 3
push edi
push ebx
lea esi, [ebp + 0x574]
call fcn.00409da6
mov byte [ebp - 4], 2
push edi
push ebx
lea esi, [ebp + 0x590]
call fcn.00409da6
mov byte [ebp - 4], bl
push edi
push ebx
lea esi, [ebp + 0x5ac]
call fcn.00409da6
mov byte [ebp - 4], 0
lea eax, [ebp - 0x70]
push eax
call fcn.0041ed0f
xor eax, eax
jmp 0x41ecec
push esi
lea eax, [ebp + 0x5c8]
call fcn.0041f63e
pop ecx
test al, al
je 0x41e71f
call fcn.0048488e
push edi
lea esi, [ebp - 0x50]
call fcn.0040820f
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp + 0x468]
call fcn.0045c562
xor edi, edi
push edi
push ebx
lea esi, [ebp - 0x8c]
call fcn.00409da6
mov byte [ebp - 4], 0x11
push edi
push ebx
lea esi, [ebp - 0x50]
call fcn.00409da6
push str.netfilter2
call dword [sym.imp.nfapi.dll_enum__NF_STATUS___cdecl_nfapi::nf_registerDriver_char_const__]
pop ecx
call fcn.0041cc96
jmp 0x41ec21
push esi
lea eax, [ebp + 0x600]
call fcn.0041f63e
pop ecx
test al, al
je 0x41e75e
mov byte [ebp + 0x48c], bl
push ebx
push 0x45c6b9
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push dword [ebp - 0x1c]
push dword [ebp + 0x67c]
lea ecx, [ebp + 0x468]
mov eax, dword [ebp + 0x468]
call dword [eax]
jmp 0x41ec1f
push esi
lea eax, [ebp + 0x61c]
call fcn.0041f63e
pop ecx
test al, al
je 0x41ebee
mov dword [0x6c438c], 7
push str.c:PCDCTRkrn2.log
call fcn.00540f2c
mov edi, str.wmain
cmp dword [0x6c438c], ebx
jl 0x41e7a3
push str.WD_Operation_started
push edi
push ebx
call fcn.00540a02
add esp, 0xc
push str.pcwdk1
lea eax, [ebp - 0x1c]
push eax
call fcn.0048a740
mov byte [ebp - 4], 0x13
push str.pcwdk2
lea eax, [ebp - 0x2c]
push eax
call fcn.0048a740
mov byte [ebp - 4], 0x14
push str.pcwdk11
lea eax, [ebp - 0x30]
push eax
call fcn.0048a740
mov byte [ebp - 4], 0x15
push str.pcwdk21
lea eax, [ebp - 0x34]
push eax
call fcn.0048a740
add esp, 0x20
mov byte [ebp - 4], 0x16
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
push dword [ebp - 0x2c]
call esi
push dword [ebp - 0x30]
call esi
push dword [ebp - 0x34]
call esi
and dword [ebp - 0x14], 0
mov byte [ebp - 4], 0x17
push 0
lea esi, [ebp - 0x14]
call fcn.00409590
push eax
xor esi, esi
push esi
push 0xf013f
push esi
push esi
push esi
push str.SOFTWAREPCWDOp
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
jne 0x41eafe
mov esi, 0x687b04
push esi
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push 0x687b0c
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
cmp dword [0x6c438c], ebx
jl 0x41e872
push str.WD_Op_stage1
push edi
push ebx
call fcn.00540a02
add esp, 0xc
push dword [ebp - 0x1c]
push str.SOFTWAREPoliciesMicrosoftWindows_Defender
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004294c1
add esp, 0xc
test al, al
je 0x41e9c0
push dword [ebp - 0x1c]
push esi
push dword [ebp - 0x14]
call fcn.0042956a
add esp, 0xc
test al, al
je 0x41e9c0
mov dword [ebp - 0x24], ebx
push 4
lea eax, [ebp - 0x24]
push eax
push 4
push str.DisableAntiSpyware
push esi
push dword [ebp - 0x14]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call esi
test eax, eax
je 0x41e8de
cmp dword [0x6c438c], ebx
jl 0x41e8de
push eax
push str.WD_Op_SHSetValue:__i
push edi
push ebx
call fcn.00540a02
add esp, 0x10
push 4
lea eax, [ebp - 0x24]
push eax
push 4
push str.DisableOnAccessProtection
push str.WD1Real_Time_Protection
push dword [ebp - 0x14]
call esi
test eax, eax
je 0x41e911
cmp dword [0x6c438c], ebx
jl 0x41e911
push eax
push str.WD_Op_SHSetValue:__i
push edi
push ebx
call fcn.00540a02
add esp, 0x10
push 4
lea eax, [ebp - 0x24]
push eax
push 4
push str.DisableRealtimeMonitoring
push str.WD1Real_Time_Protection
push dword [ebp - 0x14]
call esi
test eax, eax
je 0x41e944
cmp dword [0x6c438c], ebx
jl 0x41e944
push eax
push str.WD_Op_SHSetValue:__i
push edi
push ebx
call fcn.00540a02
add esp, 0x10
push 4
lea eax, [ebp - 0x24]
push eax
push 4
push str.DisableBehaviorMonitoring
push str.WD1Real_Time_Protection
push dword [ebp - 0x14]
call esi
test eax, eax
je 0x41e977
cmp dword [0x6c438c], ebx
jl 0x41e977
push eax
push str.WD_Op_SHSetValue:__i
push edi
push ebx
call fcn.00540a02
add esp, 0x10
push dword [ebp - 0x30]
push 0x687b04
push dword [ebp - 0x14]
call fcn.004294c1
add esp, 0xc
test al, al
je 0x41e9c6
push dword [ebp - 0x30]
push str.SOFTWAREPoliciesMicrosoftWindows_Defender
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0042956a
add esp, 0xc
test al, al
je 0x41e9c6
cmp dword [0x6c438c], ebx
jl 0x41e9dd
push str.WD_Op_stage1_done
push edi
push ebx
call fcn.00540a02
add esp, 0xc
jmp 0x41e9c6
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp dword [0x6c438c], ebx
jl 0x41e9dd
push str.WD_Op_stage2
push edi
push ebx
call fcn.00540a02
add esp, 0xc
push dword [ebp - 0x2c]
push str.SOFTWAREMicrosoftWindows_Defender
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004294c1
add esp, 0xc
test al, al
je 0x41eb16
push dword [ebp - 0x2c]
push 0x687b0c
push dword [ebp - 0x14]
call fcn.0042956a
add esp, 0xc
test al, al
je 0x41eb16
mov dword [ebp - 0x20], ebx
push 4
lea eax, [ebp - 0x20]
push eax
push 4
push str.DisableAntiSpyware
push 0x687b0c
push dword [ebp - 0x14]
call esi
test eax, eax
je 0x41ea4b
cmp dword [0x6c438c], ebx
jl 0x41ea4b
push eax
push str.WD_Op_SHSetValue:__i
push edi
push ebx
call fcn.00540a02
add esp, 0x10
push 4
lea eax, [ebp - 0x20]
push eax
push 4
push str.DisableRealtimeMonitoring
push str.WD2Real_Time_Protection
push dword [ebp - 0x14]
call esi
test eax, eax
je 0x41ea7e
cmp dword [0x6c438c], ebx
jl 0x41ea7e
push eax
push str.WD_Op_SHSetValue:__i
push edi
push ebx
call fcn.00540a02
add esp, 0x10
and dword [ebp - 0x20], 0
push 4
lea eax, [ebp - 0x20]
push eax
push 4
push str.TamperProtection
push str.WD2Features
push dword [ebp - 0x14]
call esi
test eax, eax
je 0x41eab5
cmp dword [0x6c438c], ebx
jl 0x41eab5
push eax
push str.WD_Op_SHSetValue:__i
push edi
push ebx
call fcn.00540a02
add esp, 0x10
push dword [ebp - 0x34]
push 0x687b0c
push dword [ebp - 0x14]
call fcn.004294c1
add esp, 0xc
test al, al
je 0x41eb16
push dword [ebp - 0x34]
push str.SOFTWAREMicrosoftWindows_Defender
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0042956a
add esp, 0xc
test al, al
je 0x41eb16
cmp dword [0x6c438c], ebx
jl 0x41eb16
push str.WD_Op_stage2_done
push edi
push ebx
call fcn.00540a02
add esp, 0xc
jmp 0x41eb16
cmp dword [0x6c438c], ebx
jl 0x41eb16
push eax
push str.WD_Op_RegCreateKeyEx:__i
push edi
push ebx
call fcn.00540a02
add esp, 0x10
lea eax, [ebp]
push eax
call fcn.00440e8d
mov byte [ebp - 4], 0x18
lea eax, [ebp + 0x238]
push eax
lea eax, [ebp]
call fcn.00440f26
cmp byte [ebp + 0x464], 0
je 0x41eb9c
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 0x238]
push eax
call fcn.0041e3dd
mov byte [ebp - 4], 0x19
push str.SecHealthUI.exe
push eax
call fcn.00408696
neg eax
sbb al, al
inc al
mov byte [ebp - 0x15], al
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x20]
call fcn.004085f6
cmp byte [ebp - 0x15], 0
je 0x41eb23
push dword [ebp + 0x240]
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x41eb23
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41eb23
mov byte [ebp - 4], 0x17
lea eax, [ebp]
push eax
call fcn.00440efa
mov byte [ebp - 4], 0x16
cmp dword [ebp - 0x14], 0
je 0x41ebbc
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x34]
call fcn.004085f6
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x30]
call fcn.004085f6
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x2c]
call fcn.004085f6
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x1c]
call fcn.004085f6
jmp 0x41ec1f
cmp dword [ebp + 0x4ac], 8
mov eax, dword [ebp + 0x498]
jae 0x41ec03
lea eax, [ebp + 0x498]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 0x45c8df
and dword [ebp - 0x3c], 0
and dword [ebp - 0x38], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
xor edi, edi
mov byte [ebp - 4], 0xc
lea eax, [ebp + 0x468]
push eax
call fcn.00451f79
mov byte [ebp - 4], 0xb
push edi
push ebx
lea esi, [ebp + 0x638]
call fcn.00409da6
mov byte [ebp - 4], 0xa
push edi
push ebx
lea esi, [ebp + 0x654]
call fcn.00409da6
mov byte [ebp - 4], 7
push edi
push ebx
lea esi, [ebp + 0x61c]
call fcn.00409da6
mov byte [ebp - 4], 6
push edi
push ebx
lea esi, [ebp + 0x600]
call fcn.00409da6
mov byte [ebp - 4], 5
push edi
push ebx
lea esi, [ebp + 0x5e4]
call fcn.00409da6
mov byte [ebp - 4], 4
push edi
push ebx
lea esi, [ebp + 0x5c8]
call fcn.00409da6
mov byte [ebp - 4], 3
push edi
push ebx
lea esi, [ebp + 0x574]
call fcn.00409da6
mov byte [ebp - 4], 2
push edi
push ebx
lea esi, [ebp + 0x590]
call fcn.00409da6
mov byte [ebp - 4], bl
push edi
push ebx
lea esi, [ebp + 0x5ac]
call fcn.00409da6
mov byte [ebp - 4], 0
lea eax, [ebp - 0x70]
push eax
call fcn.0041ed0f
or dword [ebp - 4], 0xffffffff
jmp 0x41e6b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x670]
xor ecx, ebp
call fcn.00581268
add ebp, 0x674
leave
ret