Function at 0x1800076f0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
movaps xmmword [rax - 0x28], xmm6
xor ebx, ebx
mov r15, rcx
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
cmp byte [rcx], bl
je 0x180007929
cmp dword [0x18027a1a0], 2
movups xmm0, xmmword [0x18019d008]
movzx eax, word [0x18019d030]
mov r10, qword [0x18027a018]
movups xmm1, xmmword [0x18019d018]
mov r8d, dword [r10 + 0x2c]
movups xmmword [rbp - 0x29], xmm0
mov word [rbp - 1], ax
movsd xmm0, qword [0x18019d028]
movzx eax, byte [0x18019d032]
movsd qword [rbp - 9], xmm0
mov byte [rbp + 1], al
movups xmmword [rbp - 0x19], xmm1
jl 0x1800078c8
movdqa xmm0, xmmword [str.9999999999999999]
lea rcx, [rbp - 0x25]
movdqa xmm5, xmmword [0x1800d1c60]
mov edi, 5
movdqa xmm4, xmmword [0x18019d100]
mov esi, 0x1f
movdqa xmm7, xmmword [str.8888]
movdqa xmmword [rbp - 0x49], xmm0
mov edx, dword [rbp - 0x49]
movd xmm6, edi
movd xmm8, esi
nop dword [rax]
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800d1c90]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800d1c90]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x28
jl 0x1800077c0
cmp ebx, 0x2b
jge 0x18000790f
movsxd rax, ebx
lea r9, [rbp - 0x29]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x92492493
lea r9, [r9 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, bl
inc ebx
sub al, cl
add al, 0x39
xor byte [r9 - 1], al
cmp ebx, 0x2b
jl 0x1800078e0
lea r9, str.achat::Game::Init
mov rcx, r10
lea rdx, [rbp - 0x29]
call fcn.1800030f0
xor al, al
jmp 0x180007eca
movups xmm1, xmmword [0x18019d048]
mov edi, 5
mov qword [rsp + 0xd0], r14
movups xmm0, xmmword [str.JN_Pa0_twj_H]
mov r14d, dword [0x18027a1a0]
pextrw eax, xmm1, 7
movups xmmword [rbp - 0x49], xmm0
lea esi, [rdi + 0x1a]
movups xmmword [rbp - 0x39], xmm1
test ax, ax
je 0x180007ae8
cmp r14d, 2
jl 0x180007aa7
movdqa xmm5, xmmword [0x1800d1c60]
lea rcx, [rbp - 0x49]
movdqa xmm4, xmmword [0x18019d100]
mov edx, ebx
movdqa xmm7, xmmword [str.8888]
movaps xmmword [rsp + 0x70], xmm9
movdqa xmm9, xmmword [0x18019d0f0]
movd xmm6, edi
movd xmm8, esi
nop dword [rax]
nop dword [rax + rax]
movd xmm2, edx
lea eax, [rdx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add edx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp edx, 0x10
jl 0x1800079b0
movaps xmm9, xmmword [rsp + 0x70]
jmp 0x180007ae8
lea r9, [rbp - 0x49]
mov r8d, ebx
nop
mov eax, 0x92492493
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x38
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x39
xor word [r9 - 2], ax
cmp r8d, 0x10
jl 0x180007ab0
lea rcx, [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r10, qword [0x18027a018]
mov r8d, dword [r10 + 0x10]
test rax, rax
je 0x180007cd7
mov eax, dword [0x18019d068]
mov dword [rbp - 0x19], eax
movzx eax, byte [0x18019d06c]
mov byte [rbp - 0x15], al
movups xmm0, xmmword [0x18019d058]
movups xmmword [rbp - 0x29], xmm0
cmp r14d, 2
jl 0x180007c78
movdqa xmm0, xmmword [str.9999999999999999]
lea rcx, [rbp - 0x25]
movdqa xmm5, xmmword [0x1800d1c60]
movdqa xmm4, xmmword [0x18019d100]
movdqa xmm7, xmmword [str.8888]
movdqa xmmword [rbp - 0x49], xmm0
mov edx, dword [rbp - 0x49]
movd xmm6, edi
movd xmm8, esi
nop dword [rax]
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800d1c90]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800d1c90]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x180007b70
cmp ebx, 0x15
jge 0x180007cbf
movsxd rax, ebx
lea r9, [rbp - 0x29]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x92492493
lea r9, [r9 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, bl
inc ebx
sub al, cl
add al, 0x39
xor byte [r9 - 1], al
cmp ebx, 0x15
jl 0x180007c90
lea r9, str.achat::Game::Init
mov rcx, r10
lea rdx, [rbp - 0x29]
call fcn.1800030f0
jmp 0x180007ebc
cmp byte [0x18019d089], bl
movups xmm0, xmmword [0x18019d070]
movzx eax, word [0x18019d088]
mov word [rbp - 0x11], ax
movups xmmword [rbp - 0x29], xmm0
movsd xmm0, qword [0x18019d080]
movsd qword [rbp - 0x19], xmm0
je 0x180007e9f
cmp r14d, 2
jl 0x180007e58
movdqa xmm0, xmmword [str.9999999999999999]
lea rcx, [rbp - 0x25]
movdqa xmm5, xmmword [0x1800d1c60]
movdqa xmm4, xmmword [0x18019d100]
movdqa xmm7, xmmword [str.8888]
movdqa xmmword [rbp - 0x49], xmm0
mov edx, dword [rbp - 0x49]
movd xmm6, edi
movd xmm8, esi
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800d1c90]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800d1c90]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x18
jl 0x180007d50
cmp ebx, 0x1a
jge 0x180007e9f
movsxd rax, ebx
lea r9, [rbp - 0x29]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x92492493
lea r9, [r9 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, bl
inc ebx
sub al, cl
add al, 0x39
xor byte [r9 - 1], al
cmp ebx, 0x1a
jl 0x180007e70
lea r9, str.achat::Game::Init
mov rcx, r10
lea rdx, [rbp - 0x29]
call fcn.1800030f0
mov dword [0x18027a640], 1
mov r14, qword [rsp + 0xd0]
mov al, 1
mov byte [r15], 1
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret