Function at 0x140004d00
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x140053018]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rbx, rax
test rax, rax
jne 0x140004dfe
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rax
lea r8d, [rax + 0x2c]
lea rdx, str.__Failed_to_check_Windows_Defender__Error_1_
lea rcx, [rbp - 9]
call fcn.1400023d0
nop
lea rcx, [0x140053ca0]
call fcn.14000c0d0
lea rdx, str._X_
call fcn.1400020f0
lea rcx, [0x140053c90]
call fcn.14000c0d0
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 0x10
cmovae rdx, qword [rbp - 9]
mov r8, qword [rbp + 7]
call fcn.1400101d0
mov rcx, rax
call fcn.14000db50
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x140004de2
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004ddd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005143
call fcn.140016d84
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.14000bfc0
jmp 0x140005116
mov r8d, 4
lea rdx, str.WinDefend
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
test rax, rax
jne 0x140004edf
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rax
lea r8d, [rax + 0x2c]
lea rdx, str.__Failed_to_check_Windows_Defender__Error_2_
lea rcx, [rbp - 9]
call fcn.1400023d0
nop
lea rcx, [0x140053ca0]
call fcn.14000c0d0
lea rdx, str._X_
call fcn.1400020f0
lea rcx, [0x140053c90]
call fcn.14000c0d0
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 0x10
cmovae rdx, qword [rbp - 9]
mov r8, qword [rbp + 7]
call fcn.1400101d0
mov rcx, rax
call fcn.14000db50
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x140004ec3
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004ebe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005149
call fcn.140016d84
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.14000bfc0
jmp 0x14000510d
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 0x140004fb2
xor eax, eax
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rax
lea r8d, [rax + 0x2c]
lea rdx, str.__Failed_to_check_Windows_Defender__Error_3_
call fcn.1400023d0
nop
lea rcx, [0x140053ca0]
call fcn.14000c0d0
lea rdx, str._X_
call fcn.1400020f0
lea rcx, [0x140053c90]
call fcn.14000c0d0
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 0x10
cmovae rdx, qword [rbp - 9]
mov r8, qword [rbp + 7]
call fcn.1400101d0
mov rcx, rax
call fcn.14000db50
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x140005056
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005051
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000513d
jmp 0x140005051
xor eax, eax
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rax
cmp dword [rbp + 0x23], 4
jne 0x140005072
lea r8d, [rax + 0x1d]
lea rdx, str.__Windows_Defender_is_enabled
call fcn.1400023d0
nop
lea rcx, [0x140053ca0]
call fcn.14000c0d0
lea rdx, str._X_
call fcn.1400020f0
lea rcx, [0x140053c90]
call fcn.14000c0d0
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 0x10
cmovae rdx, qword [rbp - 9]
mov r8, qword [rbp + 7]
call fcn.1400101d0
mov rcx, rax
call fcn.14000db50
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x140005056
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005051
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000514f
call fcn.140016d84
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.14000bfc0
jmp 0x140005104
mov r8d, 0x1e
lea rdx, str.__Windows_Defender_is_disabled
call fcn.1400023d0
nop
lea rcx, [0x140053c40]
call fcn.14000c0d0
lea rdx, str.__
call fcn.1400020f0
lea rcx, [0x140053c90]
call fcn.14000c0d0
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 0x10
cmovae rdx, qword [rbp - 9]
mov r8, qword [rbp + 7]
call fcn.1400101d0
lea rcx, [0x1400544d0]
call fcn.14000db50
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x140005104
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400050ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005137
call fcn.140016d84
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.140016d20
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.14001d9d8
int3
call fcn.14001d9d8
int3
call fcn.14001d9d8
int3
call fcn.14001d9d8
int3
call fcn.14001d9d8
int3