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

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
movaps xmmword [rsp + 0xb0], xmm6
mov ecx, 0x1388
mov eax, dword [0x18014adc0]
cmp eax, 0x10
je 0x18005c8dd
cmp eax, 0x12
jl 0x18005c8e2
movsd xmm0, qword [0x18012eca0]
comisd xmm0, xmmword [0x18014adb8]
jbe 0x18005c8e2
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x18014aea0], 0
jne 0x18005cb32
movups xmm0, xmmword [str.wGWYQLWm_r]
movups xmmword [rbp + 7], xmm0
movups xmm1, xmmword [0x180124100]
movups xmmword [rbp + 0x17], xmm1
movups xmm0, xmmword [str.t1__9_622:7]
movups xmmword [rbp + 0x27], xmm0
mov eax, dword [0x180124120]
mov dword [rbp + 0x37], eax
movzx eax, word [0x180124124]
mov word [rbp + 0x3b], ax
xor r8d, r8d
cmp dword [0x180149018], 2
jl 0x18005ca77
movdqa xmm5, xmmword [0x18012ef90]
movdqa xmm4, xmmword [0x18012f130]
movdqa xmm6, xmmword [0x18012efc0]
movdqa xmm0, xmmword [0x18012f090]
movdqa xmmword [rbp - 0x39], xmm0
lea rcx, [rbp + 0xb]
mov edx, dword [rbp - 0x39]
nop word [rax + rax]
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 [0x18012f070]
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 [0x18012f070]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
mov eax, r8d
lea rcx, [rcx + 8]
cmp r8d, 0x30
jl 0x18005c970
cmp eax, 0x36
jge 0x18005cac0
movsxd rax, r8d
lea r9, [rbp + 7]
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, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x36
jl 0x18005ca90
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 0x18005cae0
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x19]
call fcn.180016150
nop
mov byte [rbp + 0x67], 0
mov dword [rbp + 0x6f], 1
lea rax, [rbp + 0x67]
mov qword [rsp + 0x28], rax
lea rax, [0x18014bfd8]
mov qword [rsp + 0x20], rax
lea r9, [0x18014bfc8]
lea r8, [rbp - 0x19]
lea rdx, [rbp + 0x6f]
call fcn.180028480
nop
jmp 0x18005cc2c
cmp byte [0x1801490c0], 0
je 0x18005cbd1
call fcn.1800ab780
test al, al
je 0x18005cb81
xor r8d, r8d
mov qword [rsp + 0x28], r8
mov dword [rsp + 0x20], r8d
xor r9d, r9d
lea r8, [0x1800acea0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.18005bb20
mov al, 1
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc0
pop rbp
ret
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x29], xmm1
mov r8d, 0x3c
lea rdx, str.Hooking_wasnt_successful._In_Game_wont_likely_be_possible_
lea rcx, [rbp - 0x39]
call fcn.180016150
nop
lea rdx, [rbp - 0x39]
cmp qword [rbp - 0x21], 0xf
cmova rdx, qword [rbp - 0x39]
mov r9d, 0x10010
lea r8, str.CraniumV1
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
lea rcx, [rbp - 0x39]
jmp 0x18005cc30
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.180016150
nop
mov byte [rbp + 0x67], 0
mov dword [rbp + 0x6f], 3
lea rax, [rbp + 0x67]
mov qword [rsp + 0x28], rax
lea rax, [0x18014bfd8]
mov qword [rsp + 0x20], rax
lea r9, [0x18014bfc8]
lea r8, [rbp - 0x19]
lea rdx, [rbp + 0x6f]
call fcn.180028480
nop
lea rcx, [rbp - 0x19]
call fcn.18002d3d0
mov al, 1
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc0
pop rbp
ret