Function at 0x180013650
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x1800eaf00]
xor rax, rsp
mov qword [rbp + 0x4f], rax
lea rcx, [0x180013610]
call fcn.18007eaa0
call fcn.18007e770
test eax, eax
jne 0x1800136d9
movdqa xmm0, xmmword [0x1800b6150]
movdqu xmmword [rbp + 0x1f], xmm0
mov dword [rbp + 0x2f], 0x82c0d8c6
mov word [rbp + 0x33], 0xa7
mov byte [rbp + 0x35], 1
xor edi, edi
nop word [rax + rax]
lea eax, [rdi - 0x67]
xor byte [rbp + rdi + 0x1f], al
inc rdi
cmp rdi, 0x15
jb 0x1800136b0
mov byte [rbp + 0x35], 0
lea rdx, [rbp + 0x1f]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180028d40
jmp 0x180013c86
call fcn.18007a410
mov rbx, rax
test rax, rax
jne 0x180013750
movdqa xmm0, xmmword [0x1800b6130]
movdqu xmmword [rbp + 0x1f], xmm0
mov dword [rbp + 0x2f], 0xdecac7c0
mov dword [rbp + 0x33], 0xdfc28ed4
mov dword [rbp + 0x37], 0xdbc7dbdf
mov word [rbp + 0x3b], 0xc7
mov byte [rbp + 0x3d], 1
xor edi, edi
nop dword [rax]
nop dword [rax + rax]
lea eax, [rdi - 0x67]
xor byte [rbp + rdi + 0x1f], al
inc rdi
cmp rdi, 0x1d
jb 0x180013720
mov byte [rbp + 0x3d], 0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, [rbp + 0x1f]
mov rcx, rax
call fcn.180001590
jmp 0x180013c86
mov rcx, rbx
call fcn.18007a9e0
mov ecx, dword [rax]
mov dword [0x1800eaf54], ecx
mov rcx, rbx
call fcn.18007a9e0
mov ecx, dword [rax + 4]
mov dword [0x1800eaf50], ecx
mov edx, 1
mov ecx, 0x20007
call fcn.18007b9b0
xor edx, edx
mov ecx, 0x20003
call fcn.18007b9b0
mov edx, 1
mov ecx, 0x20008
call fcn.18007b9b0
mov edx, 1
mov ecx, 0x2000a
call fcn.18007b9b0
xor edx, edx
mov ecx, 0x20004
call fcn.18007b9b0
mov dword [rbp + 0x3f], 0xf7e9f5ce
mov dword [rbp + 0x43], 0xc8ecf8
mov byte [rbp + 0x47], 1
xor edi, edi
mov ecx, edi
nop dword [rax]
lea eax, [rcx - 0x67]
xor byte [rbp + rcx + 0x3f], al
inc rcx
cmp rcx, 7
jb 0x1800137d0
mov byte [rbp + 0x47], dil
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, [rbp + 0x3f]
mov edx, dword [0x1800eaf50]
mov ecx, dword [0x1800eaf54]
call fcn.18007c180
mov qword [0x1801300e0], rax
test rax, rax
jne 0x180013869
movdqa xmm0, xmmword [0x1800b6110]
movdqu xmmword [rbp + 0x1f], xmm0
mov dword [rbp + 0x2f], 0xc2c2dd89
mov dword [rbp + 0x33], 0x9ed8c1c9
mov word [rbp + 0x37], 0xbb
mov byte [rbp + 0x39], 1
nop dword [rax]
nop word [rax + rax]
lea eax, [rdi - 0x67]
xor byte [rbp + rdi + 0x1f], al
inc rdi
cmp rdi, 0x19
jb 0x180013840
mov byte [rbp + 0x39], 0
lea rdx, [rbp + 0x1f]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180028d40
jmp 0x180013c86
xor r8d, r8d
mov edx, 0x20005
mov rcx, rax
call fcn.18007da40
mov edx, 0x2000d
mov r8d, 1
mov rcx, qword [0x1801300e0]
call fcn.18007da40
mov eax, dword [0x1800eaf50]
inc eax
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], eax
mov eax, dword [0x1800eaf54]
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x1801300e0]
call fcn.18007d5f0
mov rcx, qword [0x1801300e0]
call fcn.180075480
mov ecx, 1
call fcn.180075610
mov rcx, qword [0x1801300e0]
call fcn.18007d390
call fcn.180074a40
test eax, eax
je 0x180013940
movdqa xmm0, xmmword [0x1800b6120]
movdqu xmmword [rbp + 0x1f], xmm0
mov dword [rbp + 0x2f], 0xdce48acc
mov dword [rbp + 0x33], 0xfce8c0c8
mov word [rbp + 0x37], 0xbb
mov byte [rbp + 0x39], 1
nop
lea eax, [rdi - 0x67]
xor byte [rbp + rdi + 0x1f], al
inc rdi
cmp rdi, 0x19
jb 0x180013910
mov byte [rbp + 0x39], 0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, [rbp + 0x1f]
mov rcx, rax
call fcn.180001590
jmp 0x180013c86
call fcn.180013200
mov rax, qword [0x1801300f0]
test rax, rax
je 0x180013957
inc dword [rax + 0x3b4]
mov ecx, 0x3f18
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x3f], rax
lea rcx, [rbp + 0xb]
mov qword [rbp + 0x17], rcx
mov qword [rbp + 0xf], rax
test rax, rax
je 0x180013983
xor edx, edx
mov rcx, rax
call fcn.180029690
jmp 0x180013986
mov rax, rdi
cmp qword [0x1801300f0], 0
jne 0x180013997
mov qword [0x1801300f0], rax
mov rcx, rax
call fcn.18002f3b0
mov rbx, qword [0x1801300f0]
mov byte [rbx + 0x1618], 1
mov byte [rbx + 0x161a], 1
mov qword [rbx + 0x20], rdi
mov qword [rbx + 0x28], rdi
mov qword [rsp + 0x20], rdi
movss xmm2, dword [0x1800b5d5c]
lea rdx, str.C:WindowsFontsCalibri.ttf
mov rcx, qword [rbx + 0xa8]
call fcn.180049870
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
movss xmm3, dword [0x1800b5d5c]
mov r8d, 0x3bfcc
lea rdx, [0x1800eaf70]
mov rcx, qword [rbx + 0xa8]
call fcn.180049ac0
lea rax, [0x1800b51c8]
mov qword [rsp + 0x20], rax
movss xmm2, dword [0x1800b5d68]
lea rdx, str.C:WindowsFonts_segoeui.ttf
mov rcx, qword [rbx + 0xa8]
call fcn.180049870
mov qword [rsp + 0x20], rdi
movss xmm2, dword [0x1800b5d60]
lea rdx, str.C:WindowsFontscalibri.ttf
mov rcx, qword [rbx + 0xa8]
call fcn.180049870
mov qword [rsp + 0x20], rdi
movss xmm2, dword [0x1800b5d6c]
lea rdx, str.C:WindowsFontscalibri.ttf
mov rcx, qword [rbx + 0xa8]
call fcn.180049870
mov qword [rsp + 0x20], rdi
movss xmm2, dword [0x1800b5d5c]
lea rdx, str.C:WindowsFontscalibri.ttf
mov rcx, qword [rbx + 0xa8]
call fcn.180049870
mov qword [rsp + 0x20], rdi
movss xmm2, dword [0x1800b5d54]
lea rdx, str.C:WindowsFontscalibri.ttf
mov rcx, qword [rbx + 0xa8]
call fcn.180049870
lea rdx, [0x1801300e8]
lea rcx, str.MyImage02.jpg
call fcn.180012bf0
lea rdx, [0x1801300a8]
lea rcx, str.bg.jpg
call fcn.180012bf0
lea rdx, [0x1801300b0]
lea rcx, str.hourglass.jpg
call fcn.180012bf0
lea rdx, [0x180130068]
lea rcx, str.smile.jpg
call fcn.180012bf0
lea rdx, [0x18013006c]
lea rcx, str.logo.jpg
call fcn.180012bf0
mov rcx, qword [0x1801300e0]
call fcn.18004e700
mov dword [rbp + 0x1f], 0xeefeecba
mov dword [rbp + 0x23], 0xcef0f7ee
mov dword [rbp + 0x27], 0x94909381
mov word [rbp + 0x2b], 0x100
mov rcx, rdi
nop word [rax + rax]
lea eax, [rcx - 0x67]
xor byte [rbp + rcx + 0x1f], al
inc rcx
cmp rcx, 0xc
jb 0x180013b40
mov byte [rbp + 0x2c], 0
mov dword [rbp + 7], edi
mov dword [rbp + 0xf], edi
lea rdx, [rbp + 7]
mov ecx, 0x821b
call qword [sym.imp.OPENGL32.dll_glGetIntegerv]
lea rdx, [rbp + 0xf]
mov ecx, 0x821c
call qword [sym.imp.OPENGL32.dll_glGetIntegerv]
mov eax, dword [rbp + 7]
test eax, eax
jne 0x180013ba9
cmp dword [rbp + 0xf], eax
jne 0x180013ba9
mov ecx, 0x1f02
call qword [sym.imp.OPENGL32.dll_glGetString]
lea r9, [rbp + 0xf]
lea r8, [rbp + 7]
lea rdx, str._d._d
mov rcx, rax
call fcn.1800295b0
mov eax, dword [rbp + 7]
lea ecx, [rax + rax*4]
mov eax, dword [rbp + 0xf]
lea ecx, [rax + rcx*2]
lea eax, [rcx + rcx*4]
add eax, eax
mov dword [0x1801305bc], eax
mov rcx, qword [0x1801300f0]
lea rdx, str.imgui_impl_opengl3
mov qword [rcx + 0xe0], rdx
cmp eax, 0x140
jb 0x180013bdd
or dword [rcx + 0xc], 8
mov rdx, rdi
lea rcx, [0x1801305d0]
nop word [rax + rax]
movzx eax, byte [rbp + rdx + 0x1f]
mov byte [rdx + rcx], al
lea rdx, [rdx + 1]
test al, al
jne 0x180013bf0
dec rcx
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x180013c03
movzx eax, word [0x1800b50f8]
mov word [rcx], ax
lea rdx, [rbp + 0x3f]
mov ecx, 0x8069
call qword [sym.imp.OPENGL32.dll_glGetIntegerv]
cmp dword [0x1801305bc], 0x1c2
setae byte [0x1801304b5]
mov dword [rbp + 0x17], edi
lea rdx, [rbp + 0x17]
mov ecx, 0x821d
call qword [sym.imp.OPENGL32.dll_glGetIntegerv]
cmp dword [rbp + 0x17], 0
jle 0x180013c86
nop
mov rax, qword [0x180127d78]
mov edx, edi
mov ecx, 0x1f03
call rax
test rax, rax
je 0x180013c7f
lea rdx, str.GL_ARB_clip_control
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x180013c7f
mov byte [0x1801304b5], 1
inc edi
cmp edi, dword [rbp + 0x17]
jl 0x180013c50
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.18008f3b0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret