Function at 0x1400054d0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x140011010]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rcx
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x14000551e
imul rax, rax, 0x64
jmp 0x140005539
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
mov rcx, qword [rdi + 0xc8]
sub rcx, rax
movabs rax, 0x112e0be826d694b3
imul rcx
mov rbx, rdx
sar rbx, 0x1a
mov rax, rbx
shr rax, 0x3f
add rbx, rax
mov qword [rbp - 0x39], rbx
lea r8, [rbp - 0x39]
lea rdx, [rbp - 9]
call fcn.140005380
nop
test rbx, rbx
jg 0x1400057b8
movsd xmm0, qword [str.bUHeOIQO0_bD]
movsd qword [rbp - 0x39], xmm0
mov eax, dword [0x14000e298]
mov dword [rbp - 0x31], eax
movzx eax, word [0x14000e29c]
mov word [rbp - 0x2d], ax
movzx eax, byte [0x14000e29e]
mov byte [rbp - 0x2b], al
xor ecx, ecx
lea esi, [rcx + 1]
cmp dword [0x140011018], 2
jl 0x1400056be
movdqa xmm4, xmmword [0x14000e370]
movd xmm6, esi
mov eax, 0x1f
movd xmm5, eax
movdqa xmm2, xmmword [0x14000e300]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14000e330]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14000e360]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14000e380]
movd xmm0, dword [str.bUHeOIQO0_bD]
pxor xmm2, xmm0
movd dword [rbp - 0x39], xmm2
movdqa xmm3, xmmword [0x14000e310]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14000e330]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14000e360]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14000e380]
movd xmm0, dword [rbp - 0x35]
pxor xmm2, xmm0
movd dword [rbp - 0x35], xmm2
mov ecx, 8
movsxd rax, ecx
lea r8, [rbp - 0x39]
add r8, rax
nop dword [rax + rax]
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
sub al, dl
add al, 0x36
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xf
jl 0x1400056d0
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x29]
call fcn.140002d60
cmp qword [rax + 0x18], 0x10
jb 0x140005712
mov rax, qword [rax]
mov rdx, rax
lea rcx, str.gui::Window::updateTimer
call fcn.140002c70
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x14000575f
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000575a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000575a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400081ec
lea rbx, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rbx, qword [rbp - 9]
mov edx, 0x3e9
mov rcx, qword [rdi + 0x68]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowTextW]
lea rdx, [rbp + 0x17]
mov rcx, qword [rdi + 0x68]
call qword [sym.imp.USER32.dll_GetClientRect]
mov r8d, esi
lea rdx, [rbp + 0x17]
mov rcx, qword [rdi + 0x68]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov edx, 0x3ea
mov rcx, qword [rdi + 0x68]
call qword [sym.imp.USER32.dll_KillTimer]
jmp 0x140005803
lea rbx, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rbx, qword [rbp - 9]
mov edx, 0x3e9
mov rcx, qword [rdi + 0x68]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowTextW]
movdqa xmm0, xmmword [0x14000e340]
movdqu xmmword [rbp + 0x27], xmm0
mov r8d, 1
lea rdx, [rbp + 0x27]
mov rcx, qword [rdi + 0x68]
call qword [sym.imp.USER32.dll_InvalidateRect]
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x140005846
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005841
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005841
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400081ec
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140007ca0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret