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

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
movaps xmmword [rsp + 0x90], xmm6
mov ecx, 0x1388
mov eax, dword [0x180149de0]
cmp eax, 0x10
je 0x18005bedd
cmp eax, 0x12
jl 0x18005bee2
movsd xmm0, qword [0x18012de00]
comisd xmm0, xmmword [0x180149dd8]
jbe 0x18005bee2
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x180149eb9], 0
jne 0x18005c112
movups xmm0, xmmword [str.sCS____a_t]
movups xmmword [rbp + 7], xmm0
movups xmm1, xmmword [0x180123320]
movups xmmword [rbp + 0x17], xmm1
movups xmm0, xmmword [0x180123330]
movups xmmword [rbp + 0x27], xmm0
mov eax, dword [0x180123340]
mov dword [rbp + 0x37], eax
movzx eax, word [0x180123344]
mov word [rbp + 0x3b], ax
xor r8d, r8d
cmp dword [0x180148090], 2
jl 0x18005c057
movdqa xmm4, xmmword [0x18012e100]
movdqa xmm3, xmmword [0x18012e5f0]
movdqa xmm5, xmmword [str.555566668888]
movdqa xmm0, xmmword [0x18012e230]
movdqa xmmword [rbp - 0x19], xmm0
lea rcx, [rbp + 0xb]
movdqa xmm6, xmmword [0x18012e1e0]
mov edx, dword [rbp - 0x19]
nop
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
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 xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
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, 0x30
jl 0x18005bf70
cmp r8d, 0x36
jge 0x18005c0a0
movsxd rax, r8d
lea r9, [rbp + 7]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x36
jl 0x18005c070
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
lea rax, [rbp + 7]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18005c0c0
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x19]
call fcn.180016750
nop
mov byte [rbp + 0x67], 0
mov dword [rbp + 0x6f], 1
lea rax, [rbp + 0x67]
mov qword [rsp + 0x28], rax
lea rax, [0x18014aff8]
mov qword [rsp + 0x20], rax
lea r9, [0x18014afe8]
lea r8, [rbp - 0x19]
lea rdx, [rbp + 0x6f]
call fcn.1800288e0
nop
jmp 0x18005c208
cmp byte [0x1801480e0], 0
je 0x18005c1ad
call fcn.1800aa1e0
test al, al
je 0x18005c161
xor r8d, r8d
mov qword [rsp + 0x28], r8
mov dword [rsp + 0x20], r8d
xor r9d, r9d
lea r8, [0x1800ab8d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.18005b120
mov al, 1
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rbp
ret
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
mov r8d, 0x3c
lea rdx, str.Hooking_wasnt_successful._In_Game_wont_likely_be_possible_
lea rcx, [rbp - 0x19]
call fcn.180016750
nop
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 0xf
cmova rdx, qword [rbp - 0x19]
mov r9d, 0x10010
lea r8, str.CraniumV1
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
jmp 0x18005c208
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
mov r8d, 0x23
lea rdx, str.Hooking_disabled_via_CraniumConfig_
lea rcx, [rbp - 0x19]
call fcn.180016750
nop
mov byte [rbp + 0x67], 0
mov dword [rbp + 0x6f], 3
lea rax, [rbp + 0x67]
mov qword [rsp + 0x28], rax
lea rax, [0x18014aff8]
mov qword [rsp + 0x20], rax
lea r9, [0x18014afe8]
lea r8, [rbp - 0x19]
lea rdx, [rbp + 0x6f]
call fcn.1800288e0
nop
lea rcx, [rbp - 0x19]
call fcn.18002d710
mov al, 1
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rbp
ret