Function at 0x1400a90a0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x1402a7d08]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov r14, rcx
lea r12, [0x1402aa8a0]
mov rcx, qword [0x1402aa8a0]
cmp rcx, r12
je 0x1400a9109
test byte [rcx + 0x44], 2
je 0x1400a9109
cmp byte [rcx + 0x41], 4
jb 0x1400a9109
mov edx, 0xa
lea r8, [0x140232820]
mov rcx, qword [rcx + 0x38]
call fcn.140024300
xor esi, esi
mov dword [rbp - 0x78], esi
lea rdx, [rbp - 0x78]
mov rcx, r14
call fcn.1400a7640
mov ebx, eax
test eax, eax
je 0x1400a9152
mov rcx, qword [0x1402aa8a0]
cmp rcx, r12
je 0x1400a914b
test byte [rcx + 0x44], 2
je 0x1400a914b
cmp byte [rcx + 0x41], 2
jb 0x1400a914b
lea edx, [rsi + 0xb]
lea r8, [0x140232820]
mov rcx, qword [rcx + 0x38]
call fcn.140024300
mov eax, ebx
jmp 0x1400a93c6
mov rcx, qword [0x1402aa8a0]
cmp rcx, r12
je 0x1400a9183
test byte [rcx + 0x44], 2
je 0x1400a9183
cmp byte [rcx + 0x41], 5
jb 0x1400a9183
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov r9d, dword [rbp - 0x78]
lea r8, [0x140232820]
mov rcx, qword [rcx + 0x38]
call fcn.1400268d0
mov dword [rbp - 0x74], esi
lea rcx, [rbp - 0x40]
call fcn.14009ee30
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], si
mov r8d, 4
lea rdx, [0x140232940]
lea rcx, [rbp - 0x68]
call fcn.140007240
nop
mov rcx, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x50]
mov rax, rdx
sub rax, rcx
cmp rax, 0x18
jb 0x1400a91fb
lea rdi, [rcx + 0x18]
mov qword [rbp - 0x58], rdi
lea rbx, [rbp - 0x68]
cmp rdx, 8
cmovae rbx, qword [rbp - 0x68]
lea rcx, [rbx + rcx*2]
mov r8d, 0x30
lea rdx, str.c:IntelIntelOptaneData
call fcn.140132e10
mov word [rbx + rdi*2], si
jmp 0x1400a921e
lfence
mov qword [rsp + 0x20], 0x18
lea r9, str.c:IntelIntelOptaneData
xor r8d, r8d
lea edx, [r8 + 0x18]
lea rcx, [rbp - 0x68]
call fcn.14001c380
lea rdx, [rbp - 0x68]
mov rcx, r14
call fcn.1400a73d0
mov ebx, eax
test eax, eax
je 0x1400a925e
mov rcx, qword [0x1402aa8a0]
cmp rcx, r12
je 0x1400a9382
test byte [rcx + 0x44], 2
je 0x1400a9382
cmp byte [rcx + 0x41], 2
jb 0x1400a9382
mov edx, 0xd
jmp 0x1400a94e4
mov r9d, dword [rbp - 0x78]
cmp r9d, 1
jne 0x1400a92d8
mov rcx, qword [0x1402aa8a0]
cmp rcx, r12
je 0x1400a9294
test byte [rcx + 0x44], 2
je 0x1400a9294
cmp byte [rcx + 0x41], 5
jb 0x1400a9294
lea edx, [r9 + 0xd]
lea r8, [0x140232820]
mov rcx, qword [rcx + 0x38]
call fcn.140024300
mov edx, dword [rbp - 0x74]
lea rcx, [rbp - 0x40]
call fcn.14009f280
mov ebx, eax
test eax, eax
je 0x1400a93f1
mov rcx, qword [0x1402aa8a0]
cmp rcx, r12
je 0x1400a9382
test byte [rcx + 0x44], 2
je 0x1400a9382
cmp byte [rcx + 0x41], 2
jb 0x1400a9382
mov edx, 0xf
jmp 0x1400a94e4
mov rcx, qword [0x1402aa8a0]
cmp rcx, r12
je 0x1400a9305
test byte [rcx + 0x44], 2
je 0x1400a9305
cmp byte [rcx + 0x41], 5
jb 0x1400a9305
mov edx, 0x10
lea r8, [0x140232820]
mov rcx, qword [rcx + 0x38]
call fcn.1400268d0
lea rdx, [rbp - 0x74]
lea rcx, [rbp - 0x40]
call fcn.14009eec0
mov ebx, eax
test eax, eax
je 0x1400a933a
mov rcx, qword [0x1402aa8a0]
cmp rcx, r12
je 0x1400a9382
test byte [rcx + 0x44], 2
je 0x1400a9382
cmp byte [rcx + 0x41], 2
jb 0x1400a9382
mov edx, 0x11
jmp 0x1400a94e4
cmp dword [rbp - 0x74], 1
jne 0x1400a93f1
mov rcx, qword [0x1402aa8a0]
cmp rcx, r12
je 0x1400a9371
test byte [rcx + 0x44], 2
je 0x1400a9371
cmp byte [rcx + 0x41], 5
jb 0x1400a9371
mov edx, 0x12
lea r8, [0x140232820]
mov rcx, qword [rcx + 0x38]
call fcn.140024300
mov dword [rbp - 0x78], esi
lea rdx, [rbp - 0x78]
mov rcx, r14
call fcn.1400a99b0
mov ebx, esi
mov esi, ebx
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x1400a93c4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a93bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a99a4
call fcn.14013ff64
mov eax, esi
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140140100
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov eax, dword [rbp - 0x78]
cmp eax, 3
jbe 0x1400a9430
mov rcx, qword [0x1402aa8a0]
cmp rcx, r12
je 0x1400a9426
test byte [rcx + 0x44], 2
je 0x1400a9426
cmp byte [rcx + 0x41], 2
jb 0x1400a9426
mov edx, 0x13
lea r8, [0x140232820]
mov rcx, qword [rcx + 0x38]
call fcn.140024300
mov ebx, 0x3e3
jmp 0x1400a9382
test eax, eax
jne 0x1400a9470
mov rcx, qword [0x1402aa8a0]
cmp rcx, r12
je 0x1400a9380
test byte [rcx + 0x44], 2
je 0x1400a9380
cmp byte [rcx + 0x41], 5
jb 0x1400a9380
lea edx, [rax + 0x14]
lea r8, [0x140232820]
mov rcx, qword [rcx + 0x38]
call fcn.140024300
jmp 0x1400a9380
mov rcx, r14
call fcn.1400a7940
test al, al
jne 0x1400a98eb
mov rcx, qword [0x1402aa8a0]
cmp rcx, r12
je 0x1400a94ad
test byte [rcx + 0x44], 2
je 0x1400a94ad
cmp byte [rcx + 0x41], 5
jb 0x1400a94ad
mov edx, 0x15
lea r8, [0x140232820]
mov rcx, qword [rcx + 0x38]
call fcn.140024300
mov rcx, r14
call fcn.1400a7ef0
mov ebx, eax
test eax, eax
je 0x1400a94f9
mov rcx, qword [0x1402aa8a0]
cmp rcx, r12
je 0x1400a9382
test byte [rcx + 0x44], 2
je 0x1400a9382
cmp byte [rcx + 0x41], 2
jb 0x1400a9382
mov edx, 0x16
lea r8, [0x140232820]
mov rcx, qword [rcx + 0x38]
call fcn.140024300
jmp 0x1400a9382
mov rcx, qword [0x1402aa8a0]
cmp rcx, r12
je 0x1400a9553
test byte [rcx + 0x44], 2
je 0x1400a952d
cmp byte [rcx + 0x41], 5
jb 0x1400a952d
mov edx, 0x17
lea r8, [0x140232820]
mov rcx, qword [rcx + 0x38]
call fcn.140024300
mov rcx, qword [0x1402aa8a0]
cmp rcx, r12
je 0x1400a9553
test byte [rcx + 0x44], 2
je 0x1400a9553
cmp byte [rcx + 0x41], 5
jb 0x1400a9553
mov edx, 0x1b
lea r8, [0x140232820]
mov rcx, qword [rcx + 0x38]
call fcn.140024300
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
mov r15, qword [rbp - 0x58]
lea rdi, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rdi, qword [rbp - 0x68]
cmp r15, 8
jae 0x1400a9584
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x38], xmm0
mov ebx, 7
jmp 0x1400a95d6
movabs rax, 0x7ffffffffffffffe
mov rbx, r15
or rbx, 7
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x1400a999e
lfence
add rcx, rcx
call fcn.140008f80
mov qword [rsp + 0x38], rax
lea r8, [r15*2 + 2]
mov rdx, rdi
mov rcx, rax
call fcn.140132e10
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], rbx
lea rdx, [rsp + 0x38]
mov rcx, r14
call fcn.1400a8060
mov ebx, eax
test eax, eax
je 0x1400a9621
mov rcx, qword [0x1402aa8a0]
cmp rcx, r12
je 0x1400a9382
test byte [rcx + 0x44], 2
je 0x1400a9382
cmp byte [rcx + 0x41], 2
jb 0x1400a9382
mov edx, 0x1c
jmp 0x1400a97f5
mov rcx, qword [0x1402aa8a0]
cmp rcx, r12
je 0x1400a964e
test byte [rcx + 0x44], 2
je 0x1400a964e
cmp byte [rcx + 0x41], 5
jb 0x1400a964e
mov edx, 0x1d
lea r8, [0x140232820]
mov rcx, qword [rcx + 0x38]
call fcn.140024300
mov r8d, 0x104
lea rdx, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
test eax, eax
jne 0x1400a969c
mov rcx, qword [0x1402aa8a0]
cmp rcx, r12
je 0x1400a968f
test byte [rcx + 0x44], 2
je 0x1400a968f
cmp byte [rcx + 0x41], 2
jb 0x1400a968f
lea edx, [rax + 0x1e]
lea r8, [0x140232820]
mov rcx, qword [rcx + 0x38]
call fcn.140024300
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebx, eax
jmp 0x1400a9382
lea rcx, [rbp - 0x20]
call qword [sym.imp.SHLWAPI.DLL_PathRemoveFileSpecW]
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], si
lea rax, [rbp - 0x20]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400a96c4
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x58]
call fcn.140007240
lea rdx, [rsp + 0x58]
mov rcx, r14
call fcn.1400a6b40
mov ebx, eax
test eax, eax
je 0x1400a971e
mov rcx, qword [0x1402aa8a0]
cmp rcx, r12
je 0x1400a9382
test byte [rcx + 0x44], 2
je 0x1400a9382
cmp byte [rcx + 0x41], 2
jb 0x1400a9382
mov edx, 0x1f
jmp 0x1400a97f5
lea rcx, [rbp - 0x30]
call fcn.14009edf0
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x30]
call fcn.14009ee60
mov ebx, eax
test eax, eax
jne 0x1400a9382
mov rcx, qword [0x1402aa8a0]
cmp rcx, r12
je 0x1400a9774
test byte [rcx + 0x44], 2
je 0x1400a9774
cmp byte [rcx + 0x41], 5
jb 0x1400a9774
lea edx, [rax + 0x20]
mov r9d, dword [rbp - 0x70]
lea r8, [0x140232820]
mov rcx, qword [rcx + 0x38]
call fcn.1400268d0
mov rcx, qword [0x1402aa8a0]
mov eax, dword [rbp - 0x70]
mov dword [rbp - 0x48], eax
cmp rcx, r12
je 0x1400a97a0
test byte [rcx + 0x44], 2
je 0x1400a97a0
cmp byte [rcx + 0x41], 4
jb 0x1400a97a0
mov edx, 0x47
lea r8, [0x140232820]
mov rcx, qword [rcx + 0x38]
call fcn.140024300
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x1000b
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetServicesiaStorAfsService
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.DLL_RegOpenKeyExW]
mov ebx, eax
test eax, eax
je 0x1400a980d
mov rcx, qword [0x1402aa8a0]
cmp rcx, r12
je 0x1400a9382
test byte [rcx + 0x44], 2
je 0x1400a9382
cmp byte [rcx + 0x41], 2
jb 0x1400a9382
mov edx, 0x48
mov r9d, eax
lea r8, [0x140232820]
mov rcx, qword [rcx + 0x38]
call fcn.1400268d0
jmp 0x1400a9382
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DumpMemoryLevel
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.DLL_RegSetValueExW]
mov ebx, eax
test eax, eax
je 0x1400a987d
mov rcx, qword [0x1402aa8a0]
cmp rcx, r12
je 0x1400a986e
test byte [rcx + 0x44], 2
je 0x1400a986e
cmp byte [rcx + 0x41], 2
jb 0x1400a986e
mov edx, 0x49
mov r9d, eax
lea r8, [0x140232820]
mov rcx, qword [rcx + 0x38]
call fcn.1400268d0
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.DLL_RegCloseKey]
jmp 0x1400a9382
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.DLL_RegCloseKey]
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.14009f270
mov ebx, eax
test eax, eax
jne 0x1400a9382
inc dword [rbp - 0x78]
lea rdx, [rbp - 0x78]
mov rcx, r14
call fcn.1400a99b0
mov rcx, qword [0x1402aa8a0]
cmp rcx, r12
je 0x1400a9384
test byte [rcx + 0x44], 2
je 0x1400a9384
cmp byte [rcx + 0x41], 5
jb 0x1400a9384
lea edx, [rbx + 0x21]
mov r9d, dword [rbp - 0x78]
lea r8, [0x140232820]
mov rcx, qword [rcx + 0x38]
call fcn.1400268d0
jmp 0x1400a9384
mov rcx, qword [0x1402aa8a0]
cmp rcx, r12
je 0x1400a9918
test byte [rcx + 0x44], 2
je 0x1400a9918
cmp byte [rcx + 0x41], 5
jb 0x1400a9918
mov edx, 0x18
lea r8, [0x140232820]
mov rcx, qword [rcx + 0x38]
call fcn.140024300
xor edx, edx
lea rcx, [rbp - 0x40]
call fcn.14009f280
mov ebx, eax
test eax, eax
je 0x1400a9957
mov rcx, qword [0x1402aa8a0]
cmp rcx, r12
je 0x1400a9382
test byte [rcx + 0x44], 2
je 0x1400a9382
cmp byte [rcx + 0x41], 2
jb 0x1400a9382
mov edx, 0x19
jmp 0x1400a97f5
mov dword [rbp - 0x78], esi
lea rdx, [rbp - 0x78]
mov rcx, r14
call fcn.1400a99b0
mov ebx, eax
test eax, eax
je 0x1400a9380
mov rcx, qword [0x1402aa8a0]
cmp rcx, r12
je 0x1400a9382
test byte [rcx + 0x44], 2
je 0x1400a9382
cmp byte [rcx + 0x41], 2
jb 0x1400a9382
mov edx, 0x1a
jmp 0x1400a97f5
call fcn.1400024d0
nop
call fcn.1400e0284
int3