Function at 0x14009c440
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x178
mov qword [rsp + 0x110], 0xfffffffffffffffe
mov rax, qword [0x14012a4f8]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp dword [0x14012ea10], 1
je 0x14009c489
xor eax, eax
jmp 0x14009c7c6
xor eax, eax
test eax, eax
jne 0x14009c479
cmp qword [rsp + 0x188], 0
jne 0x14009c4c9
cmp qword [rsp + 0x188], 0
je 0x14009c4b2
mov dword [rsp + 0x118], 1
jmp 0x14009c4bd
mov dword [rsp + 0x118], 0
mov eax, dword [rsp + 0x118]
jmp 0x14009c7c6
xor eax, eax
test eax, eax
jne 0x14009c48f
cmp qword [rsp + 0x190], 0
jne 0x14009c509
cmp qword [rsp + 0x190], 0
je 0x14009c4f2
mov dword [rsp + 0x11c], 1
jmp 0x14009c4fd
mov dword [rsp + 0x11c], 0
mov eax, dword [rsp + 0x11c]
jmp 0x14009c7c6
xor eax, eax
test eax, eax
jne 0x14009c4cf
mov rax, qword [rsp + 0x188]
movzx eax, word [rax]
test eax, eax
jne 0x14009c551
mov rax, qword [rsp + 0x188]
movzx eax, word [rax]
test eax, eax
je 0x14009c53a
mov dword [rsp + 0x120], 1
jmp 0x14009c545
mov dword [rsp + 0x120], 0
mov eax, dword [rsp + 0x120]
jmp 0x14009c7c6
xor eax, eax
test eax, eax
jne 0x14009c50f
mov rax, qword [rsp + 0x190]
movzx eax, word [rax]
test eax, eax
jne 0x14009c599
mov rax, qword [rsp + 0x190]
movzx eax, word [rax]
test eax, eax
je 0x14009c582
mov dword [rsp + 0x124], 1
jmp 0x14009c58d
mov dword [rsp + 0x124], 0
mov eax, dword [rsp + 0x124]
jmp 0x14009c7c6
xor eax, eax
test eax, eax
jne 0x14009c557
mov qword [rsp + 0x50], 0
lea rdx, [0x1400f498c]
lea rcx, [rsp + 0x60]
call fcn.140029d80
nop
mov r8, qword [rsp + 0x190]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x90]
call fcn.140037aa0
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x130], rax
lea r8, [0x1400f4be4]
mov rdx, qword [rsp + 0x130]
lea rcx, [rsp + 0xb8]
call fcn.140037aa0
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x140], rax
mov r8, qword [rsp + 0x188]
mov rdx, qword [rsp + 0x140]
lea rcx, [rsp + 0xe0]
call fcn.140037aa0
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x150], rax
mov rdx, qword [rsp + 0x150]
lea rcx, [rsp + 0x60]
call fcn.140027250
nop
lea rcx, [rsp + 0xe0]
call fcn.140020350
nop
lea rcx, [rsp + 0xb8]
call fcn.140020350
nop
lea rcx, [rsp + 0x90]
call fcn.140020350
lea rcx, [rsp + 0x60]
call fcn.140029dd0
mov rdx, rax
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 0
je 0x14009c735
cmp dword [rsp + 0x88], 0
jne 0x14009c706
mov dword [rsp + 0x158], 1
jmp 0x14009c711
mov dword [rsp + 0x158], 0
mov eax, dword [rsp + 0x158]
mov dword [rsp + 0x108], eax
lea rcx, [rsp + 0x60]
call fcn.140020350
mov eax, dword [rsp + 0x108]
jmp 0x14009c7c6
xor eax, eax
test eax, eax
jne 0x14009c6e5
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x198]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x1400f4d90]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x88], eax
cmp qword [rsp + 0x50], 0
je 0x14009c785
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x88], 0
jne 0x14009c79c
mov dword [rsp + 0x15c], 1
jmp 0x14009c7a7
mov dword [rsp + 0x15c], 0
mov eax, dword [rsp + 0x15c]
mov dword [rsp + 0x10c], eax
lea rcx, [rsp + 0x60]
call fcn.140020350
mov eax, dword [rsp + 0x10c]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400ad2c0
add rsp, 0x178
ret