Function at 0x14008ec40
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2a0]
sub rsp, 0x3a0
mov rax, qword [0x140263a80]
xor rax, rsp
mov qword [rbp + 0x290], rax
mov r14, rdx
mov rsi, rcx
mov qword [rbp - 0x40], rdx
xor r13d, r13d
lea r8, [0x1402478fa]
lea rdx, str.expires_at
mov rcx, r14
call fcn.14007f7c0
test rax, rax
je 0x14008f620
lea r8, [0x140247900]
lea rdx, str.user
mov rcx, r14
call fcn.14007f7c0
test rax, rax
je 0x14008f620
lea r8, [0x140247914]
lea rdx, str.access_token
mov rcx, r14
call fcn.14007f7c0
test rax, rax
je 0x14008f620
lea r8, [0x140247900]
lea rdx, str.user
mov rcx, r14
call fcn.14007f510
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14007e130
nop
lea r8, [0x14024791c]
lea rdx, str.name
lea rcx, [rsp + 0x60]
call fcn.14007f7c0
test rax, rax
je 0x14008f615
lea r8, [0x140247922]
lea rdx, [0x140247920]
lea rcx, [rsp + 0x60]
call fcn.14007f7c0
test rax, rax
je 0x14008f615
lea r8, [0x140247929]
lea rdx, str.email
lea rcx, [rsp + 0x60]
call fcn.14007f7c0
test rax, rax
je 0x14008f615
lea r8, [0x140247941]
lea rdx, str.email_verified_at
lea rcx, [rsp + 0x60]
call fcn.14007f7c0
test rax, rax
je 0x14008f615
lea r8, [0x140247951]
lea rdx, str.vip_level
lea rcx, [rsp + 0x60]
call fcn.14007f7c0
test rax, rax
je 0x14008f615
lea r8, [0x14024796b]
lea rdx, str.vip_expiration_date
lea rcx, [rsp + 0x60]
call fcn.14007f7c0
test rax, rax
je 0x14008f615
lea r8, [0x140247922]
lea rdx, [0x140247920]
lea rcx, [rsp + 0x60]
call fcn.14007f510
mov rcx, rax
call fcn.14007e7f0
mov dword [rsi], eax
lea r8, [0x14024791c]
lea rdx, str.name
lea rcx, [rsp + 0x60]
call fcn.14007f510
lea rdx, [rbp + 0x60]
mov rcx, rax
call fcn.14007e600
nop
lea r9, [rsi + 4]
mov rdi, r9
xor eax, eax
mov ecx, 0x80
rep stosb byte [rdi], al
lea rax, [rbp + 0x60]
cmp qword [rbp + 0x78], 0x10
setae byte [rsp + 0x52]
mov r12, qword [rbp + 0x60]
cmovae rax, r12
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x14008eec7
test r9, r9
jne 0x14008ee51
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
jmp 0x14008eec1
test rax, rax
je 0x14008ee6f
cmp rcx, 0x80
ja 0x14008ee6f
mov r8, rcx
mov rdx, rax
mov rcx, r9
call sub.VCRUNTIME140.dll_memcpy
jmp 0x14008eec7
xorps xmm0, xmm0
movups xmmword [r9], xmm0
movups xmmword [r9 + 0x10], xmm0
movups xmmword [r9 + 0x20], xmm0
movups xmmword [r9 + 0x30], xmm0
movups xmmword [r9 + 0x40], xmm0
movups xmmword [r9 + 0x50], xmm0
movups xmmword [r9 + 0x60], xmm0
movups xmmword [r9 + 0x70], xmm0
test rax, rax
jne 0x14008eeac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
jmp 0x14008eec1
cmp rcx, 0x80
jbe 0x14008eec7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], Ordinal_35
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
lea r8, [0x140247929]
lea rdx, str.email
lea rcx, [rsp + 0x60]
call fcn.14007f510
lea rdx, [rbp + 0x40]
mov rcx, rax
call fcn.14007e600
nop
lea r9, [rsi + 0x84]
mov rdi, r9
xor eax, eax
mov ecx, 0x140
rep stosb byte [rdi], al
lea rdi, [rbp + 0x40]
cmp qword [rbp + 0x58], 0x10
setae byte [rsp + 0x51]
mov r15, qword [rbp + 0x40]
cmovae rdi, r15
mov rbx, qword [rbp + 0x50]
test rbx, rbx
je 0x14008ef8d
test r9, r9
jne 0x14008ef31
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
jmp 0x14008ef87
test rdi, rdi
je 0x14008ef4f
cmp rbx, 0x140
ja 0x14008ef4f
mov r8, rbx
mov rdx, rdi
mov rcx, r9
call sub.VCRUNTIME140.dll_memcpy
jmp 0x14008ef8d
xor edx, edx
mov r8d, 0x140
mov rcx, r9
call sub.VCRUNTIME140.dll_memset
test rdi, rdi
jne 0x14008ef72
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
jmp 0x14008ef87
cmp rbx, 0x140
jbe 0x14008ef8d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], Ordinal_35
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
lea r8, [0x140247941]
lea rdx, str.email_verified_at
lea rcx, [rsp + 0x60]
call fcn.14007f510
mov ecx, r13d
cmp byte [rax + 8], r13b
setne cl
mov dword [rsi + 0x1c4], ecx
lea r8, [0x140247951]
lea rdx, str.vip_level
lea rcx, [rsp + 0x60]
call fcn.14007f510
mov rcx, rax
call fcn.14007e7f0
mov dword [rsi + 0x1c8], eax
lea r8, [0x14024796b]
lea rdx, str.vip_expiration_date
lea rcx, [rsp + 0x60]
call fcn.14007f510
mov rcx, rax
call fcn.14007eb70
mov qword [rsi + 0x1d0], rax
mov dword [rsp + 0x58], r13d
lea r8, [0x1402478fa]
lea rdx, str.expires_at
mov rcx, r14
call fcn.14007f510
mov rcx, rax
call fcn.14007e9e0
and dword [rbp - 0x80], 0xfffffe00
mov qword [rbp - 0x78], r13
mov ecx, dword [rbp - 0x50]
and ecx, 0xfffffe02
or ecx, 2
mov dword [rbp - 0x50], ecx
mov qword [rbp - 0x48], r13
mov eax, eax
mov qword [rbp - 0x58], rax
lea r8, [0x14024797a]
lea rdx, str.expired_at
lea rcx, [rsp + 0x78]
call fcn.14007f510
mov rbx, rax
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x70]
call fcn.14007e130
movsx edx, byte [rbx + 8]
movzx ecx, byte [rbp - 0x68]
mov byte [rbx + 8], cl
mov edi, dword [rbp - 0x68]
and edi, 0xffffff00
movzx ecx, dl
or edi, ecx
mov rax, qword [rbx]
mov rcx, qword [rbp - 0x70]
mov qword [rbx], rcx
mov qword [rbp - 0x70], rax
mov ecx, dword [rbx + 8]
mov eax, ecx
xor eax, edi
and eax, 0x100
xor eax, ecx
mov dword [rbx + 8], eax
xor ecx, edi
and ecx, 0x100
xor ecx, edi
mov dword [rbp - 0x68], ecx
mov rcx, qword [rbx + 0x10]
mov rax, qword [rbp - 0x60]
mov qword [rbx + 0x10], rax
mov qword [rbp - 0x60], rcx
lea rcx, [rbp - 0x70]
call fcn.14007e3b0
nop
lea rcx, [rbp - 0x58]
call fcn.14007e3b0
lea r8, [0x140247914]
lea rdx, str.access_token
mov rcx, r14
call fcn.14007f510
mov rdi, rax
lea r8, [0x140247914]
lea rdx, str.access_token
lea rcx, [rsp + 0x78]
call fcn.14007f510
mov rcx, rax
mov rdx, rdi
call fcn.14007e4d0
lea r8, [0x140247914]
lea rdx, str.access_token
mov rcx, r14
call fcn.14007f510
lea rdx, [rbp + 0x20]
mov rcx, rax
call fcn.14007e600
nop
lea r9, [rsi + 0x1d8]
mov rdi, r9
xor eax, eax
mov ecx, 0x800
rep stosb byte [rdi], al
lea rbx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
setae byte [rsp + 0x50]
mov rdi, qword [rbp + 0x20]
cmovae rbx, rdi
mov r13, qword [rbp + 0x30]
test r13, r13
je 0x14008f1d9
test r9, r9
jne 0x14008f17d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
jmp 0x14008f1d3
test rbx, rbx
je 0x14008f19b
cmp r13, 0x800
ja 0x14008f19b
mov r8, r13
mov rdx, rbx
mov rcx, r9
call sub.VCRUNTIME140.dll_memcpy
jmp 0x14008f1d9
xor edx, edx
mov r8d, 0x800
mov rcx, r9
call sub.VCRUNTIME140.dll_memset
test rbx, rbx
jne 0x14008f1be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
jmp 0x14008f1d3
cmp r13, 0x800
jbe 0x14008f1d9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], Ordinal_35
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
mov rax, qword [rbp - 0x58]
mov qword [rsi + 0x9d8], rax
lea rax, vtable.Json::FastWriter.0
mov qword [rbp - 0x30], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xor r13d, r13d
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x28], r13b
mov byte [rbp - 8], r13b
xor r8d, r8d
lea rdx, [0x140245fe5]
lea rcx, [rbp - 0x28]
call fcn.140084670
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x30]
call fcn.140080730
lea r8d, [r13 + 1]
lea rdx, [0x1402462dc]
lea rcx, [rbp - 0x28]
call fcn.1400847e0
lea rdx, [rbp - 0x28]
lea rcx, [rbp]
call fcn.140083ff0
nop
lea ecx, [r13 + 0x68]
call fcn.1401d0330
mov qword [rbp - 0x38], rax
mov rcx, rax
call fcn.140095650
mov rbx, rax
mov dword [rsp + 0x54], 0x1000
mov edx, 0x1000
lea ecx, [r13 + 1]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rsi, rax
lea rdx, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae rdx, qword [rbp]
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
mov r9, rsi
mov r8d, dword [rbp + 0x10]
mov rcx, rbx
call fcn.140095860
test eax, eax
jne 0x14008f388
mov qword [rbp + 0x80], 0xffffffff80000002
lea r8, str.SOFTWAREMonectPCRemoteReceiver
mov edx, 0x100
lea rcx, [rbp + 0x90]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rax, [rbp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14008f33f
mov qword [rsp + 0x40], r13
lea rax, [rbp + 0x88]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, qword [rbp + 0x88]
test rcx, rcx
je 0x14008f375
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov r9d, 3
xor r8d, r8d
lea rdx, str.UCode
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 0x88]
mov r13d, 1
test rcx, rcx
je 0x14008f38d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14008f38d
mov r13d, dword [rsp + 0x58]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rbx, rbx
je 0x14008f3a4
mov rcx, rbx
call fcn.14008f660
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x14008f3e2
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008f3dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008f3dd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401d0398
xor ebx, ebx
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp], bl
lea rax, vtable.Json::FastWriter.0
mov qword [rbp - 0x30], rax
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x14008f43c
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008f437
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008f437
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401d0398
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x28], 0
lea rax, vtable.Json::Writer.0
mov qword [rbp - 0x30], rax
cmp byte [rsp + 0x50], 0
je 0x14008f496
mov rdx, qword [rbp + 0x38]
inc rdx
mov rax, rdi
cmp rdx, 0x1000
jb 0x14008f48d
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008f48d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1401d0398
nop
movsx ecx, byte [rbp - 0x80]
sub ecx, 4
je 0x14008f535
sub ecx, 2
je 0x14008f4b1
cmp ecx, 1
jne 0x14008f549
mov rsi, qword [rsp + 0x78]
test rsi, rsi
je 0x14008f549
mov rax, qword [rsi]
mov rdi, qword [rax + 8]
cmp byte [rdi + 0x19], 0
jne 0x14008f519
nop dword [rax]
mov r8, qword [rdi + 0x10]
mov rdx, rsi
mov rcx, rsi
call fcn.140084fb0
mov rbx, rdi
mov rdi, qword [rdi]
lea rcx, [rbx + 0x30]
call fcn.14007e3b0
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14008f506
mov eax, dword [rbx + 0x28]
and al, 3
cmp al, 1
jne 0x14008f506
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, 0x48
mov rcx, rbx
call fcn.1401d0398
cmp byte [rdi + 0x19], 0
je 0x14008f4d0
mov edx, 0x48
mov rcx, qword [rsi]
call fcn.1401d0398
mov edx, reloc.WS2_32.dll_recv
mov rcx, rsi
call fcn.1401d0398
jmp 0x14008f549
test dword [rbp - 0x80], 0x100
je 0x14008f549
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14008f57e
lea rdi, [rcx - 8]
lea r9, [0x14007e030]
mov r8, qword [rdi]
mov edx, 8
call fcn.1401d0670
mov rdx, qword [rdi]
lea rdx, [rdx*8 + 8]
mov rcx, rdi
call fcn.1401d05f8
nop
cmp byte [rsp + 0x51], 0
je 0x14008f5bd
mov rdx, qword [rbp + 0x58]
inc rdx
mov rax, r15
cmp rdx, 0x1000
jb 0x14008f5b4
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008f5b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.1401d0398
nop
cmp byte [rsp + 0x52], 0
je 0x14008f5fd
mov rdx, qword [rbp + 0x78]
inc rdx
mov rax, r12
cmp rdx, 0x1000
jb 0x14008f5f4
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008f5f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.1401d0398
nop
lea rcx, [rsp + 0x60]
call fcn.14007e3b0
nop
mov rcx, r14
call fcn.14007e3b0
mov eax, r13d
jmp 0x14008f62a
lea rcx, [rsp + 0x60]
call fcn.14007e3b0
nop
mov rcx, r14
call fcn.14007e3b0
xor eax, eax
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.1401d0310
mov rbx, qword [rsp + 0x3f0]
add rsp, 0x3a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret