Function at 0x1400a8360
Capabilities:
Persist via run registry key
Query environment variable
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x6e8]
sub rsp, 0x7c0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rbp + 0x6b0], rax
cmp dword [0x14045ebc8], 0
je 0x1400a83c6
call fcn.140084710
test eax, eax
je 0x1400a8865
mov edi, 0x20
mov qword [rsp + 0x58], 1
jmp 0x1400a83d4
mov edi, reloc.WS2_32.dll_recv
mov qword [rsp + 0x58], 2
mov dword [rsp + 0x40], edi
xor r9d, r9d
lea r8, [0x140339600]
mov edx, 0x52d
mov rcx, qword [0x14045df08]
call qword [sym.imp.USER32.dll_PostMessageW]
xor esi, esi
mov qword [rsp + 0x50], rsi
lea rbx, [0x1403399f0]
mov qword [rsp + 0x48], rbx
lea rcx, str.PESOFTWAREMicrosoftWindowsCurrentVersionPoliciesExplorerRun
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesExplorerRun
nop word [rax + rax]
mov r13d, esi
mov dword [rsp + 0x44], esi
nop word [rax + rax]
cmp dword [0x14045e968], 0
jne 0x1400a8844
movsxd rax, r13d
imul r12, rax, 0x208
cmp dword [0x14045ebc8], 0
je 0x1400a8455
add r12, rcx
jmp 0x1400a8458
add r12, rdx
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea r8d, [r9 + 3]
mov rdx, r12
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400a8825
xor r9d, r9d
mov r8, r12
mov edx, 0x52e
mov rcx, qword [0x14045df08]
call qword [sym.imp.USER32.dll_PostMessageW]
mov qword [rbp + 0x38], 7
mov qword [rbp + 0x30], rsi
mov word [rbp + 0x20], si
mov qword [rbp + 0x5d], 7
mov qword [rbp + 0x55], rsi
mov word [rbp + 0x45], si
mov qword [rbp + 0x65], rsi
mov qword [rbp + 0x6d], rsi
mov qword [rbp + 0x75], rsi
xor edx, edx
xor ecx, ecx
call fcn.1400568e0
mov rax, qword [rbp + 0x65]
mov qword [rbp + 0x6d], rax
mov r15d, esi
mov dword [rbp + 0x84], 0x104
mov dword [rbp + 0x80], 0x410
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x90]
call fcn.14027b2c0
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp + 0x2a0]
call fcn.14027b2c0
lea rax, [rbp + 0x80]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x2a0]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x88]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x84]
lea r8, [rbp + 0x90]
xor edx, edx
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
je 0x1400a880d
mov r13, qword [rsp + 0x48]
nop word [rax + rax]
inc r15d
cmp dword [0x14045e968], 0
jne 0x1400a8803
cmp dword [rbp + 0x84], 0
jbe 0x1400a8778
cmp dword [rbp + 0x80], 0
jbe 0x1400a8778
lea rcx, [rbp + 0x2a0]
call fcn.140054e40
mov rbx, rax
test rax, rax
je 0x1400a8603
mov rcx, rax
call fcn.140084e80
test eax, eax
jne 0x1400a8778
mov rdx, rbx
lea rcx, [0x1403395a0]
call fcn.14004c420
mov rdi, rax
test rax, rax
jne 0x1400a85fe
mov rdx, rbx
lea rcx, [0x1403395c0]
call fcn.14004c420
mov rdi, rax
test rax, rax
jne 0x1400a85fe
mov rdx, rbx
lea rcx, [0x1403395e8]
call fcn.14004c420
mov rdi, rax
test rdi, rdi
jne 0x1400a8634
lea rcx, [rbp + 0x2a0]
call fcn.140054e40
test rax, rax
je 0x1400a862d
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea rdi, [rbp + 0x90]
test rax, rax
cmovne rdi, rax
jmp 0x1400a8634
lea rdi, [rbp + 0x2a0]
mov byte [rbp + 0x40], 1
mov dword [rbp], r15d
mov dword [rbp + 0x1c], esi
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov r14d, eax
test eax, eax
je 0x1400a8697
mov eax, 2
mul r14
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14012a2dc
mov rsi, rax
lea r8, [r14 + r14]
xor edx, edx
mov rcx, rax
call fcn.14027b2c0
mov r8d, r14d
mov rdx, rsi
lea rcx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov qword [rbp + 0x14], rsi
cmp word [rbp + 0x2a0], 0
jne 0x1400a86aa
xor r8d, r8d
jmp 0x1400a86c0
lea rax, [rbp + 0x2a0]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400a86b5
lea rdx, [rbp + 0x2a0]
lea rcx, [rbp + 0x20]
call fcn.14004dd70
xor esi, esi
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov r14d, eax
test eax, eax
je 0x1400a8722
mov eax, 2
mul r14
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14012a2dc
mov rsi, rax
lea r8, [r14 + r14]
xor edx, edx
mov rcx, rax
call fcn.14027b2c0
mov r8d, r14d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp word [rsi], 0
jne 0x1400a872d
xor r8d, r8d
jmp 0x1400a873c
or r8, 0xffffffffffffffff
inc r8
cmp word [rsi + r8*2], 0
jne 0x1400a8731
mov rdx, rsi
lea rcx, [rbp + 0x45]
call fcn.14004dd70
xor esi, esi
mov dword [rbp + 0x41], esi
mov rax, qword [r13]
mov qword [rbp + 4], rax
mov qword [rbp + 0xc], r12
lea rdx, [rbp]
lea rcx, [rsp + 0x70]
call fcn.140085680
mov rcx, rax
call fcn.140082b20
lea ecx, [rsi + 0x64]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rbp + 0x80], 0x410
mov dword [rbp + 0x84], 0x104
mov r8d, 0x208
xor edx, edx
lea rcx, [rbp + 0x90]
call fcn.14027b2c0
mov r8d, 0x410
xor edx, edx
lea rcx, [rbp + 0x2a0]
call fcn.14027b2c0
lea rax, [rbp + 0x80]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x2a0]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x88]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x84]
lea r8, [rbp + 0x90]
mov edx, r15d
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x1400a8570
mov r13d, dword [rsp + 0x44]
mov rbx, qword [rsp + 0x48]
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp]
call fcn.140082c50
mov edi, dword [rsp + 0x40]
inc r13d
mov dword [rsp + 0x44], r13d
cmp r13d, edi
lea rcx, str.PESOFTWAREMicrosoftWindowsCurrentVersionPoliciesExplorerRun
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesExplorerRun
jl 0x1400a8430
mov rax, qword [rsp + 0x50]
inc rax
mov qword [rsp + 0x50], rax
add rbx, 8
mov qword [rsp + 0x48], rbx
cmp rax, qword [rsp + 0x58]
jl 0x1400a8420
cmp dword [0x14045ebc8], 0
je 0x1400a88aa
lea rdx, [0x14032daf8]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
lea rdx, [0x14032db10]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
lea rdx, [0x14032dbb8]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
xor eax, eax
mov rcx, qword [rbp + 0x6b0]
xor rcx, rsp
call fcn.14012a2b0
lea r11, [rsp + 0x7c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret