Function at 0x1400504d0
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 [0x1400a4010]
xor rax, rsp
mov qword [rbp + 8], rax
mov rdi, qword [0x1400a74b0]
mov qword [rbp - 0x60], rdi
test rdi, rdi
jne 0x140050577
mov r8d, 0xb3d
lea rdx, str.C:UsersokDocumentsgodpasterImguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___or_ImGui::SetCurrentContext____
call fcn.140068764
mov rdi, qword [0x1400a74b0]
mov qword [rbp - 0x60], rdi
movss xmm11, dword [rdi + 0x1554]
movss dword [rsp + 0x58], xmm11
movss xmm12, dword [rdi + 0x1558]
movss dword [rsp + 0x5c], xmm12
movss xmm13, dword [rdi + 0x161c]
movss dword [rsp + 0x60], xmm13
mov qword [rdi + 0x1554], 0
mov dword [rdi + 0x161c], 0x3f800000
mov dword [rsp + 0x4c], 0x43480000
mov dword [rsp + 0x50], 0x43480000
mov rax, qword [0x140098bf0]
mov qword [rsp + 0x40], rax
cmp byte [0x140098bf7], 0
je 0x140050742
xor r8d, r8d
cmp dword [0x1400a4018], 2
jl 0x140050705
movdqa xmm4, xmmword [0x140099a20]
mov eax, 5
movd xmm6, eax
mov eax, 0x1f
movd xmm5, eax
movdqa xmm2, xmmword [0x140099670]
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 [0x140099690]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400996b0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
movd xmm0, dword [rsp + 0x40]
pxor xmm2, xmm0
movd dword [rsp + 0x40], xmm2
movdqa xmm3, xmmword [0x140099680]
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 [0x140099690]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400996b0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
movd xmm0, dword [rsp + 0x44]
pxor xmm2, xmm0
movd dword [rsp + 0x44], xmm2
jmp 0x140050742
lea r9, [rsp + 0x40]
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, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x140050710
movsd xmm0, qword [rsp + 0x4c]
movsd qword [rdi + 0x1af4], xmm0
mov dword [rdi + 0x1acc], 4
mov dword [rdi + 0x1b28], 0x3ecccccd
mov dword [rdi + 0x1ae0], 1
mov r8d, 0x20
lea rdx, [0x1400a752d]
lea rcx, [rsp + 0x40]
call fcn.14000a4f0
mov rcx, qword [0x1400a74b0]
mov rax, qword [rcx + 0x19f8]
movss xmm8, dword [rax + 0x18]
movss dword [rsp + 0x4c], xmm8
movss xmm10, dword [rax + 0x1c]
movss dword [rsp + 0x54], xmm10
movss xmm15, dword [rax + 0x10]
movss xmm2, dword [rax + 0x14]
movss dword [rsp + 0x48], xmm2
mov byte [rax + 0x7c], 1
mov rax, qword [rcx + 0x19f8]
mov r13, qword [rax + 0x2a0]
movaps xmm0, xmm2
addss xmm0, xmm10
movaps xmm1, xmm8
mulss xmm1, dword [0x1400993b8]
addss xmm1, xmm15
movss dword [rsp + 0x40], xmm1
movss dword [rsp + 0x44], xmm0
movaps xmm0, xmm2
xorps xmm9, xmm9
addss xmm0, xmm9
movss dword [rbp - 0x28], xmm1
movss dword [rbp - 0x24], xmm0
movss xmm7, dword [0x140099400]
movss dword [rsp + 0x20], xmm7
mov r9d, 0xff000000
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x28]
mov rcx, r13
call fcn.140020e30
movaps xmm1, xmm10
mulss xmm1, dword [0x1400993b8]
movss xmm6, dword [rsp + 0x48]
addss xmm1, xmm6
movaps xmm0, xmm15
addss xmm0, xmm8
movss dword [rbp - 0x28], xmm0
movss dword [rbp - 0x24], xmm1
movaps xmm0, xmm15
addss xmm0, xmm9
movss dword [rsp + 0x40], xmm0
movss dword [rsp + 0x44], xmm1
movss dword [rsp + 0x20], xmm7
mov r9d, 0xff000000
lea r8, [rbp - 0x28]
lea rdx, [rsp + 0x40]
mov rcx, r13
call fcn.140020e30
xor eax, eax
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
mov qword [rbp], rax
mov r14, qword [0x1400a76d8]
mov rsi, qword [0x1400a76e0]
movabs r15, 0x2aaaaaaaaaaaaaab
cmp r14, rsi
je 0x14005090d
sub rsi, r14
mov rax, r15
imul rsi
mov rbx, rdx
sar rbx, 3
mov rax, rbx
shr rax, 0x3f
add rbx, rax
mov rdx, rbx
call fcn.140052f80
mov rcx, rax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
lea rax, [rbx + rbx*2]
shl rax, 4
add rax, rcx
mov qword [rsp + 0x40], rax
mov qword [rbp], rax
mov r8, rsi
mov rdx, r14
call fcn.140056a10
mov rax, qword [rsp + 0x40]
mov qword [rbp - 8], rax
jmp 0x140050916
mov rax, qword [rbp - 8]
mov qword [rsp + 0x40], rax
mov r8, qword [rbp - 0x10]
mov qword [rbp - 0x68], r8
cmp r8, rax
je 0x140050d2f
movss xmm12, dword [0x14009948c]
movss xmm8, dword [0x140099480]
movss xmm14, dword [0x140099470]
movss xmm13, dword [0x1400993e8]
nop dword [rax + rax]
mov qword [rbp - 0x28], 0
mov rdx, qword [r8]
add rdx, 0x130
mov r9d, 8
lea r8, [rbp - 0x28]
call fcn.14003c4e0
mov rdx, qword [rbp - 0x28]
test rdx, rdx
je 0x140050cf1
mov qword [rbp - 0x20], 0
mov dword [rbp - 0x18], 0
add rdx, 0x11c
mov r9d, 0xc
lea r8, [rbp - 0x20]
call fcn.14003c4e0
movss xmm10, dword [rbp - 0x1c]
movss xmm11, dword [rbp - 0x20]
ucomiss xmm11, xmm9
jp 0x1400509d0
jne 0x1400509d0
ucomiss xmm10, xmm9
jp 0x1400509d0
jne 0x1400509d0
movss xmm0, dword [rbp - 0x18]
ucomiss xmm0, xmm9
jp 0x1400509d0
je 0x140050cf1
cvttss2si r15d, dword [rsp + 0x54]
cvttss2si esi, dword [rsp + 0x4c]
cvttss2si r12d, xmm6
cvttss2si r14d, xmm15
subss xmm10, dword [0x1400a77ac]
xorps xmm10, xmmword [0x140099a10]
subss xmm11, dword [0x1400a77a8]
movss xmm0, dword [0x1400a74ac]
subss xmm0, dword [0x1400994d0]
mulss xmm0, dword [0x140099380]
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 xmm6, xmm0
movaps xmm0, xmm6
call fcn.14007e390
movaps xmm7, xmm0
movaps xmm0, xmm6
call fcn.14007f0d0
xorps xmm4, xmm4
cvtss2sd xmm4, xmm10
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm7
mulss xmm1, xmm11
cvtps2pd xmm3, xmm1
movaps xmm2, xmm0
mulsd xmm2, xmm4
subsd xmm3, xmm2
cvtpd2ps xmm5, xmm3
divss xmm5, dword [0x1400994b4]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
mulss xmm1, xmm11
cvtps2pd xmm0, xmm1
mulsd xmm7, xmm4
addsd xmm0, xmm7
cvtpd2ps xmm2, xmm0
divss xmm2, dword [0x1400994b4]
lea eax, [rsi - 5]
xorps xmm3, xmm3
cvtsi2ss xmm3, eax
addss xmm5, xmm5
xorps xmm0, xmm0
cvtsi2ss xmm0, ebx
addss xmm5, xmm0
movss xmm7, dword [0x140099484]
movaps xmm1, xmm7
maxss xmm1, xmm5
minss xmm3, xmm1
xorps xmm0, xmm0
cvtsi2ss xmm0, r14d
addss xmm3, xmm0
lea eax, [r15 - 5]
xorps xmm4, xmm4
cvtsi2ss xmm4, eax
addss xmm2, xmm2
xorps xmm0, xmm0
cvtsi2ss xmm0, edi
addss xmm2, xmm0
movaps xmm1, xmm7
maxss xmm1, xmm2
minss xmm4, xmm1
xorps xmm0, xmm0
cvtsi2ss xmm0, r12d
addss xmm4, xmm0
mov ecx, dword [0x1400a7538]
test ecx, ecx
je 0x140050c91
sub ecx, 1
je 0x140050c37
sub ecx, 1
je 0x140050ba8
cmp ecx, 1
jne 0x140050ceb
movss dword [rsp + 0x64], xmm3
movss dword [rsp + 0x68], xmm4
mov dword [rsp + 0x28], 0xc
movss dword [rsp + 0x20], xmm12
movaps xmm3, xmm9
movaps xmm2, xmm8
lea rdx, [rsp + 0x64]
mov rcx, r13
call fcn.140020900
mov r9d, 0xffffffff
mov r8d, dword [r13 + 0x80]
mov rdx, qword [r13 + 0x88]
mov rcx, r13
call fcn.1400200d0
mov ecx, dword [r13 + 0x84]
test ecx, ecx
jns 0x140050b98
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor edx, edx
test eax, eax
cmovg edx, eax
lea rcx, [r13 + 0x80]
call fcn.140015f50
mov dword [r13 + 0x80], 0
jmp 0x140050ceb
movss dword [rsp + 0x6c], xmm3
movss dword [rsp + 0x70], xmm4
mov dword [rsp + 0x28], 0xc
movss dword [rsp + 0x20], xmm12
movaps xmm3, xmm9
movaps xmm2, xmm14
lea rdx, [rsp + 0x6c]
mov rcx, r13
call fcn.140020900
movss dword [rsp + 0x28], xmm13
mov byte [rsp + 0x20], 1
mov r9d, 0xffffffff
mov r8d, dword [r13 + 0x80]
mov rdx, qword [r13 + 0x88]
mov rcx, r13
call fcn.14001f1f0
mov ecx, dword [r13 + 0x84]
test ecx, ecx
jns 0x140050b98
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor edx, edx
test eax, eax
cmovg edx, eax
lea rcx, [r13 + 0x80]
call fcn.140015f50
mov dword [r13 + 0x80], 0
jmp 0x140050ceb
movaps xmm1, xmm4
addss xmm1, xmm8
movaps xmm0, xmm3
addss xmm0, xmm8
movss dword [rsp + 0x74], xmm0
movss dword [rsp + 0x78], xmm1
subss xmm4, xmm8
subss xmm3, xmm8
movss dword [rsp + 0x7c], xmm3
movss dword [rbp - 0x80], xmm4
mov dword [rsp + 0x28], 0xf
movss dword [rsp + 0x20], xmm9
mov r9d, 0xffffffff
lea r8, [rsp + 0x74]
lea rdx, [rsp + 0x7c]
mov rcx, r13
call fcn.1400210e0
jmp 0x140050ceb
movaps xmm1, xmm4
addss xmm1, xmm8
movaps xmm0, xmm3
addss xmm0, xmm8
movss dword [rbp - 0x7c], xmm0
movss dword [rbp - 0x78], xmm1
subss xmm4, xmm8
subss xmm3, xmm8
movss dword [rbp - 0x74], xmm3
movss dword [rbp - 0x70], xmm4
movss dword [rsp + 0x30], xmm13
mov dword [rsp + 0x28], 0xf
movss dword [rsp + 0x20], xmm9
mov r9d, 0xffffffff
lea r8, [rbp - 0x7c]
lea rdx, [rbp - 0x74]
mov rcx, r13
call fcn.140020fb0
movss xmm6, dword [rsp + 0x48]
mov r8, qword [rbp - 0x68]
add r8, 0x30
mov qword [rbp - 0x68], r8
cmp r8, qword [rsp + 0x40]
jne 0x140050950
mov r8, qword [rbp - 0x10]
movss xmm11, dword [rsp + 0x58]
movss xmm12, dword [rsp + 0x5c]
movss xmm13, dword [rsp + 0x60]
mov rdi, qword [rbp - 0x60]
movabs r15, 0x2aaaaaaaaaaaaaab
test r8, r8
je 0x140050d84
mov rcx, qword [rbp]
sub rcx, r8
mov rax, r15
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 4
mov rax, r8
cmp rdx, 0x1000
jb 0x140050d7c
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050e09
mov rcx, r8
call fcn.140053a08
call fcn.14000d410
movss dword [rdi + 0x1554], xmm11
movss dword [rdi + 0x1558], xmm12
movss dword [rdi + 0x161c], xmm13
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.140053460
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.140069ca8
int3