Function at 0x140032450
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
push rbp
lea rbp, [rax - 0xb8]
sub rsp, 0x1b0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x1400db100]
xor rax, rsp
mov qword [rbp + 0x80], rax
xor edi, edi
lea rcx, [rbp + 0x60]
call fcn.1400378a0
nop
cmp qword [rbp + 0x70], rdi
jne 0x1400324bd
lea rdx, str.Failed_to_get_user_SID.
mov rcx, qword [0x1400b64d8]
call fcn.14002c3b0
lea rdx, [0x14002e7a0]
mov rcx, rax
call qword [0x1400b6560]
jmp 0x140032b55
movups xmm0, xmmword [0x1400bb250]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [0x1400bb260]
movups xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [0x1400bb270]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [0x1400bb280]
movups xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [0x1400bb290]
movups xmmword [rbp - 0x40], xmm0
mov eax, dword [0x1400bb2a0]
mov dword [rbp - 0x30], eax
movzx eax, word [0x1400bb2a4]
mov word [rbp - 0x2c], ax
mov ecx, edi
mov r9d, dword [reloc.WS2_32.dll_accept]
cmp r9d, 2
jl 0x14003262a
movdqa xmm5, xmmword [0x1400bd840]
movdqa xmm4, xmmword [0x1400bd8f0]
movdqa xmm6, xmmword [0x1400bd860]
movdqa xmm7, xmmword [str.66666666]
lea rdx, [rbp - 0x80]
nop
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rdx]
xorps xmm3, xmm0
movq qword [rdx], xmm3
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rdx + 8]
xorps xmm3, xmm0
movq qword [rdx + 8], xmm3
add ecx, 8
lea rdx, [rdx + 0x10]
cmp ecx, 0x28
jl 0x140032540
cmp ecx, 0x2b
jge 0x140032670
movsxd rax, ecx
lea r8, [rbp - 0x80]
lea r8, [r8 + rax*2]
nop word [rax + rax]
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x34
movzx eax, cx
sub ax, dx
add ax, 0x36
xor word [r8], ax
inc ecx
lea r8, [r8 + 2]
cmp ecx, 0x2b
jl 0x140032640
movups xmm0, xmmword [str.je_SHHOGc]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [0x1400bb240]
movups xmmword [rsp + 0x50], xmm1
pextrw eax, xmm1, 7
test ax, ax
je 0x1400327f4
cmp r9d, 2
jl 0x1400327b7
movdqa xmm5, xmmword [0x1400bd840]
mov edx, edi
movdqa xmm4, xmmword [0x1400bd8f0]
movdqa xmm6, xmmword [0x1400bd860]
movdqa xmm7, xmmword [str.66666666]
lea rcx, [rsp + 0x40]
nop word [rax + rax]
movd xmm2, edx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx]
xorps xmm3, xmm0
movq qword [rcx], xmm3
lea eax, [rdx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx + 8]
xorps xmm3, xmm0
movq qword [rcx + 8], xmm3
add edx, 8
lea rcx, [rcx + 0x10]
cmp edx, 0x10
jl 0x1400326d0
jmp 0x1400327f4
lea r9, [rsp + 0x40]
mov r8d, edi
nop
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x34
movzx eax, r8w
sub ax, cx
add ax, 0x36
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0x10
jl 0x1400327c0
lea r8, [rbp + 0x60]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.14002c680
nop
lea rcx, [rbp - 0x80]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rcx + r8*2], 0
jne 0x140032820
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.1400431a0
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x30], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x30], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x1400328a9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400328a4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400328a4
call qword [0x1400b6c60]
int3
call fcn.1400b04f8
movdqa xmm0, xmmword [0x1400bd820]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], di
lea rcx, [rbp + 0x20]
cmp qword [rbp + 0x38], 7
cmova rcx, qword [rbp + 0x20]
mov qword [rbp + 0x48], rcx
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400328d1
add ax, ax
mov word [rbp + 0x40], ax
add ax, 2
mov word [rbp + 0x42], ax
movsd xmm0, qword [0x1400bb2a8]
movsd qword [rsp + 0x30], xmm0
mov ecx, dword [0x1400bb2b0]
mov dword [rsp + 0x38], ecx
movzx eax, word [reloc.WLDAP32.dll_Ordinal_60]
mov edx, 0x42
mov word [rsp + 0x30], dx
xor word [rsp + 0x32], 0x37
xor word [rsp + 0x34], 0x38
xor word [rsp + 0x36], 0x39
xor cx, 0x3a
mov word [rsp + 0x38], cx
xor word [rsp + 0x3a], 0x3b
xor ax, 0x3c
mov word [rsp + 0x3c], ax
lea rax, [rsp + 0x30]
mov qword [rbp + 0x58], rax
lea rax, [rsp + 0x30]
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140032950
add bx, bx
mov word [rbp + 0x50], bx
add bx, 2
mov word [rbp + 0x52], bx
mov dword [rbp + 0x18], edi
mov dword [rbp - 0x18], Ordinal_50
mov qword [rbp - 0x10], rdi
mov dword [rbp], 0x40
lea rax, [rbp + 0x40]
mov qword [rbp - 8], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 8], xmm0
mov r10, qword [0x1400dbec8]
test r10, r10
jne 0x1400329bf
lea edx, [r10 + 0xb]
xor ecx, ecx
lea r9d, [r10 + 0x40]
mov r8d, 0x3000
call qword [0x1400b63c8]
mov r10, rax
mov qword [0x1400dbec8], rax
test rax, rax
je 0x140032a3d
mov dword [0x1400db02c], 0x12
movsd xmm0, qword [0x1400db028]
movsd qword [r10], xmm0
movzx ecx, word [0x1400db030]
mov word [r10 + 8], cx
movzx ecx, byte [0x1400db032]
mov byte [r10 + 0xa], cl
lea r8, [rbp - 0x18]
mov edx, 2
lea rcx, [rbp - 0x20]
call r10
mov ebx, eax
test eax, eax
je 0x140032a36
lea rdx, str.Failed_to_open_registry_key_with_status:
mov rcx, qword [0x1400b64d8]
call fcn.14002c3b0
mov edx, ebx
mov rcx, rax
call qword [0x1400b6558]
lea rdx, [0x14002e7a0]
mov rcx, rax
call qword [0x1400b6560]
jmp 0x140032b01
mov r10, qword [0x1400dbec8]
mov rbx, qword [rbp - 0x20]
test r10, r10
jne 0x140032a6f
lea edx, [r10 + 0xb]
xor ecx, ecx
lea r9d, [r10 + 0x40]
mov r8d, 0x3000
call qword [0x1400b63c8]
mov r10, rax
mov qword [0x1400dbec8], rax
test rax, rax
je 0x140032af6
mov dword [0x1400db02c], 0x60
movsd xmm0, qword [0x1400db028]
movsd qword [r10], xmm0
movzx eax, word [0x1400db030]
mov word [r10 + 8], ax
movzx eax, byte [0x1400db032]
mov byte [r10 + 0xa], al
mov qword [rsp + 0x28], 4
lea rax, [rbp + 0x18]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [rbp + 0x50]
mov rcx, rbx
call r10
mov ebx, eax
test eax, eax
je 0x140032af6
lea rdx, str.Failed_to_set_registry_value_with_status:
mov rcx, qword [0x1400b64d8]
call fcn.14002c3b0
mov edx, ebx
mov rcx, rax
call qword [0x1400b6558]
lea rdx, [0x14002e7a0]
mov rcx, rax
call qword [0x1400b6560]
mov rcx, qword [rbp - 0x20]
call qword [0x1400b6370]
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 7
jbe 0x140032b44
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032b3f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140032b3f
call qword [0x1400b6c60]
int3
call fcn.1400b04f8
movdqa xmm0, xmmword [0x1400bd820]
movdqu xmmword [rbp + 0x30], xmm0
mov word [rbp + 0x20], di
mov rdx, qword [rbp + 0x78]
cmp rdx, 7
jbe 0x140032b98
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032b93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140032b93
call qword [0x1400b6c60]
int3
call fcn.1400b04f8
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1400b0620
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret