Function at 0x14004f240
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 [0x1401e1340]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov esi, r8d
mov r14, rdx
xor r9d, r9d
cmp ecx, 0x7b
ja 0x14004f27f
movsxd rax, ecx
lea r9, str.Keybind
mov r9, qword [r9 + rax*8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x30], 0
mov rdi, 0xffffffffffffffff
mov rbx, rdi
test r9, r9
jne 0x14004f500
movsd xmm0, qword [str.j_WYJ]
movsd qword [rbp - 0x40], xmm0
movzx ecx, word [0x1400ed6c0]
mov word [rbp - 0x38], cx
movzx eax, byte [0x1400ed6c2]
mov byte [rbp - 0x40], 0x53
xor byte [rbp - 0x3f], 0x3a
xor byte [rbp - 0x3e], 0x3b
xor byte [rbp - 0x3d], 0x3c
xor byte [rbp - 0x3c], 0x3d
xor byte [rbp - 0x3b], 0x3e
xor byte [rbp - 0x3a], 0x3f
xor byte [rbp - 0x39], 0x40
xor cl, 0x41
mov byte [rbp - 0x38], cl
xor byte [rbp - 0x37], 0x42
xor al, 0x43
mov byte [rbp - 0x36], al
lea rax, [rbp - 0x40]
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x14004f300
lea rcx, [rbp - 0x30]
cmp rbx, 0xf
ja 0x14004f32a
mov qword [rbp - 0x20], rbx
mov r8, rbx
lea rdx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rbx - 0x30], 0
jmp 0x14004f339
lea r9, [rbp - 0x40]
xor r8d, r8d
mov rdx, rbx
call fcn.14004be20
cmp esi, 1
jne 0x14004f544
movsd xmm0, qword [str.iHON]
movsd qword [rbp - 0x40], xmm0
mov eax, dword [0x1400ed6d0]
mov dword [rbp - 0x38], eax
movzx eax, word [0x1400ed6d4]
mov word [rbp - 0x34], ax
cmp byte [0x1400ed6d5], 0
je 0x14004f4c0
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14004f479
movdqa xmm4, xmmword [0x1400ee210]
movdqa xmm2, xmmword [0x1400cdac0]
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, xmmword [0x1400ee130]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400ee140]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.9999999999999999]
movd xmm0, dword [str.iHON]
xorps xmm2, xmm0
movd dword [rbp - 0x40], xmm2
movdqa xmm3, xmmword [0x1400ee120]
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, xmmword [0x1400ee130]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400ee140]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.9999999999999999]
movd xmm0, dword [rbp - 0x3c]
xorps xmm2, xmm0
movd dword [rbp - 0x3c], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x40]
add r9, rax
nop dword [rax]
nop word [rax + rax]
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, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xe
jl 0x14004f490
lea rax, [rbp - 0x40]
inc rdi
cmp byte [rax + rdi], 0
jne 0x14004f4c4
mov rax, qword [rbp - 0x18]
cmp rdi, rax
ja 0x14004f531
lea rbx, [rbp - 0x30]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x30]
mov qword [rbp - 0x20], rdi
mov r8, rdi
lea rdx, [rbp - 0x40]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], 0
jmp 0x14004f544
inc rbx
cmp byte [r9 + rbx], 0
jne 0x14004f500
lea rcx, [rbp - 0x30]
cmp rbx, 0xf
ja 0x14004f32e
mov qword [rbp - 0x20], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rbp + rbx - 0x30], 0
jmp 0x14004f339
lea r9, [rbp - 0x40]
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.14004be20
mov dword [rbp - 0x40], 0x42a00000
mov dword [rbp - 0x3c], 0x41800000
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rcx, qword [rbp - 0x30]
lea rdx, [rbp - 0x40]
call fcn.14003c230
test al, al
je 0x14004f58f
test esi, esi
jne 0x14004f58f
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 - 0x18]
cmp rdx, 0xf
jbe 0x14004f5cd
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f5c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f5c8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c23dc
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400c2850
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret