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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1400ddbc0]
xor rax, rsp
mov qword [rbp - 8], rax
mov esi, r8d
mov r14, rdx
xor r9d, r9d
cmp ecx, 0x7b
ja 0x14004384f
movsxd rax, ecx
lea r9, str.Keybind
mov r9, qword [r9 + rax*8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
mov rdi, 0xffffffffffffffff
mov rbx, rdi
test r9, r9
jne 0x140043ad0
movsd xmm0, qword [str.gPZR_M]
movsd qword [rbp - 0x38], xmm0
movzx ecx, word [0x1400b9450]
mov word [rbp - 0x30], cx
movzx eax, byte [0x1400b9452]
mov byte [rbp - 0x38], 0x53
xor byte [rbp - 0x37], 0x35
xor byte [rbp - 0x36], 0x36
xor byte [rbp - 0x35], 0x37
xor byte [rbp - 0x34], 0x38
xor byte [rbp - 0x33], 0x39
xor byte [rbp - 0x32], 0x3a
xor byte [rbp - 0x31], 0x3b
xor cl, 0x3c
mov byte [rbp - 0x30], cl
xor byte [rbp - 0x2f], 0x3d
xor al, 0x3e
mov byte [rbp - 0x2e], al
lea rax, [rbp - 0x38]
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400438d0
lea rcx, [rbp - 0x28]
cmp rbx, 0xf
ja 0x1400438fa
mov qword [rbp - 0x18], rbx
mov r8, rbx
lea rdx, [rbp - 0x38]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rbx - 0x28], 0
jmp 0x14004390b
lea r9, [rbp - 0x38]
movzx r8d, byte [rbp - 0x40]
mov rdx, rbx
call fcn.140041450
cmp esi, 1
jne 0x140043b16
movsd xmm0, qword [str.dGSDK]
movsd qword [rbp - 0x38], xmm0
mov eax, dword [0x1400b9460]
mov dword [rbp - 0x30], eax
movzx eax, word [0x1400b9464]
mov word [rbp - 0x2c], ax
cmp byte [0x1400b9465], 0
je 0x140043a8f
xor r8d, r8d
cmp dword [0x1400ddc10], 2
jl 0x140043a4b
movdqa xmm4, xmmword [0x1400ba420]
movdqa xmm2, xmmword [0x1400680c0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400ba3e0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400ba410]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400ba480]
movd xmm0, dword [str.dGSDK]
xorps xmm2, xmm0
movd dword [rbp - 0x38], xmm2
movdqa xmm3, xmmword [0x1400ba3d0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400ba3e0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400ba410]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400ba480]
movd xmm0, dword [rbp - 0x34]
xorps xmm2, xmm0
movd dword [rbp - 0x34], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x38]
add r9, rax
nop word [rax + rax]
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xe
jl 0x140043a60
lea rax, [rbp - 0x38]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140043a93
mov rax, qword [rbp - 0x10]
cmp rdi, rax
ja 0x140043b01
lea rbx, [rbp - 0x28]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x28]
mov qword [rbp - 0x18], rdi
mov r8, rdi
lea rdx, [rbp - 0x38]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], 0
jmp 0x140043b16
inc rbx
cmp byte [r9 + rbx], 0
jne 0x140043ad0
lea rcx, [rbp - 0x28]
cmp rbx, 0xf
ja 0x1400438fe
mov qword [rbp - 0x18], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rbp + rbx - 0x28], 0
jmp 0x14004390b
lea r9, [rbp - 0x38]
movzx r8d, byte [rbp - 0x40]
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.140041450
mov dword [rbp - 0x38], 0x431b0000
mov dword [rbp - 0x34], 0x42200000
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rcx, qword [rbp - 0x28]
lea rdx, [rbp - 0x38]
call fcn.140036f20
test al, al
je 0x140043b61
test esi, esi
jne 0x140043b61
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8, r14
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x140043b9f
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043b9a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140043b9a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005e284
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14005e3a0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret