Function at 0x1400041d0
Capabilities:
Query service status
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x140051080]
xor rax, rsp
mov qword [rbp + 0x47], rax
lea rcx, str.Checking_Windows_Defender
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
xor edx, edx
xor ecx, ecx
mov r8d, 1
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rbx, rax
test rax, rax
jne 0x1400042df
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rax
mov r8d, 0x2c
lea rdx, str.__Failed_to_check_Windows_Defender__Error_1_
lea rcx, [rbp - 9]
call fcn.1400026b0
nop
lea rcx, [0x140051d00]
call fcn.14000a2d0
lea rdx, str._X_
call fcn.1400023d0
lea rcx, [0x140051d50]
call fcn.14000a2d0
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 0xf
cmova rdx, qword [rbp - 9]
mov r8, qword [rbp + 7]
call fcn.14000e090
mov rcx, rax
call fcn.14000bfa0
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x1400042c3
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400042be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000462a
call fcn.140014944
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.start_https:__www.sordum.org_9480_defender_control_v2_1_
call fcn.14000a1c0
jmp 0x1400045fd
mov r8d, 4
lea rdx, str.WinDefend
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
test rax, rax
jne 0x1400043c2
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rax
mov r8d, 0x2c
lea rdx, str.__Failed_to_check_Windows_Defender__Error_2_
lea rcx, [rbp - 9]
call fcn.1400026b0
nop
lea rcx, [0x140051d00]
call fcn.14000a2d0
lea rdx, str._X_
call fcn.1400023d0
lea rcx, [0x140051d50]
call fcn.14000a2d0
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 0xf
cmova rdx, qword [rbp - 9]
mov r8, qword [rbp + 7]
call fcn.14000e090
mov rcx, rax
call fcn.14000bfa0
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x1400043a6
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400043a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004630
call fcn.140014944
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.start_https:__www.sordum.org_9480_defender_control_v2_1_
call fcn.14000a1c0
jmp 0x1400045f4
lea rax, [rbp + 0x17]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rbp + 0x1f]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
xorps xmm0, xmm0
lea rcx, [rbp - 9]
movups xmmword [rbp - 9], xmm0
test eax, eax
jne 0x140004497
xor eax, eax
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rax
mov r8d, 0x2c
lea rdx, str.__Failed_to_check_Windows_Defender__Error_3_
call fcn.1400026b0
nop
lea rcx, [0x140051d00]
call fcn.14000a2d0
lea rdx, str._X_
call fcn.1400023d0
lea rcx, [0x140051d50]
call fcn.14000a2d0
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 0xf
cmova rdx, qword [rbp - 9]
mov r8, qword [rbp + 7]
call fcn.14000e090
mov rcx, rax
call fcn.14000bfa0
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x14000453d
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004538
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004624
jmp 0x140004538
xor eax, eax
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rax
cmp dword [rbp + 0x23], 4
jne 0x140004559
mov r8d, 0x1d
lea rdx, str.__Windows_Defender_is_enabled
call fcn.1400026b0
nop
lea rcx, [0x140051d00]
call fcn.14000a2d0
lea rdx, str._X_
call fcn.1400023d0
lea rcx, [0x140051d50]
call fcn.14000a2d0
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 0xf
cmova rdx, qword [rbp - 9]
mov r8, qword [rbp + 7]
call fcn.14000e090
mov rcx, rax
call fcn.14000bfa0
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x14000453d
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004538
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004636
call fcn.140014944
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.start_https:__www.sordum.org_9480_defender_control_v2_1_
call fcn.14000a1c0
jmp 0x1400045eb
mov r8d, 0x1e
lea rdx, str.__Windows_Defender_is_disabled
call fcn.1400026b0
nop
lea rcx, [0x140051cf0]
call fcn.14000a2d0
lea rdx, str.__
call fcn.1400023d0
lea rcx, [0x140051d50]
call fcn.14000a2d0
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 0xf
cmova rdx, qword [rbp - 9]
mov r8, qword [rbp + 7]
call fcn.14000e090
lea rcx, [0x140052500]
call fcn.14000bfa0
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x1400045eb
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400045e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000461e
call fcn.140014944
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400148e0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.14001aa40
int3
call fcn.14001aa40
int3
call fcn.14001aa40
int3
call fcn.14001aa40
int3
call fcn.14001aa40
int3