Function at 0x140089d00
Capabilities:
Create thread
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x1400a9040]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov esi, dword [0x1400b0868]
movsxd rax, dword [0x1400b09a0]
xor r9d, r9d
cmp eax, 0x7b
ja 0x140089d4d
lea r9, str.None
mov r9, qword [r9 + rax*8]
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f], xmm0
mov qword [rbp + 0x2f], 0
mov qword [rbp + 0x37], 0xf
mov byte [rbp + 0x1f], 0
mov rdi, 0xffffffffffffffff
mov rbx, rdi
test r9, r9
jne 0x140089ff0
movsd xmm0, qword [0x1400a0bd0]
movsd qword [rbp - 9], xmm0
movzx ecx, word [0x1400a0bd8]
mov word [rbp - 1], cx
movzx eax, byte [0x1400a0bda]
mov byte [rbp - 9], 0x53
xor byte [rbp - 8], 0x38
xor byte [rbp - 7], 0x39
xor byte [rbp - 6], 0x3a
xor byte [rbp - 5], 0x3b
xor byte [rbp - 4], 0x3c
xor byte [rbp - 3], 0x3d
xor byte [rbp - 2], 0x3e
xor cl, 0x3f
mov byte [rbp - 1], cl
xor byte [rbp], 0x40
xor al, 0x41
mov byte [rbp + 1], al
lea rax, [rbp - 9]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140089dd0
lea rcx, [rbp + 0x1f]
cmp rbx, 0xf
ja 0x140089dfa
mov qword [rbp + 0x2f], rbx
mov r8, rbx
lea rdx, [rbp - 9]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rbx + 0x1f], 0
jmp 0x140089e06
lea r9, [rbp - 9]
mov rdx, rbx
call fcn.1400843c0
cmp esi, 1
jne 0x14008a031
movups xmm0, xmmword [str.gJIH]
movups xmmword [rbp + 7], xmm0
movzx eax, word [0x1400a0b30]
mov word [rbp + 0x17], ax
cmp byte [0x1400a0b31], 0
je 0x140089fb0
xor r8d, r8d
cmp dword [0x1400a9088], 2
jl 0x140089f75
movdqa xmm5, xmmword [0x1400a1020]
movdqa xmm4, xmmword [0x1400a1160]
movdqa xmm6, xmmword [0x1400a1050]
movdqa xmm0, xmmword [0x1400a1080]
movdqa xmmword [rbp - 9], xmm0
lea rcx, [rbp + 0xb]
mov edx, dword [rbp - 9]
nop
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400a1060]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400a1060]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x140089e70
cmp r8d, 0x12
jge 0x140089fb0
movsxd rax, r8d
lea r9, [rbp + 7]
add r9, rax
nop
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x12
jl 0x140089f80
lea rax, [rbp + 7]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140089fb4
mov rax, qword [rbp + 0x37]
cmp rdi, rax
ja 0x14008a021
lea rbx, [rbp + 0x1f]
cmp rax, 0xf
cmova rbx, qword [rbp + 0x1f]
mov qword [rbp + 0x2f], rdi
mov r8, rdi
lea rdx, [rbp + 7]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], 0
jmp 0x14008a031
inc rbx
cmp byte [r9 + rbx], 0
jne 0x140089ff0
lea rcx, [rbp + 0x1f]
cmp rbx, 0xf
ja 0x140089dfe
mov qword [rbp + 0x2f], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rbp + rbx + 0x1f], 0
jmp 0x140089e06
lea r9, [rbp + 7]
mov rdx, rdi
lea rcx, [rbp + 0x1f]
call fcn.1400843c0
mov dword [rbp - 9], 0x42fa0000
mov dword [rbp - 5], 0x41a00000
lea rcx, [rbp + 0x1f]
cmp qword [rbp + 0x37], 0xf
cmova rcx, qword [rbp + 0x1f]
lea rdx, [rbp - 9]
call fcn.140074dc0
test al, al
je 0x14008a080
test esi, esi
jne 0x14008a080
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [0x140089cb0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rbp + 0x37]
cmp rdx, 0xf
jbe 0x14008a0be
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008a0b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008a0b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140090fc0
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140090b70
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret