Function at 0x1400129c0
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xe8]
sub rsp, 0x1c0
mov rax, qword [0x140090008]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rbx, rcx
mov qword [rbp - 0x60], rcx
mov r15, qword [rbp + 0x110]
mov qword [rbp - 0x58], r15
xor r12d, r12d
test rcx, rcx
je 0x140012e86
test r15, r15
je 0x140012e86
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rsi, rax
mov qword [rbp - 0x70], rax
test rax, rax
je 0x140012ec3
mov r13d, r12d
mov qword [rbp - 0x78], r12
mov dword [rsp + 0x74], r12d
lea rax, [rsp + 0x74]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140071308]
mov rcx, rbx
call fcn.140011a10
mov r9d, dword [rsp + 0x74]
test r9d, r9d
jne 0x140012a74
mov r12d, 0x80070057
jmp 0x140012e69
lea r8, str.SetupMigration_u
mov edx, 0x32
lea rcx, [rbp + 0x40]
call fcn.14000f874
lea rcx, [rbp + 0x40]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r12w
jne 0x140012a91
mov r8d, eax
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.1400148dc
test eax, eax
js 0x140012ece
mov rsi, qword [rbp - 0x70]
test rsi, rsi
jne 0x140012ac7
mov r12d, 0x8007000e
jmp 0x140012e69
mov dword [r15], r12d
mov qword [rsp + 0x60], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rsi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, eax
test eax, eax
jne 0x140012b06
mov r13, qword [rsp + 0x60]
mov qword [rbp - 0x78], r13
mov rdx, r13
jmp 0x140012b1e
mov rdx, r12
movzx eax, cx
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
test eax, eax
js 0x140012e69
mov r14, r12
mov qword [rbp - 0x68], r12
mov rdi, r12
mov qword [rsp + 0x60], r12
mov eax, r12d
mov dword [rsp + 0x70], eax
test rdx, rdx
je 0x140012b7b
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x140012cff
xor ebx, ebx
mov qword [rbp - 0x80], rbx
test r13, r13
je 0x140012c2c
and qword [rsp + 0x58], rbx
and qword [rsp + 0x50], rbx
and qword [rsp + 0x48], rbx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
and qword [rsp + 0x38], rbx
and qword [rsp + 0x30], rbx
and qword [rsp + 0x28], rbx
and qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x140012c2c
mov edx, dword [rsp + 0x68]
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov r15, rax
xor eax, eax
test r15, r15
je 0x140012c2c
inc dword [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
mov r8, r15
mov edx, r12d
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x140012c23
mov rbx, r15
mov qword [rbp - 0x80], rbx
jmp 0x140012c2c
mov rcx, r15
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x140012ce0
mov r8d, 1
lea rdx, reloc.OLEAUT32.dll_VariantCopy
lea rcx, [rsp + 0x60]
call fcn.1400148dc
test eax, eax
js 0x140012ebb
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x140012c9f
and qword [rsp + 0x78], 0
lea r8, [rsp + 0x78]
mov rdx, rbx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.OLEAUT32.dll_VarBstrCmp]
test eax, eax
js 0x140012ed6
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x60], rax
mov r8d, 2
lea rdx, [0x140072f28]
lea rcx, [rsp + 0x60]
call fcn.1400148dc
test eax, eax
js 0x140012ede
test r14, r14
jne 0x140012cdb
lea r8, [rbp - 0x68]
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.14000f664
mov r13, qword [rbp - 0x78]
mov r14, qword [rbp - 0x68]
mov rdi, qword [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
inc r12d
cmp r12d, dword [rsp + 0x70]
jb 0x140012b83
mov rbx, qword [rbp - 0x60]
mov r15, qword [rbp - 0x58]
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_VariantInit]
xor r12d, r12d
test eax, eax
je 0x140012e55
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x140012e55
mov dword [r15], 1
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x78]
xor r8d, r8d
lea rdx, [0x140071308]
mov rcx, rbx
call fcn.140011a10
test eax, eax
jne 0x140012d56
mov r12d, 0x80070057
jmp 0x140012e55
mov qword [rbp - 0x80], r12
mov qword [rsp + 0x68], r12
mov r8d, 0xbb8
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x68]
call fcn.14000c590
lea r9, [rbp - 0x80]
mov r8, rdi
mov edx, 0x1a36
mov rcx, qword [rsp + 0x78]
call fcn.140010a00
mov r15, qword [rsp + 0x68]
mov rbx, qword [rbp - 0x80]
test rbx, rbx
jne 0x140012da3
mov r12d, 0x8007000e
jmp 0x140012e41
mov r9d, SafeArrayLock
mov r8, r15
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
jne 0x140012e41
xor edx, edx
lea r8d, [rax + 0x63]
lea rcx, [rbp - 0x2c]
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x30], 0x68
lea rax, [rbp - 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 8
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140012e2c
mov r12d, 0x80070057
jmp 0x140012e41
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, r15
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
test r13, r13
je 0x140012e78
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, r12d
jmp 0x140012e8b
mov eax, 0x80070057
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.140052570
lea r11, [rsp + 0x1c0]
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
mov ecx, eax
call fcn.140002fa4
nop
mov ecx, 0x8007000e
call fcn.140002fa4
nop
mov ecx, eax
call fcn.140002fa4
nop
mov ecx, eax
call fcn.140002fa4
int3
mov ecx, eax
call fcn.140002fa4
int3