Function at 0x14002f270
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x8f8
mov rax, qword [0x140075028]
xor rax, rsp
mov qword [rsp + 0x8e0], rax
cmp qword [rsp + 0x918], 0
je 0x14002f2be
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x918]
movzx eax, word [rcx + rax]
test eax, eax
jne 0x14002f2c3
jmp 0x14002f5fb
lea rax, str.Software_
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0xc0]
mov rdi, rax
xor eax, eax
mov ecx, 0x410
rep stosb byte [rdi], al
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x98]
movzx eax, word [rax]
mov word [rsp + 0x50], ax
mov rax, qword [rsp + 0x88]
movzx ecx, word [rsp + 0x50]
mov word [rax], cx
mov rax, qword [rsp + 0x98]
add rax, 2
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x88]
add rax, 2
mov qword [rsp + 0x88], rax
cmp word [rsp + 0x50], 0
jne 0x14002f316
cmp qword [rsp + 0x910], 0
je 0x14002f412
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x910]
movzx eax, word [rcx + rax]
test eax, eax
je 0x14002f412
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x58], rax
sub qword [rsp + 0x58], 2
add qword [rsp + 0x58], 2
mov rax, qword [rsp + 0x58]
cmp word [rax], 0
jne 0x14002f3a5
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x910]
xor edx, edx
movzx edi, word [rcx + rdx*2]
mov word [rax + rdx*2], di
inc rdx
test di, di
jne 0x14002f3c5
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x60], rax
sub qword [rsp + 0x60], 2
add qword [rsp + 0x60], 2
mov rax, qword [rsp + 0x60]
cmp word [rax], 0
jne 0x14002f3e8
mov rax, qword [rsp + 0x60]
lea rcx, [0x140067c04]
mov rdi, rax
mov rsi, rcx
mov ecx, 4
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x4d0]
mov rdi, rax
xor eax, eax
mov ecx, 0x410
rep stosb byte [rdi], al
mov r8d, 0x206
lea rdx, [rsp + 0x4d0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dx, 0x5c
lea rcx, [rsp + 0x4d0]
call fcn.140041070
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jne 0x14002f472
lea rax, [rsp + 0x4d0]
mov qword [rsp + 0x80], rax
jmp 0x14002f486
mov rax, qword [rsp + 0x80]
add rax, 2
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x68], rax
sub qword [rsp + 0x68], 2
add qword [rsp + 0x68], 2
mov rax, qword [rsp + 0x68]
cmp word [rax], 0
jne 0x14002f499
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x80]
xor edx, edx
movzx edi, word [rcx + rdx*2]
mov word [rax + rdx*2], di
inc rdx
test di, di
jne 0x14002f4b9
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x70], rax
sub qword [rsp + 0x70], 2
add qword [rsp + 0x70], 2
mov rax, qword [rsp + 0x70]
cmp word [rax], 0
jne 0x14002f4dc
mov rax, qword [rsp + 0x70]
lea rcx, [0x140067c04]
mov rdi, rax
mov rsi, rcx
mov ecx, 4
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x78], rax
sub qword [rsp + 0x78], 2
add qword [rsp + 0x78], 2
mov rax, qword [rsp + 0x78]
cmp word [rax], 0
jne 0x14002f519
mov rax, qword [rsp + 0x78]
lea rcx, str.XMessageBox
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0xb8], 0
mov qword [rsp + 0xb0], 0
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0xc0]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 0
jne 0x14002f5fb
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x920]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsp + 0x918]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x8e0]
xor rcx, rsp
call fcn.14003f5f0
add rsp, 0x8f8
pop rdi
pop rsi
ret