Function at 0x14004ca40
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x380
lea rax, [rsp + 0x170]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov eax, 0xb
mov word [rsp + 0x54], ax
mov eax, 0x1a
mov word [rsp + 0x56], ax
mov eax, 0x22
mov word [rsp + 0x58], ax
mov eax, 0x33
mov word [rsp + 0x5a], ax
mov eax, 0x1d
mov word [rsp + 0x5c], ax
mov eax, 0x10
mov word [rsp + 0x5e], ax
mov eax, 5
mov word [rsp + 0x60], ax
mov eax, 0x3b
mov word [rsp + 0x62], ax
mov eax, 0x35
mov word [rsp + 0x64], ax
mov eax, 0xd
mov word [rsp + 0x66], ax
mov eax, 4
mov word [rsp + 0x68], ax
mov eax, 0x10
mov word [rsp + 0x6a], ax
mov eax, 0x6e
mov word [rsp + 0x6c], ax
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x54]
call fcn.1400076c0
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
mov rcx, qword [rsp + 0xd8]
call fcn.14001f198
lea rcx, [rsp + 0x170]
mov qword [rsp + 0x30], rcx
sub qword [rsp + 0x30], 2
add qword [rsp + 0x30], 2
mov rcx, qword [rsp + 0x30]
cmp word [rcx], 0
jne 0x14004cb50
mov rcx, qword [rsp + 0x30]
xor edx, edx
movzx edi, word [rax + rdx*2]
mov word [rcx + rdx*2], di
inc rdx
test di, di
jne 0x14004cb68
lea rcx, [rsp + 0x120]
call fcn.140007830
mov eax, 0x1b
mov word [rsp + 0x6e], ax
mov eax, 0x18
mov word [rsp + 0x70], ax
mov eax, 8
mov word [rsp + 0x72], ax
mov eax, 0x11
mov word [rsp + 0x74], ax
mov eax, 0x23
mov word [rsp + 0x76], ax
mov eax, 0x3e
mov word [rsp + 0x78], ax
mov eax, 0x26
mov word [rsp + 0x7a], ax
mov eax, 4
mov word [rsp + 0x7c], ax
mov eax, 0x17
mov word [rsp + 0x7e], ax
mov eax, 0x38
mov word [rsp + 0x80], ax
mov eax, 0xc
mov word [rsp + 0x82], ax
mov eax, 6
mov word [rsp + 0x84], ax
mov eax, 7
mov word [rsp + 0x86], ax
mov eax, 4
mov word [rsp + 0x88], ax
mov eax, 0x25
mov word [rsp + 0x8a], ax
mov eax, 0x28
mov word [rsp + 0x8c], ax
mov eax, 0x1a
mov word [rsp + 0x8e], ax
mov eax, 0x30
mov word [rsp + 0x90], ax
mov eax, 0x32
mov word [rsp + 0x92], ax
mov eax, 0x30
mov word [rsp + 0x94], ax
mov eax, 5
mov word [rsp + 0x96], ax
mov eax, 9
mov word [rsp + 0x98], ax
mov eax, 0x1b
mov word [rsp + 0x9a], ax
mov eax, 3
mov word [rsp + 0x9c], ax
mov eax, 0x2e
mov word [rsp + 0x9e], ax
mov eax, 0x33
mov word [rsp + 0xa0], ax
mov eax, 0x16
mov word [rsp + 0xa2], ax
mov eax, 0x34
mov word [rsp + 0xa4], ax
mov eax, 0x24
mov word [rsp + 0xa6], ax
mov eax, 0x18
mov word [rsp + 0xa8], ax
mov eax, 4
mov word [rsp + 0xaa], ax
mov eax, 0x30
mov word [rsp + 0xac], ax
mov eax, 7
mov word [rsp + 0xae], ax
mov eax, 0xe
mov word [rsp + 0xb0], ax
mov eax, 0x42
mov word [rsp + 0xb2], ax
mov eax, 0xe
mov word [rsp + 0xb4], ax
mov eax, 7
mov word [rsp + 0xb6], ax
mov eax, 0xc
mov word [rsp + 0xb8], ax
mov eax, 0x41
mov word [rsp + 0xba], ax
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x6e]
call fcn.140007570
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xf8], rax
lea rax, [rsp + 0x170]
mov qword [rsp + 0x38], rax
sub qword [rsp + 0x38], 2
add qword [rsp + 0x38], 2
mov rax, qword [rsp + 0x38]
cmp word [rax], 0
jne 0x14004cdc5
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0xf8]
xor edx, edx
movzx edi, word [rcx + rdx*2]
mov word [rax + rdx*2], di
inc rdx
test di, di
jne 0x14004cde5
lea rcx, [rsp + 0x138]
call fcn.140007830
mov eax, 6
mov word [rsp + 0x40], ax
mov eax, 0x31
mov word [rsp + 0x42], ax
mov eax, 0x32
mov word [rsp + 0x44], ax
mov eax, 0x1e
mov word [rsp + 0x46], ax
mov eax, 0x30
mov word [rsp + 0x48], ax
mov eax, 0x27
mov word [rsp + 0x4a], ax
mov eax, 0x3c
mov word [rsp + 0x4c], ax
mov eax, 8
mov word [rsp + 0x4e], ax
mov eax, 0x37
mov word [rsp + 0x50], ax
mov eax, 0x4c
mov word [rsp + 0x52], ax
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x40]
call fcn.140007420
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov rax, qword [rax]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x118], rax
lea rcx, [rsp + 0x150]
call fcn.140007830
mov dword [rsp + 0x28], 0x208
lea rax, [rsp + 0x170]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x390]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0xbc], eax
mov rcx, qword [rsp + 0x390]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x380
pop rdi
ret