Function at 0x1800548d0
Capabilities:
Encode data using xor
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xe0
mov rax, qword [0x180119070]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rbp - 0x59], rcx
xor r14d, r14d
mov qword [rbp + 0x1f], r14
mov qword [rbp + 0x2f], r14
mov qword [rbp + 0x37], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x1f], r14b
xor r8d, r8d
lea rdx, [0x1800f2e32]
lea rcx, [rbp + 0x1f]
call fcn.180075850
nop
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 7], r14
mov qword [rbp + 0xf], r14
mov qword [rbp + 0x17], r14
lea ecx, [r14 + 0x40]
call fcn.1800df4fc
mov rcx, rax
mov qword [rbp + 7], rax
add rax, 0x40
mov qword [rbp + 0x17], rax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
mov qword [rbp + 0xf], rax
mov dword [rbp - 0x49], 3
mov qword [rbp - 0x29], rbx
mov rax, qword [rbp + 7]
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], 0x40
lea rax, [rbp - 0x49]
mov qword [rbp - 0x59], rax
mov dword [rbp - 0x69], 0xfeeaf8d1
mov dword [rbp - 0x65], 0xc2c1c8cc
mov word [rbp - 0x61], 0x100
mov ecx, r14d
nop dword [rax + rax]
lea eax, [rcx - 0x64]
xor byte [rbp + rcx - 0x69], al
inc rcx
cmp rcx, 8
jb 0x1800549b0
mov byte [rbp - 0x60], 0
mov dword [rsp + 0x28], 8
lea rax, [rbp - 0x59]
mov qword [rsp + 0x20], rax
mov r9d, ntohs
xor r8d, r8d
lea rdx, [rbp - 0x69]
mov rcx, qword [0x1801292b8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rbx, r14
mov rcx, qword [rbp + 7]
cmp qword [rbp + 0xf], rcx
je 0x180054a53
nop dword [rax]
movzx r9d, byte [rcx + rbx]
test r9b, r9b
je 0x180054a53
mov rcx, qword [rbp + 0x2f]
mov rdx, qword [rbp + 0x37]
cmp rcx, rdx
jae 0x180054a37
lea rax, [rcx + 1]
mov qword [rbp + 0x2f], rax
lea rax, [rbp + 0x1f]
cmp rdx, 0x10
cmovae rax, qword [rbp + 0x1f]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x180054a40
lea rcx, [rbp + 0x1f]
call fcn.180079680
inc rbx
mov rax, qword [rbp + 0xf]
mov rcx, qword [rbp + 7]
sub rax, rcx
cmp rbx, rax
jb 0x180054a00
lea rax, [rbp + 0x1f]
mov rbx, qword [rbp + 0x1f]
mov rsi, qword [rbp + 0x37]
cmp rsi, 0x10
cmovae rax, rbx
cmp byte [rax], 0
jne 0x180054b22
cmp qword [rbp + 0x2f], 1
jne 0x180054b22
mov qword [rdi], r14
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
xor r8d, r8d
lea rdx, [0x1800f2e32]
mov rcx, rdi
call fcn.180075850
nop
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x180054ae6
mov rdx, qword [rbp + 0x17]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180054ad5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180054b5e
call fcn.1800def0c
mov qword [rbp + 7], r14
mov qword [rbp + 0xf], r14
mov qword [rbp + 0x17], r14
cmp rsi, 0x10
jb 0x180054b6b
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x180054b18
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180054b18
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1800def0c
jmp 0x180054b6b
movups xmm0, xmmword [rbp + 0x1f]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp + 0x2f]
movups xmmword [rdi + 0x10], xmm1
test rcx, rcx
je 0x180054b6b
mov rdx, qword [rbp + 0x17]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180054b65
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180054b65
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800def0c
nop
mov rax, rdi
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1800dec50
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret