Function at 0x18000bdf0
Capabilities:
Contain obfuscated stackstrings
Create service
Delete service
Persist via windows service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x2f0]
sub rsp, 0x3f0
mov eax, 0x4e45
mov word [rbp - 0x70], ax
mov dword [rbp - 0x6e], 0x454e4947
mov ecx, 0x5f
mov word [rbp - 0x6a], cx
mov dword [rbp - 0x69], 0x746573
mov word [rbp - 0x66], cx
mov dword [rbp - 0x65], 0x656d616e
mov byte [rbp - 0x61], 0
lea rdx, [0x180067190]
mov ecx, 0x6f
call fcn.18000c6e0
mov r12b, 1
xor r15d, r15d
mov qword [rbp + 8], r15
mov qword [rbp + 0x10], 0xf
mov byte [rbp - 8], r15b
mov edx, 0x9f
lea rcx, [rbp - 8]
call fcn.180011780
test al, al
jne 0x18000c10b
mov eax, 0x6877
mov word [rbp - 0x58], ax
mov byte [rbp - 0x56], r15b
lea r8d, [r15 + 4]
lea rdx, [0x18005725e]
lea rcx, [rbp - 0x58]
call fcn.18003fbe0
lea r8d, [r15 + 4]
lea rdx, [0x1800572a9]
lea rcx, [rbp - 0x52]
call fcn.18003fd90
mov word [rbp - 0x4e], 0x706f
mov byte [rbp - 0x4c], r15b
lea r8d, [r15 + 3]
lea rdx, [0x1800572d9]
lea rcx, [rbp - 0x58]
call fcn.18003fbe0
lea r8d, [r15 + 4]
lea rdx, [0x18005731a]
lea rcx, [rbp - 0x49]
call fcn.18003fd90
mov byte [rbp - 0x45], r15b
lea r8d, [r15 + 2]
lea rdx, [0x180057329]
lea rcx, [rbp - 0x45]
call fcn.18003fd90
mov byte [rbp - 0x43], r15b
lea r8d, [r15 + 3]
lea rdx, [0x1800573a5]
lea rcx, [rbp - 0x58]
call fcn.18003fbe0
mov eax, 0x3a65
mov word [rbp - 0x40], ax
mov byte [rbp - 0x3e], r15b
movzx eax, word [0x1800573d3]
mov word [rsp + 0x70], ax
movzx eax, byte [0x1800573d5]
mov byte [rsp + 0x72], al
mov byte [rsp + 0x73], r15b
lea r8d, [r15 + 1]
lea rdx, [0x1800573e8]
lea rcx, [rsp + 0x70]
call fcn.18003fbe0
movzx eax, word [0x180057400]
mov word [rsp + 0x74], ax
movzx eax, byte [0x180057402]
mov byte [rsp + 0x76], al
mov word [rsp + 0x77], 0x6765
mov dword [rsp + 0x79], 0x72747369
mov word [rsp + 0x7d], 0x79
movzx ebx, r12b
movzx r14d, bl
movups xmm0, xmmword [str.DefPrin_State]
movups xmmword [rbp + 0x18], xmm0
movsd xmm1, qword [0x180057418]
movsd qword [rbp + 0x28], xmm1
mov eax, dword [0x180057420]
mov dword [rbp + 0x30], eax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
mov dword [rbp + 0xd0], eax
movups xmmword [rbp + 0x48], xmm0
movups xmmword [rbp + 0x58], xmm0
mov qword [rbp + 0x68], rax
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 0x10
mov r9d, 0xf01ff
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x58]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov rsi, rax
xor r8d, r8d
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x18]
call qword [sym.imp.WINMM.dll_mmioOpenW]
mov rdi, rax
movzx ebx, bl
test rsi, rsi
cmove ebx, r15d
test rax, rax
jne 0x18000c06e
lea edx, [rax + 0x10]
xor ecx, ecx
call qword [sym.imp.WINMM.dll_mmioClose]
xor r14b, r14b
test bl, bl
je 0x18000c0c7
lea r8, [rbp + 0x48]
mov edx, 4
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_SetServiceObjectSecurity]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov edx, 0x14
lea ecx, [rdx + 0x2c]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x18000c0be
mov edx, 0x14
lea r8d, [rdx - 0x12]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_InitializeAcl]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test r14b, r14b
je 0x18000c30a
xor r8d, r8d
lea rdx, [rbp + 0x70]
mov rcx, rdi
call qword [sym.imp.WINMM.dll_mmioGetInfo]
test eax, eax
jne 0x18000c30a
xor r8d, r8d
lea rdx, [rbp + 0x70]
mov rcx, rdi
call qword [sym.imp.WINMM.dll_mmioSetInfo]
mov edx, 0x10
mov rcx, rdi
call qword [sym.imp.WINMM.dll_mmioClose]
jmp 0x18000c30a
lea rax, [rbp - 0x70]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], 0
jne 0x18000c116
mov dword [rbp - 0x78], r15d
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
mov qword [rbp - 0x30], r15
movsd xmm0, qword [0x180067238]
mulsd xmm0, qword [0x180057a88]
addsd xmm0, qword [0x180057a68]
cvttsd2si rsi, xmm0
mov ebx, 0xd2
lea r14, [0x180007e50]
mov eax, ebx
sub eax, 0x1b
je 0x18000c1a1
sub eax, 0x60
je 0x18000c1ac
cmp eax, 0x57
jne 0x18000c1a1
mov qword [rbp - 0x60], r14
mov dword [rbp - 0x80], esi
mov dword [rsp + 0x28], 0x94
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x60]
lea r8, [rbp - 8]
lea rdx, [rbp - 0x28]
lea rcx, [0x1800671b8]
call fcn.180006640
add ebx, 0x60
cmp ebx, 0x1f2
jb 0x18000c160
lea r9, [rbp - 0x30]
lea r8, [rbp - 0x78]
mov edx, edi
lea rcx, [rbp - 0x70]
call sub.RPCRT4.dll_MesEncodeFixedBufferHandleCreate
mov esi, eax
lea r8, [rbp - 0x28]
xor edx, edx
mov ecx, 0x102
call fcn.1800332d0
test al, al
jne 0x18000c259
lea rax, str.xsd:anyType
mov qword [rsp + 0x70], rax
mov dil, 1
mov dword [rbp - 0x80], r15d
call qword [sym.imp.WINMM.dll_midiOutGetNumDevs]
mov ebx, eax
mov qword [rbp - 0x60], r15
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x70]
call sub.RPCRT4.dll_MesEncodeDynBufferHandleCreate
movzx edi, dil
test ebx, ebx
cmove edi, r15d
test eax, eax
jne 0x18000c221
mov rcx, qword [rbp - 0x60]
call sub.RPCRT4.dll_MesHandleFree
test dil, dil
je 0x18000c2c3
mov dword [rbp - 0x38], r15d
lea rdx, [rbp - 0x38]
xor ecx, ecx
call qword [sym.imp.WINMM.dll_midiOutGetID]
test eax, eax
je 0x18000c2c3
mov r8d, 0x104
lea rdx, [rbp + 0xe0]
mov ecx, eax
call qword [sym.imp.WINMM.dll_midiOutGetErrorTextW]
jmp 0x18000c2c3
movzx ebx, r12b
test esi, esi
cmovne ebx, r15d
mov edx, 1
lea rcx, [rbp + 0x38]
call qword [sym.imp.SHLWAPI.dll_PathBuildRootA]
test bl, bl
je 0x18000c2ab
mov qword [rsp + 0x70], r15
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
lea r9, [rsp + 0x70]
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [rbp - 0x30]
call sub.RPCRT4.dll_MesBufferHandleReset
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x18000c2ab
call sub.RPCRT4.dll_MesHandleFree
mov dword [rsp + 0x20], 0x80
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.18001ece0
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x18000c2fa
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000c2f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000c368
call fcn.18003ae74
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x18000c341
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000c33c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000c362
call fcn.18003ae74
lea r11, [rsp + 0x3f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.18003f694
nop
call fcn.18003f694
nop
int3