Function at 0x140007aa0
Capabilities:
Delete service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2f0]
sub rsp, 0x3f0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
xor r12d, r12d
mov dword [rsp + 0x30], r12d
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
lea edx, [r12 + 5]
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, str.Russian
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], 0xf
lea ecx, [r12 + 0x20]
call fcn.14000aeec
mov qword [rbp - 0x60], rax
mov edi, 0x10
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], 0x1f
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov byte [rax + 0x10], r12b
mov r15d, 1
mov dword [rsp + 0x30], r15d
lea rbx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rbx, qword [rbp - 0x60]
movabs rsi, 0x842108421084211
movups xmm0, xmmword [str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz]
movups xmmword [rbp + 0x1a0], xmm0
movups xmm1, xmmword [0x14000d8c8]
movups xmmword [rbp + 0x1b0], xmm1
movups xmm0, xmmword [0x14000d8d8]
movups xmmword [rbp + 0x1c0], xmm0
movsd xmm0, qword [0x14000d8e8]
movsd qword [rbp + 0x1d0], xmm0
mov eax, dword [0x14000d8f0]
mov dword [rbp + 0x1d8], eax
movzx eax, word [0x14000d8f4]
mov word [rbp + 0x1dc], ax
movzx eax, byte [0x14000d8f6]
mov byte [rbp + 0x1de], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movsxd rcx, eax
mov rax, rsi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
imul rax, rax, 0x3e
sub rcx, rax
movzx eax, byte [rbp + rcx + 0x1a0]
mov byte [rbx], al
lea rbx, [rbx + 1]
sub rdi, r15
jne 0x140007b62
mov qword [rbp - 0x70], r12
lea r13, [0x140019070]
mov qword [rbp - 0x68], r13
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x40]
call fcn.140007700
mov dword [rsp + 0x30], 3
cmp dword [rbp - 0x70], edi
jne 0x140008495
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rax, qword [rsp + 0x40]
mov qword [rbp - 0x70], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp - 0x68], rax
call fcn.14000a8c8
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
lea r8, [rbp - 0x70]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.1400097b0
mov dword [rsp + 0x30], 0x1f
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x50]
lea rcx, [rsp + 0x60]
call fcn.140009700
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], dil
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140007cfb
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007cf6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007cf6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000af28
movdqa xmm0, xmmword [0x140014370]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov dword [rsp + 0x30], 0x3d
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140007d5b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007d56
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007d56
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000af28
movdqa xmm0, xmmword [0x140014360]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r12w
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x90]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rdx, qword [rbp - 0x20]
lea rcx, [rbp + 0x90]
call fcn.140009240
nop
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
mov qword [rbp + 0x10], r12
mov ecx, 0x6837
call fcn.14000aeec
test rax, rax
je 0x14000847f
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
mov qword [rbp], rsi
lea r14, [rsi + 0x6810]
mov qword [rbp + 0x10], r14
mov r8d, 0x6810
lea rdx, [0x14000dad0]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 8], r14
mov r8d, 0x6810
mov rdx, rsi
lea rcx, [rbp + 0x90]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp + 0x98]
call fcn.140009640
test rax, rax
jne 0x140007e3a
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x90]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rdx, [0x14000d900]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140009a70
mov qword [rsp + 0x38], 0x190
lea rcx, [rsp + 0x38]
call fcn.140009c40
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x38], rax
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x1a0]
call fcn.140005c00
mov rdi, rax
lea rax, [rsp + 0x60]
mov qword [rbp - 0x80], rax
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x60]
call fcn.140005c00
mov rbx, rax
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x40]
call fcn.140005c00
nop
mov r9, rdi
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.140007830
nop
lea rcx, [rbp + 0x20]
call fcn.140006190
test eax, eax
je 0x140007efc
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x14000d918]
jmp 0x140007fa4
call fcn.140001030
test eax, eax
je 0x140007f11
lea rdx, [0x14000d918]
jmp 0x140007fa4
lea rcx, [rbp + 0x20]
call fcn.140006330
test al, al
je 0x140007f8e
mov eax, dword [rbp + 0x88]
cmp eax, 1
jne 0x140007f3c
lea rcx, [rbp + 0x20]
call fcn.140006330
test al, al
je 0x140007f88
mov eax, dword [rbp + 0x88]
cmp eax, 2
jne 0x140007f88
xor edx, edx
xor ecx, ecx
mov r8d, eax
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rbx, rax
test rax, rax
je 0x140007f88
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 0xf
cmova rdx, qword [rbp + 0x40]
mov r8d, 0xf01ff
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov qword [rbp + 0x80], rax
test rax, rax
jne 0x140007ffc
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov r15d, 2
test r15d, r15d
je 0x140008020
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.___:__d
mov r8d, eax
lea rcx, [rbp + 0x1e0]
call fcn.140006420
lea rdx, [0x14000d954]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140009a70
mov rcx, rax
lea rdx, [rbp + 0x1e0]
call fcn.140009a70
mov rcx, rax
lea rdx, [0x14000d950]
call fcn.140009a70
mov qword [rsp + 0x38], 0x5dc
lea rcx, [rsp + 0x38]
call fcn.140009c40
jmp 0x14000829c
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [rbp + 0x88], 3
mov r15d, r12d
jmp 0x140007f8e
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], r13
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x40]
call fcn.140007700
mov dword [rsp + 0x30], 0x7d
cmp dword [rbp - 0x70], 0
jne 0x1400084a4
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rax, qword [rsp + 0x40]
mov qword [rbp - 0x70], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp - 0x68], rax
call fcn.14000a8c8
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
lea r8, [rbp - 0x70]
mov edx, eax
lea rcx, [rbp + 0x1a0]
call fcn.1400097b0
mov dword [rsp + 0x30], 0x3fd
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x50]
lea rcx, [rbp + 0x1a0]
call fcn.140009700
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 0xf
jbe 0x14000811d
inc rdx
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008118
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008118
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000af28
movdqa xmm0, xmmword [0x140014370]
movdqu xmmword [rbp + 0x1b0], xmm0
mov byte [rbp + 0x1a0], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140008179
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008174
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008174
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000af28
movdqa xmm0, xmmword [0x140014360]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r12w
mov rdi, qword [rbp - 0x30]
lea rbx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rbx, qword [rbp - 0x40]
call fcn.14000a8c8
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rdi
lea r8, [rbp - 0x70]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.140006c00
nop
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rcx, qword [rsp + 0x60]
call fcn.14000ac24
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x140008486
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x140008227
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008222
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008222
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000af28
lea rdx, [0x14000d9a0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140009a70
mov qword [rsp + 0x38], 0x5dc
lea rcx, [rsp + 0x38]
call fcn.140009c40
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14000828c
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008287
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008287
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000af28
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x1400082d7
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400082d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008362
call fcn.14000af28
movdqa xmm0, xmmword [0x140014370]
movdqa xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x60], 0
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x14000831f
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000831a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008362
call fcn.14000af28
movdqa xmm0, xmmword [0x140014370]
movdqa xmmword [rbp + 0x50], xmm0
mov byte [rbp + 0x40], 0
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x14000836e
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008369
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008369
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000af28
movdqa xmm0, xmmword [0x140014370]
movdqa xmmword [rbp + 0x30], xmm0
mov byte [rbp + 0x20], 0
sub r14, rsi
cmp r14, 0x1000
jb 0x1400083a7
add r14, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x14000847f
mov rsi, rcx
mov rdx, r14
mov rcx, rsi
call fcn.14000af28
nop
lea rcx, [rbp + 0x90]
call fcn.1400084c0
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x1400083fe
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400083f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400083f9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000af28
movdqa xmm0, xmmword [0x140014370]
movdqu xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x14000844d
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008448
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008448
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000af28
xor eax, eax
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.14000aea0
lea r11, [rsp + 0x3f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
shr rdx, 0x20
lea r8, [rsp + 0x60]
call fcn.140007630
nop
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x70]
call fcn.1400076a0
nop
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x70]
call fcn.1400076a0
int3