Function at 0x1800549d0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2c0
mov rax, qword [0x1801060b8]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
lea rax, [rsp + 0x280]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rsp + 0x280]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov rcx, rax
call fcn.1800047c0
lea rax, [rsp + 0x280]
mov qword [rsp + 0x1f8], rax
lea r9, [rsp + 0x280]
mov r8, qword [rsp + 0x2e0]
mov rdx, qword [rsp + 0x2d8]
mov rcx, qword [rsp + 0x2d0]
call fcn.180053ea0
movzx eax, al
test eax, eax
je 0x18005508f
lea rax, [rsp + 0x280]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 8]
mov qword [rsp + 0xe8], rax
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + 0xf0]
call fcn.180018f20
lea rax, [rsp + 0xf0]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax]
mov qword [rsp + 0x118], rax
lea rax, [rsp + 0x280]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x208]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov qword [rsp + 0x100], rax
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x108]
call fcn.180018f20
lea rax, [rsp + 0x108]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
mov qword [rsp + 0x120], rax
mov r9, qword [rsp + 0x2e8]
mov r8, qword [rsp + 0x118]
mov rdx, qword [rsp + 0x120]
lea rcx, [rsp + 0x210]
call fcn.180056dd0
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x280]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 8]
mov qword [rsp + 0x128], rax
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x128]
lea rcx, [rsp + 0x130]
call fcn.180018f20
lea rax, [rsp + 0x130]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx]
cmp qword [rax], rcx
jne 0x180054c13
mov dword [rsp + 0x38], 1
jmp 0x180054c1b
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x180054c37
mov dword [rsp + 0x3c], 1
jmp 0x180054c3f
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x31], al
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x180055076
lea rax, [rsp + 0x280]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x228]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 8]
mov qword [rsp + 0x140], rax
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x140]
lea rcx, [rsp + 0x148]
call fcn.180018f20
lea rax, [rsp + 0x148]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov rax, qword [rax]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x1a8], rax
lea rax, [rsp + 0x280]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x230]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x98]
mov rax, qword [rax + 8]
mov qword [rsp + 0x160], rax
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x160]
lea rcx, [rsp + 0x168]
call fcn.180018f20
lea rax, [rsp + 0x168]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov rax, qword [rax]
mov qword [rsp + 0x190], rax
lea rax, [rsp + 0x280]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x238]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax]
mov qword [rsp + 0x178], rax
mov r8, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0x178]
lea rcx, [rsp + 0x180]
call fcn.180018f20
lea rax, [rsp + 0x180]
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
mov rax, qword [rax]
mov qword [rsp + 0x198], rax
mov r9, qword [rsp + 0x2e8]
mov r8, qword [rsp + 0x190]
mov rdx, qword [rsp + 0x198]
lea rcx, [rsp + 0x240]
call fcn.1800615d0
mov rax, qword [rax]
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x1b0], rax
mov r9, qword [rsp + 0x1a8]
mov r8, qword [rsp + 0x1b0]
lea rdx, [rsp + 0x248]
lea rcx, [rsp + 0x280]
call fcn.1800644e0
lea rax, [rsp + 0x298]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rsp + 0x268]
mov qword [rsp + 0x1b8], rax
lea rdx, [rsp + 0x280]
mov rcx, qword [rsp + 0x1b8]
call fcn.180061bf0
mov qword [rsp + 0x1c0], rax
mov rdx, qword [rsp + 0x1c0]
lea rcx, [rsp + 0x298]
call fcn.180053bb0
lea rax, [rsp + 0x298]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb8]
mov rcx, qword [rcx]
mov rax, qword [rax + 8]
sub rax, rcx
sar rax, 1
mov qword [rsp + 0x1c8], rax
mov eax, dword [rsp + 0x1c8]
shl rax, 1
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x298]
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsp + 0x1d8]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x258]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x2e0]
mov rcx, rax
call fcn.1800027f0
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x260]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x2d8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x18], 8
jb 0x180054f96
mov dword [rsp + 0x40], 1
jmp 0x180054f9e
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x32], al
movzx eax, byte [rsp + 0x32]
test eax, eax
je 0x180054fd0
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x1e8], rax
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x2d0]
mov rax, qword [rax]
mov qword [rsp + 0x1f0], rax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x20], rax
mov r9d, 7
mov r8, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x1f0]
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
test eax, eax
jne 0x180055067
mov byte [rsp + 0x33], 1
lea rcx, [rsp + 0x298]
call fcn.1800042a0
nop
lea rcx, [rsp + 0x280]
call fcn.180004300
movzx eax, byte [rsp + 0x33]
jmp 0x1800550a6
lea rcx, [rsp + 0x298]
call fcn.1800042a0
jmp 0x18005508f
mov byte [rsp + 0x34], 1
lea rcx, [rsp + 0x280]
call fcn.180004300
movzx eax, byte [rsp + 0x34]
jmp 0x1800550a6
mov byte [rsp + 0x35], 0
lea rcx, [rsp + 0x280]
call fcn.180004300
movzx eax, byte [rsp + 0x35]
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.180099a00
add rsp, 0x2c0
pop rdi
ret