Function at 0x140055d60
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 [0x14014a980]
xor rax, rsp
mov qword [rbp - 8], rax
mov esi, r8d
mov r14, rdx
xor r9d, r9d
cmp ecx, 0x7b
ja 0x140055d9f
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], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x28], 0
mov rdi, 0xffffffffffffffff
mov rbx, rdi
test r9, r9
jne 0x140056020
movsd xmm0, qword [0x1401094f0]
movsd qword [rbp - 0x38], xmm0
movzx ecx, word [0x1401094f8]
mov word [rbp - 0x30], cx
movzx eax, byte [0x1401094fa]
mov byte [rbp - 0x38], 0x53
xor byte [rbp - 0x37], 0x32
xor byte [rbp - 0x36], 0x33
xor byte [rbp - 0x35], 0x34
xor byte [rbp - 0x34], 0x35
xor byte [rbp - 0x33], 0x36
xor byte [rbp - 0x32], 0x37
xor byte [rbp - 0x31], 0x38
xor cl, 0x39
mov byte [rbp - 0x30], cl
xor byte [rbp - 0x2f], 0x3a
xor al, 0x3b
mov byte [rbp - 0x2e], al
lea rax, [rbp - 0x38]
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x140055e20
lea rcx, [rbp - 0x28]
cmp rbx, 0xf
ja 0x140055e4a
mov qword [rbp - 0x18], rbx
mov r8, rbx
lea rdx, [rbp - 0x38]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rbx - 0x28], 0
jmp 0x140055e5b
lea r9, [rbp - 0x38]
movzx r8d, byte [rbp - 0x40]
mov rdx, rbx
call fcn.14004d400
cmp esi, 1
jne 0x140056066
movsd xmm0, qword [str.a_VGF]
movsd qword [rbp - 0x38], xmm0
mov eax, dword [0x140109508]
mov dword [rbp - 0x30], eax
movzx eax, word [0x14010950c]
mov word [rbp - 0x2c], ax
cmp byte [0x14010950d], 0
je 0x140055fe0
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140055f9b
movdqa xmm4, xmmword [0x14010a880]
movdqa xmm2, xmmword [0x1400d6ad0]
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 [str.2222HKRC_NGO]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14010a810]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.1111111111111111]
movd xmm0, dword [str.a_VGF]
xorps xmm2, xmm0
movd dword [rbp - 0x38], xmm2
movdqa xmm3, xmmword [0x14010a770]
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 [str.2222HKRC_NGO]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14010a810]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.1111111111111111]
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, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xe
jl 0x140055fb0
lea rax, [rbp - 0x38]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140055fe4
mov rax, qword [rbp - 0x10]
cmp rdi, rax
ja 0x140056051
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 0x140056066
inc rbx
cmp byte [r9 + rbx], 0
jne 0x140056020
lea rcx, [rbp - 0x28]
cmp rbx, 0xf
ja 0x140055e4e
mov qword [rbp - 0x18], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rbp + rbx - 0x28], 0
jmp 0x140055e5b
lea r9, [rbp - 0x38]
movzx r8d, byte [rbp - 0x40]
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.14004d400
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.14003e2a0
test al, al
je 0x1400560b1
test esi, esi
jne 0x1400560b1
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 0x1400560ef
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400560ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400560ea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cb890
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400cbc90
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret