Function at 0x1400059e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r12, r9
mov r15, r8
mov r14, rdx
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
movsd xmm0, qword [str.E__UV_b]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [str.ZS_A]
mov dword [rsp + 0x38], eax
mov edi, dword [0x14000c090]
cmp byte [0x140008913], 0
je 0x140005b93
xor r8d, r8d
cmp edi, 2
jl 0x140005b51
movdqa xmm4, xmmword [0x1400089c0]
movdqa xmm2, xmmword [0x140008950]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140008970]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140008990]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.6666666666666666_t]
movd xmm0, dword [str.E__UV_b]
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x140008960]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140008970]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140008990]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.6666666666666666_t]
movd xmm0, dword [rsp + 0x34]
xorps xmm2, xmm0
movd dword [rsp + 0x34], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x140005b60
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r9, rax
test rax, rax
jne 0x140005bab
jmp 0x140005d4a
movsd xmm0, qword [str.e__UVDX_J4_]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [0x140008920]
mov dword [rsp + 0x48], eax
movzx eax, word [0x140008924]
mov word [rsp + 0x4c], ax
cmp byte [0x140008925], 0
je 0x140005d2e
xor ecx, ecx
cmp edi, 2
jl 0x140005cf0
movdqa xmm4, xmmword [0x1400089c0]
movdqa xmm2, xmmword [0x140008950]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140008970]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140008990]
packuswb xmm2, xmm2
mov eax, dword [str.6666666666666666_t]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.e__UVDX_J4_]
xorps xmm2, xmm0
movd dword [rsp + 0x40], xmm2
movdqa xmm3, xmmword [0x140008960]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140008970]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140008990]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x44]
xorps xmm2, xmm1
movd dword [rsp + 0x44], xmm2
mov ecx, 8
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop dword [rax + rax]
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, cl
sub al, dl
add al, 0x36
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xe
jl 0x140005d00
lea rdx, [rsp + 0x40]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
jne 0x140005d70
jmp 0x140005d4a
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400061d0
mov rsi, qword [rsp + 0xb0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov ecx, 0x10
call fcn.1400061f0
mov rsi, rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, r12
mov r8, r15
mov rdx, r14
xor ecx, ecx
call rdi
mov r13d, eax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, r12
mov r8, r15
mov rdx, r14
xor ecx, ecx
call rdi
mov r8d, r13d
mov edx, eax
mov rcx, rsi
call fcn.140005fd0
nop
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140006080
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x58]
call fcn.140005ff0
lea rdx, [0x14000a3b0]
lea rcx, [rsp + 0x58]
call sub.VCRUNTIME140.dll__CxxThrowException
int3