Function at 0x1400512d0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xd8]
sub rsp, 0x1b0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
movaps xmmword [rax - 0xb8], xmm14
movaps xmmword [rax - 0xc8], xmm15
mov rax, qword [0x1400a6040]
xor rax, rsp
mov qword [rbp + 8], rax
mov rsi, qword [0x1400a8e30]
mov qword [rbp - 0x60], rsi
test rsi, rsi
jne 0x140051377
mov r8d, 0xb3d
lea rdx, str.C:UsersAdministratorDesktopkursk_updated_externalImguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___or_ImGui::SetCurrentContext____
call fcn.140067e4c
mov rsi, qword [0x1400a8e30]
mov qword [rbp - 0x60], rsi
movss xmm0, dword [rsi + 0x1554]
movss dword [rsp + 0x60], xmm0
movss xmm0, dword [rsi + 0x1558]
movss dword [rsp + 0x64], xmm0
movss xmm0, dword [rsi + 0x161c]
movss dword [rsp + 0x68], xmm0
xor edi, edi
mov qword [rsi + 0x1554], rdi
mov dword [rsi + 0x161c], 0x3f800000
movss xmm7, dword [0x140095f44]
mov rax, qword [0x140095930]
mov qword [rsp + 0x40], rax
cmp byte [str.7_n_RPTDDL_V_], dil
je 0x140051512
mov r8d, edi
cmp dword [0x1400a6090], 2
jl 0x1400514cd
movdqa xmm4, xmmword [0x140096490]
movdqa xmm2, xmmword [0x1400960c0]
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, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.9999]
psubd xmm2, xmm0
andps xmm2, xmmword [0x140096120]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140096130]
movd xmm0, dword [rsp + 0x40]
xorps xmm2, xmm0
movd dword [rsp + 0x40], xmm2
movdqa xmm2, xmmword [0x1400960d0]
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, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.9999]
psubd xmm2, xmm0
andps xmm2, xmmword [0x140096120]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140096130]
movd xmm0, dword [rsp + 0x44]
xorps xmm2, xmm0
movd dword [rsp + 0x44], xmm2
jmp 0x140051512
lea r9, [rsp + 0x40]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x1f7047dd
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x1400514e0
movaps xmm0, xmm7
unpcklps xmm0, xmm7
movsd qword [rsi + 0x1af4], xmm0
mov dword [rsi + 0x1acc], 4
mov dword [rsi + 0x1b28], 0x3ecccccd
mov dword [rsi + 0x1ae0], 1
mov r8d, 0x20
lea rdx, [0x1400a8e2e]
lea rcx, [rsp + 0x40]
call fcn.14000aaa0
mov rcx, qword [0x1400a8e30]
mov rax, qword [rcx + 0x19f8]
movss xmm10, dword [rax + 0x18]
movss dword [rsp + 0x50], xmm10
movss xmm11, dword [rax + 0x1c]
movss dword [rsp + 0x5c], xmm11
movss xmm8, dword [rax + 0x10]
movss dword [rsp + 0x48], xmm8
movss xmm9, dword [rax + 0x14]
movss dword [rsp + 0x4c], xmm9
mov byte [rax + 0x7c], 1
mov rax, qword [rcx + 0x19f8]
mov r13, qword [rax + 0x2a0]
movaps xmm0, xmm9
addss xmm0, xmm11
movaps xmm1, xmm10
mulss xmm1, dword [0x140095e10]
addss xmm1, xmm8
movss dword [rsp + 0x40], xmm1
movss dword [rsp + 0x44], xmm0
movaps xmm0, xmm9
xorps xmm13, xmm13
addss xmm0, xmm13
movss dword [rsp + 0x54], xmm1
movss dword [rsp + 0x58], xmm0
movss xmm7, dword [0x140095e54]
movss dword [rsp + 0x20], xmm7
mov r9d, 0xff000000
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x54]
mov rcx, r13
call fcn.140021880
movaps xmm2, xmm11
mulss xmm2, dword [0x140095e10]
addss xmm2, xmm9
movaps xmm0, xmm8
addss xmm0, xmm10
movss dword [rsp + 0x54], xmm0
movss dword [rsp + 0x58], xmm2
movaps xmm1, xmm8
addss xmm1, xmm13
movss dword [rsp + 0x40], xmm1
movss dword [rsp + 0x44], xmm2
movss dword [rsp + 0x20], xmm7
mov r9d, 0xff000000
lea r8, [rsp + 0x54]
lea rdx, [rsp + 0x40]
mov rcx, r13
call fcn.140021880
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
mov qword [rbp - 0x48], rdi
mov rcx, qword [0x1400aa3e0]
sub rcx, qword [0x1400aa3d8]
movabs r14, 0x2aaaaaaaaaaaaaab
mov rax, r14
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, rdi
mov qword [rsp + 0x40], rax
mov rcx, rdi
mov qword [rbp - 0x68], rcx
je 0x14005171d
movabs rax, 0x555555555555555
cmp rdx, rax
ja 0x140051c67
lea rcx, [rbp - 0x58]
call fcn.140053a50
mov rbx, qword [0x1400aa3e0]
mov rdx, qword [0x1400aa3d8]
sub rbx, rdx
mov r8, rbx
mov rdi, qword [rbp - 0x58]
mov qword [rsp + 0x40], rdi
mov rcx, rdi
call fcn.140080360
mov rax, r14
imul rbx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rcx, [rdx + rdx*2]
shl rcx, 4
add rcx, rdi
mov qword [rbp - 0x68], rcx
mov qword [rbp - 0x50], rcx
mov rax, rdi
xor edi, edi
cmp rax, rcx
je 0x140051bca
xorps xmm12, xmm12
movss xmm14, dword [0x140095eec]
movss xmm15, dword [0x140095e40]
movsd xmm11, qword [0x140095e88]
nop word [rax + rax]
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rbp - 8], xmm1
mov rcx, qword [rax]
add rcx, 0x1b0
call fcn.1400532a0
mov rbx, rax
test rax, rax
je 0x140051bae
movups xmmword [rbp - 0x38], xmm12
movsd qword [rbp - 0x40], xmm12
mov dword [rbp - 6], edi
mov word [rbp - 2], di
call fcn.1400531f0
xor eax, 0x7f1e8b
mov dword [rbp - 0x28], eax
lea rax, [rbx + 0x120]
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x40]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], 0x18
mov eax, dword [0x1400aa8e8]
mov dword [rbp - 0x24], eax
mov word [rbp - 8], 0x100
call fcn.1400531f0
or eax, 0x88000
shl eax, 2
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
mov r9d, 0x28
lea r8, [rbp - 0x28]
mov edx, eax
mov rcx, qword [0x1400aa8f0]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
movsd xmm1, qword [rbp - 0x38]
movsd xmm2, qword [rbp - 0x40]
ucomisd xmm2, xmm12
jp 0x14005182b
jne 0x14005182b
ucomisd xmm1, xmm12
jp 0x14005182b
jne 0x14005182b
movsd xmm0, qword [rbp - 0x30]
ucomisd xmm0, xmm12
jp 0x14005182b
je 0x140051bae
cvttss2si r15d, dword [rsp + 0x5c]
cvttss2si esi, xmm10
cvttss2si r12d, xmm9
cvttss2si r14d, xmm8
subsd xmm1, qword [0x1400aa450]
xorps xmm1, xmmword [0x140096470]
cvtsd2ss xmm1, xmm1
subsd xmm2, qword [0x1400aa448]
cvtpd2ps xmm10, xmm2
movss xmm0, dword [0x1400a8e48]
subss xmm0, dword [0x140095f28]
mulss xmm0, dword [0x140095dd8]
mov eax, esi
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
mov eax, r15d
cdq
sub eax, edx
sar eax, 1
mov edi, eax
cvtps2pd xmm7, xmm0
xorps xmm8, xmm8
cvtss2sd xmm8, xmm1
movaps xmm0, xmm7
call fcn.14007a8d0
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
mulss xmm1, xmm10
cvtps2pd xmm6, xmm1
movaps xmm0, xmm7
call fcn.14007cc20
mulsd xmm0, xmm8
subsd xmm6, xmm0
cvtpd2ps xmm9, xmm6
divss xmm9, dword [0x140095f14]
movaps xmm0, xmm7
call fcn.14007cc20
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
mulss xmm1, xmm10
cvtps2pd xmm6, xmm1
movaps xmm0, xmm7
call fcn.14007a8d0
mulsd xmm0, xmm8
addsd xmm6, xmm0
cvtpd2ps xmm3, xmm6
divss xmm3, dword [0x140095f14]
lea eax, [rsi - 5]
xorps xmm4, xmm4
cvtsi2ss xmm4, eax
addss xmm9, xmm9
xorps xmm0, xmm0
cvtsi2ss xmm0, ebx
addss xmm9, xmm0
movss xmm6, dword [0x140095ee4]
movaps xmm1, xmm6
maxss xmm1, xmm9
minss xmm4, xmm1
xorps xmm0, xmm0
cvtsi2ss xmm0, r14d
addss xmm4, xmm0
lea eax, [r15 - 5]
xorps xmm2, xmm2
cvtsi2ss xmm2, eax
addss xmm3, xmm3
xorps xmm0, xmm0
cvtsi2ss xmm0, edi
addss xmm3, xmm0
movaps xmm1, xmm6
maxss xmm1, xmm3
minss xmm2, xmm1
xorps xmm0, xmm0
cvtsi2ss xmm0, r12d
addss xmm2, xmm0
cvtps2pd xmm5, xmm4
cvtps2pd xmm3, xmm2
mov ecx, dword [0x1400a8eb4]
test ecx, ecx
je 0x140051b2d
sub ecx, 1
je 0x140051ac3
sub ecx, 1
je 0x140051a2a
cmp ecx, 1
jne 0x140051b97
cvtpd2ps xmm1, xmm3
cvtpd2ps xmm0, xmm5
movss dword [rsp + 0x54], xmm0
movss dword [rsp + 0x58], xmm1
mov dword [rsp + 0x28], 0xc
movss dword [rsp + 0x20], xmm14
movaps xmm3, xmm13
movss xmm2, dword [0x140095ee0]
lea rdx, [rsp + 0x54]
mov rcx, r13
call fcn.1400212f0
mov r9d, 0xffffffff
mov r8d, dword [r13 + 0x80]
mov rdx, qword [r13 + 0x88]
mov rcx, r13
call fcn.140020aa0
mov ecx, dword [r13 + 0x84]
xor edi, edi
test ecx, ecx
jns 0x140051a1e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov edx, edi
test eax, eax
cmovg edx, eax
lea rcx, [r13 + 0x80]
call fcn.140016380
mov dword [r13 + 0x80], edi
jmp 0x140051b99
cvtpd2ps xmm1, xmm3
cvtpd2ps xmm0, xmm5
movss dword [rsp + 0x6c], xmm0
movss dword [rsp + 0x70], xmm1
mov dword [rsp + 0x28], 0xc
movss dword [rsp + 0x20], xmm14
movaps xmm3, xmm13
movss xmm2, dword [0x140095ec8]
lea rdx, [rsp + 0x6c]
mov rcx, r13
call fcn.1400212f0
movss dword [rsp + 0x28], xmm15
mov byte [rsp + 0x20], 1
mov r9d, 0xffffffff
mov r8d, dword [r13 + 0x80]
mov rdx, qword [r13 + 0x88]
mov rcx, r13
call fcn.14001fb90
mov ecx, dword [r13 + 0x84]
xor edi, edi
test ecx, ecx
jns 0x140051a1e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov edx, edi
test eax, eax
cmovg edx, eax
lea rcx, [r13 + 0x80]
call fcn.140016380
mov dword [r13 + 0x80], edi
jmp 0x140051b99
movaps xmm0, xmm3
addsd xmm0, xmm11
cvtpd2ps xmm2, xmm0
movaps xmm1, xmm5
addsd xmm1, xmm11
cvtpd2ps xmm0, xmm1
movss dword [rsp + 0x74], xmm0
movss dword [rsp + 0x78], xmm2
subsd xmm3, xmm11
cvtpd2ps xmm1, xmm3
subsd xmm5, xmm11
cvtpd2ps xmm0, xmm5
movss dword [rsp + 0x7c], xmm0
movss dword [rbp - 0x80], xmm1
mov dword [rsp + 0x28], 0xf
movss dword [rsp + 0x20], xmm13
mov r9d, 0xffffffff
lea r8, [rsp + 0x74]
lea rdx, [rsp + 0x7c]
mov rcx, r13
call fcn.140021b40
jmp 0x140051b97
movaps xmm0, xmm3
addsd xmm0, xmm11
cvtpd2ps xmm2, xmm0
movaps xmm1, xmm5
addsd xmm1, xmm11
cvtpd2ps xmm0, xmm1
movss dword [rbp - 0x7c], xmm0
movss dword [rbp - 0x78], xmm2
subsd xmm3, xmm11
cvtpd2ps xmm1, xmm3
subsd xmm5, xmm11
cvtpd2ps xmm0, xmm5
movss dword [rbp - 0x74], xmm0
movss dword [rbp - 0x70], xmm1
movss dword [rsp + 0x30], xmm15
mov dword [rsp + 0x28], 0xf
movss dword [rsp + 0x20], xmm13
mov r9d, 0xffffffff
lea r8, [rbp - 0x7c]
lea rdx, [rbp - 0x74]
mov rcx, r13
call fcn.140021a00
xor edi, edi
movss xmm8, dword [rsp + 0x48]
movss xmm9, dword [rsp + 0x4c]
movss xmm10, dword [rsp + 0x50]
mov rax, qword [rsp + 0x40]
add rax, 0x30
mov qword [rsp + 0x40], rax
cmp rax, qword [rbp - 0x68]
jne 0x140051750
mov rsi, qword [rbp - 0x60]
lea rcx, [rbp - 0x58]
call fcn.140052e20
call fcn.14000da50
movss xmm0, dword [rsp + 0x60]
movss dword [rsi + 0x1554], xmm0
movss xmm0, dword [rsp + 0x64]
movss dword [rsi + 0x1558], xmm0
movss xmm1, dword [rsp + 0x68]
movss dword [rsi + 0x161c], xmm1
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.140053ea0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140053a30
int3