Function at 0x180002c80
Capabilities:
Encode data using xor
Set console window title

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rdi
sub rsp, 0x90
cmp byte [rcx + 0x40], 0
mov rdi, rdx
movaps xmmword [rax - 0x18], xmm6
mov rbx, rcx
movaps xmmword [rax - 0x28], xmm7
je 0x180002ed2
movups xmm0, xmmword [0x1800d1c08]
mov rcx, qword [0x18027a018]
xor r9d, r9d
cmp dword [0x18027a1a0], 2
movups xmm1, xmmword [0x1800d1c18]
mov r8d, dword [rcx + 0x2c]
movups xmmword [rax - 0x68], xmm0
movsd xmm0, qword [0x1800d1c28]
movsd qword [rax - 0x48], xmm0
movups xmmword [rax - 0x58], xmm1
movzx eax, word [0x1800d1c30]
mov word [rsp + 0x58], ax
movzx eax, byte [0x1800d1c32]
mov byte [rsp + 0x5a], al
jl 0x180002e5d
movdqa xmm0, xmmword [str.9999999999999999]
lea rdx, [rsp + 0x34]
movdqa xmm5, xmmword [0x1800d1c60]
mov eax, 4
movdqa xmm4, xmmword [0x1800d1cb0]
movdqa xmm7, xmmword [0x1800d1c80]
movdqa xmmword [rsp + 0x20], xmm0
mov r10d, dword [rsp + 0x20]
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [rsp + 0x60], xmm8
movd xmm8, eax
nop word [rax + rax]
movd xmm2, r9d
lea eax, [r9 + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 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 r9d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
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, r10d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
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, r10d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800d1c90]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp r9d, 0x28
jl 0x180002d50
movaps xmm8, xmmword [rsp + 0x60]
cmp r9d, 0x2b
jge 0x180002ea1
movsxd rax, r9d
lea r10, [rsp + 0x30]
add r10, rax
nop dword [rax + rax]
mov eax, 0x5397829d
lea r10, [r10 + 1]
imul r9d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, r9b
inc r9d
sub al, dl
add al, 0x39
xor byte [r10 - 1], al
cmp r9d, 0x2b
jl 0x180002e70
lea r9, str.achat::Console::Init
lea rdx, [rsp + 0x30]
call fcn.1800030f0
xor al, al
mov rbx, qword [rsp + 0xa8]
movaps xmm6, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x70]
add rsp, 0x90
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_AllocConsole]
test eax, eax
je 0x180002eb2
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbx + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov ecx, 1
mov qword [rbx + 0x50], rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp byte [0x1800d1c41], 0
mov r10, rax
movzx ecx, word [0x1800d1c40]
mov word [rsp + 0xa0], cx
je 0x180002f2b
xor byte [rsp + 0xa1], 0x3a
mov byte [rsp + 0xa0], 0x77
cmp byte [0x1800d1c3f], 0
mov rcx, qword [str.zuushje_N:]
mov qword [rsp + 0xb0], rcx
je 0x1800030b1
xor r9d, r9d
cmp dword [0x18027a1a0], 2
jl 0x18000306d
movdqa xmm2, xmmword [0x1800d1c60]
mov eax, 4
movdqa xmm4, xmmword [0x1800d1cb0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1800d1c70]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, eax
mov eax, 0x1f
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movd xmm5, eax
mov eax, dword [str.9999999999999999]
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800d1c80]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800d1c90]
movd xmm1, dword [rsp + 0xb0]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movdqa xmm0, xmm3
xorps xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
movd dword [rsp + 0xb0], xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800d1c80]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800d1c90]
movd xmm1, dword [rsp + 0xb4]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rsp + 0xb4], xmm2
jmp 0x1800030b1
lea r8, [rsp + 0xb0]
nop word [rax + rax]
mov eax, 0x5397829d
lea r8, [r8 + 1]
imul r9d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r9b
inc r9d
sub al, cl
add al, 0x39
xor byte [r8 - 1], al
cmp r9d, 8
jl 0x180003080
lea rcx, [rbx + 0x58]
mov r9, r10
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0xb0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
test eax, eax
je 0x180002eb2
mov byte [rbx + 0x40], 1
mov al, 1
jmp 0x180002eb4