Function at 0x1400a42e0
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 [0x1403a0088]
xor rax, rsp
mov qword [rbp + 0x6b0], rax
cmp dword [0x140455d78], 0
je 0x1400a4346
call fcn.14007f830
test eax, eax
je 0x1400a47e5
mov edi, 0x20
mov qword [rsp + 0x58], 1
jmp 0x1400a4354
mov edi, reloc.WS2_32.dll_recv
mov qword [rsp + 0x58], 2
mov dword [rsp + 0x40], edi
xor r9d, r9d
lea r8, [0x1403337a0]
mov edx, 0x52d
mov rcx, qword [0x140456df8]
call qword [sym.imp.USER32.dll_PostMessageW]
xor esi, esi
mov qword [rsp + 0x48], rsi
lea rbx, [0x140333270]
mov qword [rsp + 0x50], 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 [0x140455b64], 0
jne 0x1400a47c4
movsxd rax, r13d
imul r12, rax, 0x208
cmp dword [0x140455d78], 0
je 0x1400a43d5
add r12, rcx
jmp 0x1400a43d8
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 0x1400a47a5
xor r9d, r9d
mov r8, r12
mov edx, 0x52e
mov rcx, qword [0x140456df8]
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.140056290
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.1402767a0
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp + 0x2a0]
call fcn.1402767a0
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 0x1400a478d
xor r13d, r13d
nop dword [rax]
nop dword [rax + rax]
inc r15d
cmp dword [0x140455b64], r13d
jne 0x1400a4786
cmp dword [rbp + 0x84], r13d
jbe 0x1400a46fb
cmp dword [rbp + 0x80], 2
jbe 0x1400a46fb
lea rcx, [rbp + 0x2a0]
call fcn.140054780
mov rbx, rax
test rax, rax
je 0x1400a4573
mov rdx, rax
lea rcx, [0x140333738]
call fcn.14004c240
mov rdi, rax
test rax, rax
jne 0x1400a456e
mov rdx, rbx
lea rcx, [0x1403337d0]
call fcn.14004c240
mov rdi, rax
test rax, rax
jne 0x1400a456e
mov rdx, rbx
lea rcx, [0x1403337b8]
call fcn.14004c240
mov rdi, rax
test rdi, rdi
jne 0x1400a45a4
lea rcx, [rbp + 0x2a0]
call fcn.140054780
test rax, rax
je 0x1400a459d
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea rdi, [rbp + 0x90]
test rax, rax
cmovne rdi, rax
jmp 0x1400a45a4
lea rdi, [rbp + 0x2a0]
mov byte [rbp + 0x40], 1
mov dword [rbp], r15d
mov dword [rbp + 0x1c], r13d
mov rsi, r13
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov r14d, eax
test eax, eax
je 0x1400a460b
mov eax, 2
mul r14
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140125a94
mov rsi, rax
lea r8, [r14 + r14]
xor edx, edx
mov rcx, rax
call fcn.1402767a0
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], r13w
jne 0x1400a461e
mov r8, r13
jmp 0x1400a463a
lea rax, [rbp + 0x2a0]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], r13w
jne 0x1400a4630
lea rdx, [rbp + 0x2a0]
lea rcx, [rbp + 0x20]
call fcn.14004db90
mov rsi, r13
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov r14d, eax
test eax, eax
je 0x1400a469d
mov eax, 2
mul r14
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140125a94
mov rsi, rax
lea r8, [r14 + r14]
xor edx, edx
mov rcx, rax
call fcn.1402767a0
mov r8d, r14d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp word [rsi], r13w
jne 0x1400a46a8
mov r8, r13
jmp 0x1400a46ba
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rsi + r8*2], r13w
jne 0x1400a46b0
mov rdx, rsi
lea rcx, [rbp + 0x45]
call fcn.14004db90
mov dword [rbp + 0x41], r13d
mov rbx, qword [rsp + 0x50]
mov rax, qword [rbx]
mov qword [rbp + 4], rax
mov qword [rbp + 0xc], r12
lea rdx, [rbp]
lea rcx, [rsp + 0x70]
call fcn.140080af0
mov rcx, rax
call fcn.14007daa0
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rbp + 0x84], 0x104
mov dword [rbp + 0x80], 0x410
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x90]
call fcn.1402767a0
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp + 0x2a0]
call fcn.1402767a0
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], r13
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 0x1400a44f0
mov r13d, dword [rsp + 0x44]
xor esi, esi
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp]
call fcn.14007dbd0
mov edi, dword [rsp + 0x40]
inc r13d
mov dword [rsp + 0x44], r13d
cmp r13d, edi
lea rcx, str.PESOFTWAREMicrosoftWindowsCurrentVersionPoliciesExplorerRun
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesExplorerRun
jl 0x1400a43b0
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
add rbx, 8
mov qword [rsp + 0x50], rbx
cmp rax, qword [rsp + 0x58]
jl 0x1400a43a0
cmp dword [0x140455d78], 0
je 0x1400a482a
lea rdx, [0x140326b98]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
lea rdx, [0x140326bb0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
lea rdx, [0x140326c58]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
xor eax, eax
mov rcx, qword [rbp + 0x6b0]
xor rcx, rsp
call fcn.140125a70
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