Function at 0x140024600
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x150
mov rax, qword [0x14003b040]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rax, [rsp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x35]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x36]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x34]
movzx r8d, byte [rsp + 0x35]
movzx edx, byte [rsp + 0x36]
lea rcx, [rsp + 0xe0]
call fcn.14002bc30
mov rcx, rax
call fcn.1400277b0
mov rdx, rax
lea rcx, [rsp + 0x120]
call fcn.1400190e0
nop
mov rdx, qword [rsp + 0x168]
lea rcx, [rsp + 0x120]
call fcn.14002a1a0
lea rcx, [rsp + 0x120]
call fcn.140018ef0
lea r8, [rsp + 0x110]
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400246ef
mov byte [rsp + 0x37], 0
lea rcx, [rsp + 0x120]
call fcn.1400190b0
movzx eax, byte [rsp + 0x37]
jmp 0x140024a7b
mov byte [rsp + 0x118], 1
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x39]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x3a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x38]
movzx r8d, byte [rsp + 0x39]
movzx edx, byte [rsp + 0x3a]
lea rcx, [rsp + 0xa0]
call fcn.14002bce0
mov rcx, rax
call fcn.140028730
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x118]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400247b7
mov byte [rsp + 0x3c], 0
lea rcx, [rsp + 0x120]
call fcn.1400190b0
movzx eax, byte [rsp + 0x3c]
jmp 0x140024a7b
mov byte [rsp + 0x119], 3
lea rax, [rsp + 0x3d]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x3e]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x3f]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x3d]
movzx r8d, byte [rsp + 0x3e]
movzx edx, byte [rsp + 0x3f]
lea rcx, [rsp + 0xb0]
call fcn.14002bd30
mov rcx, rax
call fcn.140028730
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x119]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14002487f
mov byte [rsp + 0x41], 0
lea rcx, [rsp + 0x120]
call fcn.1400190b0
movzx eax, byte [rsp + 0x41]
jmp 0x140024a7b
mov byte [rsp + 0x11a], 3
lea rax, [rsp + 0x42]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x43]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x44]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x42]
movzx r8d, byte [rsp + 0x43]
movzx edx, byte [rsp + 0x44]
lea rcx, [rsp + 0xc0]
call fcn.14002bd80
mov rcx, rax
call fcn.140028730
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x11a]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14002494d
mov byte [rsp + 0x45], 0
lea rcx, [rsp + 0x120]
call fcn.1400190b0
movzx eax, byte [rsp + 0x45]
jmp 0x140024a7b
mov rcx, qword [rsp + 0x160]
call fcn.140029df0
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x160]
call fcn.140018ef0
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x46]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x47]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x46]
movzx r8d, byte [rsp + 0x47]
movzx edx, byte [rsp + 0x48]
lea rcx, [rsp + 0xd0]
call fcn.14002bdd0
mov rcx, rax
call fcn.140028730
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140024a3c
mov byte [rsp + 0x3b], 0
lea rcx, [rsp + 0x120]
call fcn.1400190b0
movzx eax, byte [rsp + 0x3b]
jmp 0x140024a7b
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x140024a58
mov dword [rsp + 0x4c], 1
jmp 0x140024a60
mov dword [rsp + 0x4c], 0
movzx eax, byte [rsp + 0x4c]
mov byte [rsp + 0x40], al
lea rcx, [rsp + 0x120]
call fcn.1400190b0
movzx eax, byte [rsp + 0x40]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14002fd60
add rsp, 0x150
pop rdi
ret