Function at 0x1400849b0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc28
mov rsi, rdx
mov rdi, rcx
movups xmm0, xmmword [rdx + 0x20]
movups xmm1, xmmword [rdx + 0x30]
movaps xmmword [rsp + 0x40], xmm1
movaps xmmword [rsp + 0x30], xmm0
mov r14, qword [rdx + 0x10]
movzx eax, byte [rdx + 0x18]
mov byte [rsp + 0x27], al
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], 0
movaps xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], 0
movups xmmword [rsp + 0x98], xmm0
mov qword [rsp + 0xa8], 0
movaps xmmword [rsp + 0xb0], xmm0
mov qword [rsp + 0xc0], 0
movups xmmword [rsp + 0xc8], xmm0
mov qword [rsp + 0xd8], 0
movaps xmmword [rsp + 0xe0], xmm0
mov qword [rsp + 0xf0], 0
movups xmmword [rsp + 0xf8], xmm0
mov qword [rsp + 0x108], 0
movaps xmmword [rsp + 0x110], xmm0
mov qword [rsp + 0x120], 0
movups xmmword [rsp + 0x128], xmm0
mov qword [rsp + 0x138], 0
movaps xmmword [rsp + 0x140], xmm0
mov qword [rsp + 0x150], 0
movups xmmword [rsp + 0x158], xmm0
mov qword [rsp + 0x168], 0
movaps xmmword [rsp + 0x170], xmm0
mov qword [rsp + 0x180], 0
movups xmmword [rsp + 0x188], xmm0
mov qword [rsp + 0x198], 0
movaps xmmword [rsp + 0x1a0], xmm0
mov qword [rsp + 0x1b0], 0
movups xmmword [rsp + 0x1b8], xmm0
mov qword [rsp + 0x1c8], 0
movaps xmmword [rsp + 0x1d0], xmm0
mov qword [rsp + 0x1e0], 0
movups xmmword [rsp + 0x1e8], xmm0
mov qword [rsp + 0x1f8], 0
movaps xmmword [rsp + 0x200], xmm0
mov qword [rsp + 0x210], 0
movups xmmword [rsp + 0x218], xmm0
mov qword [rsp + 0x228], 0
movaps xmmword [rsp + 0x230], xmm0
mov qword [rsp + 0x240], 0
movups xmmword [rsp + 0x248], xmm0
mov qword [rsp + 0x258], 0
movaps xmmword [rsp + 0x260], xmm0
mov qword [rsp + 0x270], 0
movups xmmword [rsp + 0x278], xmm0
mov qword [rsp + 0x288], 0
movaps xmmword [rsp + 0x290], xmm0
mov qword [rsp + 0x2a0], 0
movups xmmword [rsp + 0x2a8], xmm0
mov qword [rsp + 0x2b8], 0
movaps xmmword [rsp + 0x2c0], xmm0
mov qword [rsp + 0x2d0], 0
movups xmmword [rsp + 0x2d8], xmm0
mov qword [rsp + 0x2e8], 0
movaps xmmword [rsp + 0x2f0], xmm0
mov qword [rsp + 0x300], 0
movups xmmword [rsp + 0x308], xmm0
mov qword [rsp + 0x318], 0
movaps xmmword [rsp + 0x320], xmm0
mov qword [rsp + 0x330], 0
movups xmmword [rsp + 0x338], xmm0
mov qword [rsp + 0x348], 0
movaps xmmword [rsp + 0x350], xmm0
mov qword [rsp + 0x360], 0
movups xmmword [rsp + 0x368], xmm0
mov qword [rsp + 0x378], 0
movaps xmmword [rsp + 0x380], xmm0
mov qword [rsp + 0x390], 0
movups xmmword [rsp + 0x398], xmm0
mov qword [rsp + 0x3a8], 0
movaps xmmword [rsp + 0x3b0], xmm0
mov qword [rsp + 0x3c0], 0
movups xmmword [rsp + 0x3c8], xmm0
mov qword [rsp + 0x3d8], 0
movaps xmmword [rsp + 0x3e0], xmm0
mov qword [rsp + 0x3f0], 0
movups xmmword [rsp + 0x3f8], xmm0
mov qword [rsp + 0x408], 0
movaps xmmword [rsp + 0x410], xmm0
mov qword [rsp + 0x420], 0
movups xmmword [rsp + 0x428], xmm0
mov qword [rsp + 0x438], 0
movaps xmmword [rsp + 0x440], xmm0
mov qword [rsp + 0x450], 0
movups xmmword [rsp + 0x458], xmm0
mov qword [rsp + 0x468], 0
movaps xmmword [rsp + 0x470], xmm0
mov qword [rsp + 0x480], 0
movups xmmword [rsp + 0x488], xmm0
mov qword [rsp + 0x498], 0
movaps xmmword [rsp + 0x4a0], xmm0
mov qword [rsp + 0x4b0], 0
movups xmmword [rsp + 0x4b8], xmm0
mov qword [rsp + 0x4c8], 0
movaps xmmword [rsp + 0x4d0], xmm0
mov qword [rsp + 0x4e0], 0
movups xmmword [rsp + 0x4e8], xmm0
mov qword [rsp + 0x4f8], 0
movaps xmmword [rsp + 0x500], xmm0
mov qword [rsp + 0x510], 0
movups xmmword [rsp + 0x518], xmm0
mov qword [rsp + 0x528], 0
movaps xmmword [rsp + 0x530], xmm0
mov qword [rsp + 0x540], 0
movups xmmword [rsp + 0x548], xmm0
mov qword [rsp + 0x558], 0
movaps xmmword [rsp + 0x560], xmm0
mov qword [rsp + 0x570], 0
movups xmmword [rsp + 0x578], xmm0
mov qword [rsp + 0x588], 0
movaps xmmword [rsp + 0x590], xmm0
mov qword [rsp + 0x5a0], 0
movups xmmword [rsp + 0x5a8], xmm0
mov qword [rsp + 0x5b8], 0
movaps xmmword [rsp + 0x5c0], xmm0
mov qword [rsp + 0x5d0], 0
movups xmmword [rsp + 0x5d8], xmm0
mov qword [rsp + 0x5e8], 0
movaps xmmword [rsp + 0x5f0], xmm0
mov qword [rsp + 0x600], 0
movups xmmword [rsp + 0x608], xmm0
mov qword [rsp + 0x618], 0
movaps xmmword [rsp + 0x620], xmm0
mov qword [rsp + 0x630], 0
lea rcx, [rsp + 0x640]
lea rdx, [rsp + 0x50]
mov r8d, 0x5e8
call sub.msvcrt.dll_memcpy
movzx eax, byte [0x1402d9160]
mov rcx, qword [0x1402d9150]
test rcx, rcx
jne 0x140084f0d
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1400851ff
mov rcx, rax
mov qword [0x1402d9150], rax
mov r8d, 0x5f0
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1400851ff
mov rbx, rax
mov qword [rsp + 0x28], r14
movabs r15, 0x800000000000000
mov qword [rax], 0
mov rcx, rax
add rcx, 8
lea rdx, [rsp + 0x640]
mov r8d, 0x5e8
call sub.msvcrt.dll_memcpy
mov rax, qword [rsi + 0x60]
movabs rcx, 0x7465646279746573
movabs rdx, 0x6c7967656e657261
movabs r8, 0xded7d4e2d7dedfc6
movabs r9, 0xa60c596fc19fead0
movabs r10, 0xe414a674f0de7325
nop dword [rax]
mov r14d, 1
lock xadd qword [0x1402d9060], r14
mov r13, r14
xor r13, rcx
lea r11, [rdx + r13]
mov rbp, r13
rol rbp, 0x10
xor rbp, r11
lea r12, [r8 + rbp]
rol rbp, 0x15
add r13, r9
mov r11, r13
xor r11, r10
rol r13, 0x20
xor r14, r12
add r14, r11
rol r11, 0xd
xor r12, r15
xor r11, r14
rol r14, 0x20
xor r12, rbp
add r13, r12
rol r12, 0x10
xor r12, r13
add r14, r12
rol r12, 0x15
add r13, r11
rol r11, 0x11
xor r12, r14
xor r11, r13
rol r13, 0x20
xor r14, r15
add r14, r11
rol r11, 0xd
xor r11, r14
rol r14, 0x20
xor r13, 0xff
add r13, r12
rol r12, 0x10
xor r12, r13
add r14, r12
rol r12, 0x15
add r13, r11
rol r11, 0x11
xor r11, r13
rol r13, 0x20
xor r12, r14
add r14, r11
rol r11, 0xd
xor r11, r14
rol r14, 0x20
add r13, r12
rol r12, 0x10
xor r12, r13
add r14, r12
rol r12, 0x15
add r13, r11
rol r11, 0x11
xor r11, r13
rol r13, 0x20
xor r12, r14
add r14, r11
rol r11, 0xd
add r13, r12
rol r12, 0x10
xor r12, r13
rol r12, 0x15
xor r11, r14
add r13, r11
rol r11, 0x11
mov r14, r13
rol r14, 0x20
xor r14, r11
xor r14, r12
xor r14, r13
je 0x140084f90
mov rcx, qword [rsi + 0x40]
movaps xmm0, xmmword [rsp + 0x30]
movaps xmm1, xmmword [rsp + 0x40]
movups xmmword [rdi + 0x128], xmm1
movups xmmword [rdi + 0x118], xmm0
mov rdx, qword [rsp + 0x28]
mov qword [rdi + 0x138], rdx
movzx edx, byte [rsp + 0x27]
mov byte [rdi + 0x140], dl
mov qword [rdi], 0
mov qword [rdi + 8], rbx
movaps xmm0, xmmword [rsp + 0x50]
movaps xmm1, xmmword [rsp + 0x60]
movaps xmm2, xmmword [rsp + 0x70]
movaps xmm3, xmmword [rsp + 0x80]
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi + 0x20], xmm1
movaps xmmword [rdi + 0x30], xmm2
movaps xmmword [rdi + 0x40], xmm3
movaps xmm0, xmmword [rsp + 0x90]
movaps xmmword [rdi + 0x50], xmm0
movaps xmm0, xmmword [rsp + 0xa0]
movaps xmmword [rdi + 0x60], xmm0
movaps xmm0, xmmword [rsp + 0xb0]
movaps xmmword [rdi + 0x70], xmm0
mov qword [rdi + 0x80], 0
mov qword [rdi + 0x88], rbx
movaps xmm0, xmmword [rsp + 0x640]
movaps xmm1, xmmword [rsp + 0x650]
movaps xmm2, xmmword [rsp + 0x660]
movaps xmm3, xmmword [rsp + 0x670]
movaps xmmword [rdi + 0x90], xmm0
movaps xmmword [rdi + 0xa0], xmm1
movaps xmmword [rdi + 0xb0], xmm2
movaps xmmword [rdi + 0xc0], xmm3
movaps xmm0, xmmword [rsp + 0x680]
movaps xmmword [rdi + 0xd0], xmm0
movaps xmm0, xmmword [rsp + 0x690]
movaps xmmword [rdi + 0xe0], xmm0
movaps xmm0, xmmword [rsp + 0x6a0]
movaps xmmword [rdi + 0xf0], xmm0
mov qword [rdi + 0x100], rax
mov qword [rdi + 0x108], r14
mov qword [rdi + 0x110], rcx
mov r8, qword [rsi + 0x48]
test r8, r8
je 0x1400851ea
cmp qword [rsi + 0x50], 0
je 0x1400851ea
mov rcx, qword [0x1402d9150]
xor edx, edx
add rsp, 0xc28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp sub.kernel32.dll_HeapFree
nop
add rsp, 0xc28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2