Function at 0x14005ee80
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
mov rax, qword [0x140439348]
xor rax, rsp
mov qword [rbp + 7], rax
movsd xmm0, qword [str.uZPrHZ2_:D]
movsd qword [rbp - 0x31], xmm0
mov eax, dword [0x1400dfbd0]
mov dword [rbp - 0x29], eax
movzx eax, byte [0x1400dfbd4]
mov byte [rbp - 0x25], al
xor r15d, r15d
mov r8d, r15d
lea r12d, [r15 + 5]
lea r11d, [r15 + 0x1f]
mov r10d, dword [reloc.WS2_32.dll_accept]
cmp r10d, 2
jl 0x14005f004
movdqa xmm4, xmmword [0x1400e0550]
movd xmm6, r12d
movd xmm5, r11d
movdqa xmm2, xmmword [0x1400ddc80]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400e0290]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400e02c0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400e0480]
movd xmm0, dword [str.uZPrHZ2_:D]
xorps xmm2, xmm0
movd dword [rbp - 0x31], xmm2
movdqa xmm3, xmmword [0x1400e0280]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400e0290]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400e02c0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400e0480]
movd xmm0, dword [rbp - 0x2d]
xorps xmm2, xmm0
movd dword [rbp - 0x2d], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x31]
add r9, rax
nop
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xd
jl 0x14005f010
movups xmm0, xmmword [str.uZPrHZ2_:_a_4_I]
movups xmmword [rbp - 0x21], xmm0
movzx eax, word [0x1400dfbc0]
mov word [rbp - 0x11], ax
cmp byte [0x1400dfbc1], r15b
je 0x14005f1f0
mov ecx, r15d
cmp r10d, 2
jl 0x14005f1b8
movdqa xmm5, xmmword [0x1400ddc80]
movdqa xmm4, xmmword [0x1400e0550]
movd xmm6, r12d
movdqa xmm7, xmmword [0x1400e0290]
movd xmm8, r11d
movdqa xmm0, xmmword [0x1400e0480]
movdqa xmmword [rbp - 9], xmm0
lea rdx, [rbp - 0x1d]
mov r8d, dword [rbp - 9]
nop word [rax + rax]
movd xmm2, ecx
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
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
andps xmm2, xmmword [0x1400e02c0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 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
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
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400e02c0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x10
jl 0x14005f0b0
cmp ecx, 0x12
jge 0x14005f1f0
movsxd rax, ecx
lea r8, [rbp - 0x21]
add r8, rax
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, cl
sub al, dl
add al, 0x38
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x12
jl 0x14005f1c2
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
lea rdi, [rbp + 0x5f]
movabs r14, 0xff00ff00ff00ff00
mov qword [rbp - 0x41], r14
mov qword [rbp - 0x39], rdi
mov rbx, qword [rdi]
mov rax, rbx
xor rax, r14
mov qword [rbp - 0x49], rax
mov qword [rdi], r15
mov rax, qword [0x140439e68]
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x21]
call rax
nop
mov qword [rdi], rbx
mov qword [0x140439d50], rax
test rax, rax
jne 0x14005f25b
lea r9d, [rax + 2]
xor r8d, r8d
lea rdx, str.Medal_Not_Found
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor al, al
jmp 0x14005f363
movdqa xmm0, xmmword [0x1400e0260]
movdqu xmmword [rbp - 9], xmm0
lea rdx, [rbp - 9]
mov rcx, rax
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
lea rcx, [rbp + 0x5f]
mov qword [rbp - 0x41], r14
mov qword [rbp - 0x39], rcx
mov rdi, qword [rcx]
mov rax, rdi
xor rax, r14
mov qword [rbp - 0x49], rax
mov qword [rcx], r15
mov rax, qword [0x140439e60]
mov ecx, 1
call rax
mov ebx, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
lea rsi, [rbp + 0x5f]
mov qword [rbp - 0x41], r14
mov qword [rbp - 0x39], rsi
mov rcx, rdi
xor rcx, r14
mov qword [rbp - 0x49], rcx
mov qword [rsi], r15
mov rax, qword [0x140439e60]
xor ecx, ecx
call rax
mov edx, eax
mov qword [rsi], rdi
mov rcx, qword [0x140439d50]
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
lea rsi, [rbp + 0x5f]
mov qword [rbp - 0x41], r14
mov qword [rbp - 0x39], rsi
mov rax, rdi
xor rax, r14
mov qword [rbp - 0x49], rax
mov qword [rsi], r15
mov dword [rsp + 0x30], 0x40
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], edx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [0x140439eb0]
nop
mov qword [rsi], rdi
mov rcx, qword [0x140439d50]
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
lea rbx, [rbp + 0x5f]
mov qword [rbp - 0x41], r14
mov qword [rbp - 0x39], rbx
mov rax, rdi
xor rax, r14
mov qword [rbp - 0x49], rax
mov qword [rbx], r15
mov edx, r12d
call qword [0x140439eb8]
nop
mov qword [rbx], rdi
mov rcx, qword [0x140439d50]
call fcn.140061260
mov al, 1
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1400d22b0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret