Function at 0x14000d030
Capabilities:
Get common file path
Start 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 - 0x120]
sub rsp, 0x220
mov rax, qword [0x14017b1b0]
xor rax, rsp
mov qword [rbp + 0x110], rax
lea rdx, [rbp]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
xor r13d, r13d
mov r15d, r13d
mov qword [rbp - 0x10], r13
dec eax
cmp eax, 0x103
ja 0x14000d606
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], 0xf
mov byte [rbp - 0x60], r13b
lea rax, [rbp]
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14000d0c0
lea rdx, [rbp]
lea rcx, [rbp - 0x60]
call fcn.140008660
nop
mov r8d, 8
lea rdx, str.mdrv.tmp
lea rcx, [rbp - 0x60]
call fcn.14000aff0
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x14000d153
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d14e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d68b
call fcn.1400105cc
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], 0xf
mov byte [rbp - 0x60], 0
mov rdi, qword [rbp - 0x70]
lea rbx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rbx, qword [rbp - 0x80]
call fcn.14000fb78
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rdi
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.14000c5f0
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp - 0x40]
call fcn.14000fcb4
mov edx, eax
test eax, eax
jne 0x14000d1f3
mov ecx, dword [rbp - 0x30]
bt ecx, 0xa
jae 0x14000d1e8
mov eax, dword [rbp - 0x2c]
cmp eax, 0xa000000c
jne 0x14000d1da
lea ecx, [rdx + 4]
jmp 0x14000d20f
cmp eax, 0xa0000003
jne 0x14000d1e8
mov ecx, 0xa
jmp 0x14000d20f
and ecx, 0x10
or ecx, 0x20
shr ecx, 4
jmp 0x14000d20f
sub eax, 2
je 0x14000d20a
sub eax, 1
je 0x14000d20a
sub eax, 0x32
je 0x14000d20a
cmp eax, 0x46
mov ecx, r13d
jne 0x14000d20f
mov ecx, 1
mov dword [rsp + 0x60], edx
lea rax, [0x14017bdc0]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
test ecx, ecx
je 0x14000d2d6
cmp ecx, 1
setne bl
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14000d27a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d275
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d691
call fcn.1400105cc
test bl, bl
je 0x14000d291
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rcx, qword [rbp - 0x80]
call fcn.14001ae68
lea r8, [0x14017b150]
lea rdx, section..data
lea rcx, [rsp + 0x40]
call fcn.1400052e0
lea rcx, [rbp - 0x20]
cmp rcx, rax
je 0x14000d2e5
mov rbx, qword [rax]
mov qword [rbp - 0x20], rbx
mov r12, qword [rax + 8]
mov qword [rbp - 0x18], r12
mov r15, qword [rax + 0x10]
mov qword [rbp - 0x10], r15
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
jmp 0x14000d2ed
xor bl, bl
test edx, edx
jne 0x14000d67b
jmp 0x14000d238
mov r12, qword [rbp - 0x18]
mov rbx, qword [rbp - 0x20]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000d329
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d324
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d697
call fcn.1400105cc
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
cmp rbx, r12
je 0x14000d3b5
mov r14, r12
sub r14, rbx
cmp r14, 0x1000
jb 0x14000d374
lea rcx, [r14 + 0x27]
cmp rcx, r14
jbe 0x14000d69d
call fcn.140010340
test rax, rax
je 0x14000d6a3
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14000d389
test r14, r14
je 0x14000d386
mov rcx, r14
call fcn.140010340
mov rdi, rax
jmp 0x14000d389
mov rdi, r13
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
lea rax, [rdi + r14]
mov qword [rsp + 0x50], rax
mov r8, r14
mov rdx, rbx
mov rcx, rdi
call fcn.1400123b0
sub rdi, rbx
add rdi, r12
mov qword [rsp + 0x48], rdi
lea rax, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rax, qword [rbp - 0x80]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp - 0x70]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140009180
test al, al
je 0x14000d5b6
lea rax, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rax, qword [rbp - 0x80]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp - 0x70]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x60]
call fcn.14000e330
mov rdi, rax
mov qword [0x14017e548], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14000d5b6
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], 0xf
mov byte [rbp - 0x60], 0
mov dword [rsp + 0x60], 0x41f16844
movdqa xmm0, xmmword [0x140044810]
movdqu xmmword [rsp + 0x64], xmm0
mov r8d, 0x41f16844
lea rdx, [rsp + 0x64]
lea rcx, [rsp + 0x40]
call fcn.140007ec0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x70], eax
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], 0xf
lea rax, [rsp + 0x64]
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x14000d4a1
lea rdx, [rsp + 0x64]
lea rcx, [rbp - 0x40]
call fcn.140008660
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rbp - 0x30]
movups xmmword [rbp - 0x50], xmm1
lea rdx, [rbp - 0x60]
movq rcx, xmm0
psrldq xmm1, 8
movq rax, xmm1
cmp rax, 0x10
cmovae rdx, rcx
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], 0xf
inc rsi
cmp byte [rdx + rsi], 0
jne 0x14000d4f4
mov r8, rsi
lea rcx, [rbp - 0x40]
call fcn.140008660
lea rcx, [rbp - 0x40]
call fcn.140001a70
lea rax, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae rax, qword [rbp - 0x60]
mov byte [rax], 0
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
setne dil
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x14000d572
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d56d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d6a9
call fcn.1400105cc
test dil, dil
je 0x14000d5b6
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, str._mhyprotect
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [0x14017e540], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14000d5b6
mov dil, 1
jmp 0x14000d5b9
xor dil, dil
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x14000d5f4
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d5ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d6af
call fcn.1400105cc
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
jmp 0x14000d60d
xor dil, dil
mov rbx, qword [rbp - 0x20]
test rbx, rbx
je 0x14000d641
sub r15, rbx
mov rax, rbx
cmp r15, 0x1000
jb 0x14000d636
add r15, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d675
mov rdx, r15
mov rcx, rbx
call fcn.1400105cc
movzx eax, dil
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.140010320
lea r11, [rsp + 0x220]
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 fcn.140016bd4
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
call fcn.14000cfd0
nop
call fcn.140016bd4
int3
call fcn.140016bd4
int3
call fcn.140016bd4
int3
call fcn.140001700
int3
call fcn.140016bd4
int3
call fcn.140016bd4
nop
call fcn.140016bd4
int3