Function at 0x180205278
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov qword [rbp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov r13d, r8d
mov r14, rdx
mov r15, rcx
lea ebx, [r13 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8d, ebx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
xor esi, esi
test rax, rax
je 0x180205a12
mov r8, rbx
xor edx, edx
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov r12, r13
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9, r15
mov r8d, 4
mov rdx, r13
mov rcx, r14
call fcn.18019c9ac
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp r15, rax
jne 0x180205335
test r13d, r13d
je 0x1802059f5
mov rcx, rdi
mov rdx, r14
sub rdx, rdi
mov r8, r13
mov ebx, 1
mov al, byte [rdx + rcx]
mov byte [rcx], al
add rcx, rbx
sub r8, rbx
jne 0x180205323
jmp 0x1802059f5
mov ecx, dword [0x1802bccdc]
mov rax, qword gs:[0x58]
mov r8d, 4
mov rdx, qword [rax + rcx*8]
mov ebx, 1
mov eax, dword [r8 + rdx]
cmp dword [0x1802c8f40], eax
jle 0x180205632
lea rcx, [0x1802c8f40]
call fcn.1802696f0
or rsi, 0xffffffffffffffff
cmp dword [0x1802c8f40], esi
jne 0x180205630
lea rax, [rbp + 0x18]
mov qword [rbp + 0xc8], rax
mov dword [rsp + 0x50], 0x4b
mov eax, dword [rsp + 0x50]
xor al, 0x4e
mov byte [rsp + 0x54], al
mov eax, dword [rsp + 0x50]
add al, bl
xor al, 0x74
mov byte [rsp + 0x55], al
mov eax, dword [rsp + 0x50]
add al, 2
xor al, 0x52
mov byte [rsp + 0x56], al
mov eax, dword [rsp + 0x50]
add al, 3
xor al, 0x65
mov byte [rsp + 0x57], al
mov eax, dword [rsp + 0x50]
add al, 4
xor al, 0x61
mov byte [rsp + 0x58], al
mov eax, dword [rsp + 0x50]
add al, 5
xor al, 0x64
mov byte [rsp + 0x59], al
mov eax, dword [rsp + 0x50]
add al, 6
xor al, 0x56
mov byte [rsp + 0x5a], al
mov eax, dword [rsp + 0x50]
add al, 7
xor al, 0x69
mov byte [rsp + 0x5b], al
mov eax, dword [rsp + 0x50]
add al, 8
xor al, 0x72
mov byte [rsp + 0x5c], al
mov eax, dword [rsp + 0x50]
add al, 9
xor al, 0x74
mov byte [rsp + 0x5d], al
mov eax, dword [rsp + 0x50]
add al, 0xa
xor al, 0x75
mov byte [rsp + 0x5e], al
mov eax, dword [rsp + 0x50]
add al, 0xb
xor al, 0x61
mov byte [rsp + 0x5f], al
mov eax, dword [rsp + 0x50]
add al, 0xc
xor al, 0x6c
mov byte [rsp + 0x60], al
mov eax, dword [rsp + 0x50]
add al, 0xd
xor al, 0x4d
mov byte [rsp + 0x61], al
mov eax, dword [rsp + 0x50]
add al, 0xe
xor al, 0x65
mov byte [rsp + 0x62], al
mov eax, dword [rsp + 0x50]
add al, 0xf
xor al, 0x6d
mov byte [rsp + 0x63], al
mov eax, dword [rsp + 0x50]
add al, 0x10
xor al, 0x6f
mov byte [rsp + 0x64], al
mov eax, dword [rsp + 0x50]
add al, 0x11
xor al, 0x72
mov byte [rsp + 0x65], al
mov eax, dword [rsp + 0x50]
add al, 0x12
xor al, 0x79
mov byte [rsp + 0x66], al
xor eax, eax
mov byte [rsp + 0x67], al
mov al, byte [rsp + 0x54]
xor r9d, r9d
mov edx, r9d
lea r12d, [rbx + 0x12]
mov al, byte [rsp + rdx + 0x54]
mov ecx, dword [rsp + 0x50]
add cl, dl
xor cl, al
mov byte [rsp + rdx + 0x54], cl
add rdx, rbx
cmp rdx, r12
jb 0x180205488
mov byte [rsp + 0x67], r9b
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x28], r9
mov qword [rbp + 0x30], r9
lea rax, [rsp + 0x54]
mov r8, rsi
inc r8
cmp byte [rax + r8], r9b
jne 0x1802054bc
lea rdx, [rsp + 0x54]
lea rcx, [rbp + 0x18]
call fcn.18007b70c
nop
mov dword [rsp + 0x68], 0x52
mov eax, dword [rsp + 0x68]
xor al, 0x6e
mov byte [rsp + 0x6c], al
mov eax, dword [rsp + 0x68]
add al, bl
xor al, 0x74
mov byte [rsp + 0x6d], al
mov eax, dword [rsp + 0x68]
add al, 2
xor al, 0x64
mov byte [rsp + 0x6e], al
mov eax, dword [rsp + 0x68]
add al, 3
xor al, 0x6c
mov byte [rsp + 0x6f], al
mov eax, dword [rsp + 0x68]
add al, 4
xor al, 0x6c
mov byte [rsp + 0x70], al
xor eax, eax
mov byte [rsp + 0x71], al
mov al, byte [rsp + 0x6c]
xor edx, edx
lea r12d, [rdx + 5]
mov al, byte [rsp + rdx + 0x6c]
mov ecx, dword [rsp + 0x68]
add cl, dl
xor cl, al
mov byte [rsp + rdx + 0x6c], cl
add rdx, rbx
cmp rdx, r12
jb 0x180205526
mov byte [rsp + 0x71], 0
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 8], xmm1
lea rax, [rsp + 0x6c]
mov r12, r13
inc rsi
cmp byte [rax + rsi], 0
jne 0x18020555a
mov r8, rsi
lea rdx, [rsp + 0x6c]
lea rcx, [rbp - 8]
call fcn.18007b70c
nop
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x48]
call fcn.180188b20
nop
xor esi, esi
mov qword [rsp + 0x20], rsi
mov r9b, bl
lea r8, [rbp + 0x18]
mov rdx, rax
lea rcx, [0x1802c9a20]
call fcn.1801bf2cc
nop
mov rdx, qword [rbp + 0x10]
lea eax, [rsi + 0x10]
cmp rdx, rax
jb 0x1802055e1
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1802055dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1802055dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180269534
movdqa xmm0, xmmword [0x180280de0]
movdqu xmmword [rbp + 8], xmm0
mov byte [rbp - 8], sil
xor edx, edx
lea r8d, [rdx + 6]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 0x14]
lea rcx, [rsp + 0x54]
call qword [sym.imp.VCRUNTIME140.dll_memset]
lea rcx, [0x18027e48c]
call fcn.18026951c
nop
lea rcx, [0x1802c8f40]
call fcn.180269690
jmp 0x180205632
xor esi, esi
mov dword [rsp + 0x20], r13d
mov r9, rdi
mov r8, r14
mov rdx, r15
lea rcx, [0x1802c9a20]
call fcn.18024fa10
mov r9d, eax
test eax, eax
je 0x1802059f5
mov dword [rsp + 0x74], 0x47
mov ecx, dword [rsp + 0x74]
xor cx, 0x2c
mov word [rsp + 0x78], cx
mov ecx, dword [rsp + 0x74]
add cx, bx
mov dx, 0x20
xor cx, dx
mov word [rsp + 0x7a], cx
mov ecx, dword [rsp + 0x74]
add cx, 2
mov r10d, 0x2e
xor cx, r10w
mov word [rsp + 0x7c], cx
mov eax, dword [rsp + 0x74]
add ax, 3
xor ax, r10w
mov word [rsp + 0x7e], ax
mov eax, dword [rsp + 0x74]
lea r8d, [r10 - 0x2a]
add ax, r8w
xor ax, r10w
mov word [rbp - 0x80], ax
mov eax, dword [rsp + 0x74]
add ax, 5
xor ax, 0x29
mov word [rbp - 0x7e], ax
mov eax, dword [rsp + 0x74]
add ax, 6
xor ax, dx
mov word [rbp - 0x7c], ax
mov eax, dword [rsp + 0x74]
add ax, 7
xor ax, 0x66
mov word [rbp - 0x7a], ax
mov eax, dword [rsp + 0x74]
add ax, 8
xor ax, 0x61
mov word [rbp - 0x78], ax
mov eax, dword [rsp + 0x74]
add ax, 9
xor ax, 0x69
mov word [rbp - 0x76], ax
mov eax, dword [rsp + 0x74]
lea r13d, [r10 - 0x24]
add ax, r13w
xor ax, 0x6c
mov word [rbp - 0x74], ax
mov eax, dword [rsp + 0x74]
add ax, 0xb
xor ax, 0x65
mov word [rbp - 0x72], ax
mov eax, dword [rsp + 0x74]
add ax, 0xc
xor ax, 0x64
mov word [rbp - 0x70], ax
mov eax, dword [rsp + 0x74]
add ax, 0xd
xor ax, dx
mov word [rbp - 0x6e], ax
mov eax, dword [rsp + 0x74]
add ax, 0xe
xor ax, 0x77
mov word [rbp - 0x6c], ax
mov eax, dword [rsp + 0x74]
add ax, 0xf
xor ax, 0x69
mov word [rbp - 0x6a], ax
mov eax, dword [rsp + 0x74]
add ax, 0x10
xor ax, 0x74
mov word [rbp - 0x68], ax
mov eax, dword [rsp + 0x74]
add ax, 0x11
xor ax, 0x68
mov word [rbp - 0x66], ax
mov eax, dword [rsp + 0x74]
add ax, 0x12
xor ax, dx
mov word [rbp - 0x64], ax
mov eax, dword [rsp + 0x74]
add ax, 0x13
xor ax, 0x73
mov word [rbp - 0x62], ax
mov eax, dword [rsp + 0x74]
add ax, 0x14
xor ax, 0x74
mov word [rbp - 0x60], ax
mov eax, dword [rsp + 0x74]
add ax, 0x15
xor ax, 0x61
mov word [rbp - 0x5e], ax
mov eax, dword [rsp + 0x74]
add ax, 0x16
xor ax, 0x74
mov word [rbp - 0x5c], ax
mov eax, dword [rsp + 0x74]
add ax, 0x17
xor ax, 0x75
mov word [rbp - 0x5a], ax
mov eax, dword [rsp + 0x74]
add ax, 0x18
xor ax, 0x73
mov word [rbp - 0x58], ax
mov eax, dword [rsp + 0x74]
lea r11d, [r10 - 0x15]
add ax, r11w
xor ax, 0x3a
mov word [rbp - 0x56], ax
mov eax, dword [rsp + 0x74]
add ax, 0x1a
xor ax, dx
mov word [rbp - 0x54], ax
mov eax, dword [rsp + 0x74]
add ax, 0x1b
xor ax, 0x30
mov word [rbp - 0x52], ax
mov eax, dword [rsp + 0x74]
add ax, 0x1c
xor ax, 0x78
mov word [rbp - 0x50], ax
xor eax, eax
mov word [rbp - 0x4e], ax
movzx eax, word [rsp + 0x78]
mov rdx, rsi
lea r10d, [r8 + 0x19]
movzx eax, word [rsp + rdx*2 + 0x78]
mov ecx, dword [rsp + 0x74]
add cx, dx
xor cx, ax
mov word [rsp + rdx*2 + 0x78], cx
add rdx, rbx
cmp rdx, r10
jb 0x180205851
mov word [rbp - 0x4e], si
mov eax, 0x34
mov word [rbp - 0x4c], ax
mov eax, 0x28
mov word [rbp - 0x4a], ax
mov eax, 0x38
mov word [rbp - 0x48], ax
mov eax, 0x80
mov word [rbp - 0x46], ax
mov word [rbp - 0x44], si
movzx eax, word [rbp - 0x4c]
mov rcx, rsi
movzx eax, word [rbp + rcx*2 - 0x4c]
sub ax, 8
mov word [rbp + rcx*2 - 0x4c], ax
add rcx, rbx
cmp rcx, r8
jb 0x1802058a0
mov dword [rbp - 0x40], 0x78
mov eax, 0x23
mov word [rbp - 0x3c], ax
mov eax, 0x55
mov word [rbp - 0x3a], ax
mov eax, 0x25
mov word [rbp - 0x38], ax
mov eax, 0x58
mov word [rbp - 0x36], ax
mov eax, 0x36
mov word [rbp - 0x34], ax
lea ecx, [rax - 0x2a]
mov word [rbp - 0x32], cx
lea eax, [rcx + 0x1e]
mov word [rbp - 0x30], ax
mov word [rbp - 0x2e], r10w
mov word [rbp - 0x2c], r11w
lea eax, [rcx + 0x10]
mov word [rbp - 0x2a], ax
lea eax, [rcx + 0x22]
mov word [rbp - 0x28], ax
lea eax, [rcx + 5]
mov word [rbp - 0x26], ax
mov word [rbp - 0x24], r13w
mov word [rbp - 0x22], cx
lea eax, [rcx + 1]
mov word [rbp - 0x20], ax
mov word [rbp - 0x1e], r11w
lea eax, [rcx + 8]
mov word [rbp - 0x1c], ax
lea eax, [rcx + 0x29]
mov word [rbp - 0x1a], ax
mov word [rbp - 0x18], r10w
lea eax, [rcx + 9]
mov word [rbp - 0x16], ax
lea eax, [rcx + 0xb]
mov word [rbp - 0x14], ax
mov word [rbp - 0x12], r13w
mov word [rbp - 0x10], bx
lea eax, [rcx + 0x44]
mov word [rbp - 0xe], ax
xor eax, eax
mov word [rbp - 0xc], ax
movzx eax, word [rbp - 0x3c]
mov rdx, rsi
movzx eax, word [rbp + rdx*2 - 0x3c]
mov ecx, dword [rbp - 0x40]
xor cx, ax
mov word [rbp + rdx*2 - 0x3c], cx
add rdx, rbx
cmp rdx, 0x18
jb 0x18020596a
mov word [rbp - 0xc], si
mov dword [rsp + 0x40], r9d
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
lea r9, [rbp - 0x4c]
mov r8, r15
lea rcx, [rbp - 0x3c]
call fcn.180264edc
nop
xor edx, edx
lea r8d, [rdx + 0x32]
lea rcx, [rbp - 0x3c]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
mov r8, r13
xor edx, edx
lea rcx, [rbp - 0x4c]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 0x3c]
lea rcx, [rsp + 0x78]
call qword [sym.imp.VCRUNTIME140.dll_memset]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdi, rsi
mov qword [rsp + 0x20], rsi
mov r9, r15
mov r8d, dword [rbp + 0xc0]
mov rdx, r12
mov rcx, r14
call fcn.18019c9ac
mov rax, rdi
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret