Function at 0x180054480
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, 0x210
mov rax, qword [0x1801060b8]
xor rax, rsp
mov qword [rsp + 0x200], rax
lea rax, [rsp + 0x1d0]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov rcx, rax
call fcn.1800047c0
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x170], rax
lea r9, [rsp + 0x1d0]
mov r8, qword [rsp + 0x230]
mov rdx, qword [rsp + 0x228]
mov rcx, qword [rsp + 0x220]
call fcn.180053ea0
movzx eax, al
test eax, eax
je 0x180054991
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 8]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
mov qword [rsp + 0xf8], rax
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xe8], rax
lea rax, [rsp + 0xe8]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax]
mov qword [rsp + 0x100], rax
mov r9, qword [rsp + 0x238]
mov r8, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x188]
call fcn.180056dd0
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 8]
mov qword [rsp + 0x108], rax
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0x110]
call fcn.180018f20
lea rax, [rsp + 0x110]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx]
cmp qword [rax], rcx
jne 0x1800546b2
mov dword [rsp + 0x38], 1
jmp 0x1800546ba
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x180054978
mov rdx, qword [rsp + 0x238]
lea rcx, [rsp + 0x1d0]
call fcn.180056ae0
lea rax, [rsp + 0x1e8]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rsp + 0x1b8]
mov qword [rsp + 0x120], rax
lea rdx, [rsp + 0x1d0]
mov rcx, qword [rsp + 0x120]
call fcn.180061bf0
mov qword [rsp + 0x128], rax
mov rdx, qword [rsp + 0x128]
lea rcx, [rsp + 0x1e8]
call fcn.180053bb0
lea rax, [rsp + 0x1e8]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx]
mov rax, qword [rax + 8]
sub rax, rcx
sar rax, 1
mov qword [rsp + 0x130], rax
mov eax, dword [rsp + 0x130]
shl rax, 1
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x230]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x18], 8
jb 0x1800547fe
mov dword [rsp + 0x3c], 1
jmp 0x180054806
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x31], al
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x180054838
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x228]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x18], 8
jb 0x180054898
mov dword [rsp + 0x40], 1
jmp 0x1800548a0
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x32], al
movzx eax, byte [rsp + 0x32]
test eax, eax
je 0x1800548d2
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x220]
mov rax, qword [rax]
mov qword [rsp + 0x168], rax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 7
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x168]
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
test eax, eax
jne 0x180054969
mov byte [rsp + 0x33], 1
lea rcx, [rsp + 0x1e8]
call fcn.1800042a0
nop
lea rcx, [rsp + 0x1d0]
call fcn.180004300
movzx eax, byte [rsp + 0x33]
jmp 0x1800549a8
lea rcx, [rsp + 0x1e8]
call fcn.1800042a0
jmp 0x180054991
mov byte [rsp + 0x34], 1
lea rcx, [rsp + 0x1d0]
call fcn.180004300
movzx eax, byte [rsp + 0x34]
jmp 0x1800549a8
mov byte [rsp + 0x35], 0
lea rcx, [rsp + 0x1d0]
call fcn.180004300
movzx eax, byte [rsp + 0x35]
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.180099a00
add rsp, 0x210
pop rdi
ret