Function at 0x1400017a0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x1b0
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp], rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x1400017ec
dec eax
or eax, 0xfffffff0
inc eax
mov byte [rbp - 0x68], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x140001803
dec eax
or eax, 0xfffffff0
inc eax
mov byte [rbp - 0x67], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000181a
dec eax
or eax, 0xfffffff0
inc eax
mov byte [rbp - 0x66], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x140001831
dec eax
or eax, 0xfffffff0
inc eax
mov byte [rbp - 0x65], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x140001848
dec eax
or eax, 0xfffffff0
inc eax
mov byte [rbp - 0x64], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000185f
dec eax
or eax, 0xfffffff0
inc eax
mov byte [rbp - 0x63], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x140001876
dec eax
or eax, 0xfffffff0
inc eax
mov byte [rbp - 0x62], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000188d
dec eax
or eax, 0xfffffff0
inc eax
mov byte [rbp - 0x61], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x1400018a4
dec eax
or eax, 0xfffffff0
inc eax
mov byte [rbp - 0x78], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x1400018bb
dec eax
or eax, 0xfffffff0
inc eax
mov byte [rbp - 0x77], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x1400018d2
dec eax
or eax, 0xfffffff0
inc eax
mov byte [rbp - 0x76], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x1400018e9
dec eax
or eax, 0xfffffff0
inc eax
mov byte [rbp - 0x75], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x140001900
dec eax
or eax, 0xfffffff0
inc eax
mov byte [rbp - 0x74], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x140001917
dec eax
or eax, 0xfffffff0
inc eax
mov byte [rbp - 0x73], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000192e
dec eax
or eax, 0xfffffff0
inc eax
mov byte [rbp - 0x72], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x140001945
dec eax
or eax, 0xfffffff0
inc eax
mov byte [rbp - 0x71], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000195c
dec eax
or eax, 0xfffffff0
inc eax
mov byte [rbp - 0x70], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x140001973
dec eax
or eax, 0xfffffff0
inc eax
mov byte [rbp - 0x6f], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000198a
dec eax
or eax, 0xfffffff0
inc eax
mov byte [rbp - 0x6e], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x1400019a1
dec eax
or eax, 0xfffffff0
inc eax
mov byte [rbp - 0x6d], al
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x1400019ba
dec eax
or eax, 0xfffffff0
inc eax
mov byte [rbp + rbx - 0x60], al
inc rbx
cmp rbx, 0xc
jl 0x1400019a6
movzx eax, byte [rbp - 0x55]
mov dword [rsp + 0x110], eax
movzx ecx, byte [rbp - 0x56]
movzx edx, byte [rbp - 0x57]
movzx r8d, byte [rbp - 0x58]
movzx eax, byte [rbp - 0x6e]
movzx r10d, byte [rbp - 0x59]
movzx r11d, byte [rbp - 0x5a]
movzx ebx, byte [rbp - 0x5b]
movzx edi, byte [rbp - 0x5c]
movzx esi, byte [rbp - 0x5d]
movzx r14d, byte [rbp - 0x5e]
movzx r15d, byte [rbp - 0x5f]
movzx r12d, byte [rbp - 0x60]
movzx r13d, byte [rbp - 0x6d]
movzx r9d, byte [rbp - 0x68]
mov dword [rsp + 0x108], ecx
lea rcx, [rbp - 0x50]
mov dword [rsp + 0x100], edx
mov edx, 0x24
mov dword [rsp + 0xf8], r8d
lea r8, str._02x_02x_02x_02x__02x_02x__02x_02x__02x_02x__02x_02x_02x_02x_02x_02x
mov dword [rsp + 0xf0], r10d
mov dword [rsp + 0xe8], r11d
mov dword [rsp + 0xe0], ebx
mov dword [rsp + 0xd8], edi
mov dword [rsp + 0xd0], esi
mov dword [rsp + 0xc8], r14d
mov dword [rsp + 0xc0], r15d
mov dword [rsp + 0xb8], r12d
mov dword [rsp + 0xb0], r13d
mov dword [rsp + 0xa8], eax
movzx eax, byte [rbp - 0x6f]
mov dword [rsp + 0xa0], eax
movzx eax, byte [rbp - 0x70]
mov dword [rsp + 0x98], eax
movzx eax, byte [rbp - 0x71]
mov dword [rsp + 0x90], eax
movzx eax, byte [rbp - 0x72]
mov dword [rsp + 0x88], eax
movzx eax, byte [rbp - 0x73]
mov dword [rsp + 0x80], eax
movzx eax, byte [rbp - 0x74]
mov dword [rsp + 0x78], eax
movzx eax, byte [rbp - 0x75]
mov dword [rsp + 0x70], eax
movzx eax, byte [rbp - 0x76]
mov dword [rsp + 0x68], eax
movzx eax, byte [rbp - 0x77]
mov dword [rsp + 0x60], eax
movzx eax, byte [rbp - 0x78]
mov dword [rsp + 0x58], eax
movzx eax, byte [rbp - 0x61]
mov dword [rsp + 0x50], eax
movzx eax, byte [rbp - 0x62]
mov dword [rsp + 0x48], eax
movzx eax, byte [rbp - 0x63]
mov dword [rsp + 0x40], eax
movzx eax, byte [rbp - 0x64]
mov dword [rsp + 0x38], eax
movzx eax, byte [rbp - 0x65]
mov dword [rsp + 0x30], eax
movzx eax, byte [rbp - 0x66]
mov dword [rsp + 0x28], eax
movzx eax, byte [rbp - 0x67]
mov dword [rsp + 0x20], eax
call fcn.140001010
lea rax, [rbp - 0x80]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftCryptography
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140001baa
lea rcx, [rbp - 0x50]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
cmp word [rcx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140001b60
mov rcx, qword [rbp - 0x80]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
lea rdx, str.MachineGuid
lea rax, [rbp - 0x50]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140001baa
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140001be6
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp - 0x68]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp - 0x78]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp - 0x74]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400021b0
lea r11, [rsp + 0x1b0]
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