Function at 0x1400300f0
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 - 0x1c8]
sub rsp, 0x2b0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x1401d12b0]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rsi, qword [0x1401e29c8]
mov rax, qword [0x1401e29e8]
test rax, rax
je 0x140030144
inc dword [rax + 0x3b4]
mov rdx, qword [0x1401e29e0]
mov ecx, 0x3ee8
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov qword [rbp + 0xa8], rax
lea rcx, [rsp + 0x68]
mov qword [rbp + 0xa0], rcx
mov qword [rbp + 0x98], rax
xor r14d, r14d
test rax, rax
je 0x140030186
xor edx, edx
mov rcx, rax
call fcn.140033140
mov rcx, rax
jmp 0x140030189
mov rcx, r14
mov rax, qword [0x1401e29e8]
test rax, rax
cmove rax, rcx
mov qword [0x1401e29e8], rax
call fcn.140039270
mov rbx, qword [0x1401e29e8]
mov qword [rbx + 0x20], r14
mov qword [rbx + 0x28], r14
movdqa xmm0, xmmword [0x1401b3ea0]
movdqu xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x60], 0x9b9f99c1
mov word [rsp + 0x64], 0x100
mov rcx, r14
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x21]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 0x14
jb 0x1400301e0
mov byte [rsp + 0x65], 0
mov qword [rbp + 0xa8], r14
lea r8, [rbp + 0xa8]
lea rcx, [rsp + 0x50]
call fcn.140034850
mov rdi, rax
test rax, rax
je 0x140030245
mov rdx, qword [rbp + 0xa8]
mov rcx, rax
call fcn.1400461b0
mov rcx, qword [0x1401e29e8]
test rcx, rcx
je 0x140030236
dec dword [rcx + 0x3b4]
mov rdx, qword [0x1401e29e0]
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], rax
mov byte [rbp + 0xc], 1
mov dword [rbp + 0x44], 0x7f7fffff
mov dword [rbp + 0x50], 0x3f800000
mov r15d, 0xffff
mov word [rbp + 0x54], r15w
mov edi, 1
mov dword [rbp + 0x18], edi
mov dword [rbp + 0x1c], edi
mov byte [rbp + 0x20], dil
movdqa xmm0, xmmword [0x1401b3eb0]
movdqu xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x60], 0x948584c1
mov word [rsp + 0x64], 0x100
mov rcx, r14
nop dword [rax]
lea eax, [rcx - 0x21]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 0x14
jb 0x1400302c0
mov byte [rsp + 0x65], 0
lea r9, [rbp]
movss xmm2, dword [0x1401b3210]
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0xa8]
call fcn.140053950
mov rcx, qword [0x1401e29e8]
mov qword [rcx + 0xb8], rax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
movss xmm3, dword [0x1401b3204]
lea rdx, [0x14017cdd0]
mov rcx, qword [rcx + 0xa8]
call fcn.140053d90
movdqa xmm0, xmmword [0x1401b3eb0]
movdqu xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x60], 0x948584c1
mov word [rsp + 0x64], 0x100
mov rcx, r14
nop word [rax + rax]
lea eax, [rcx - 0x21]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 0x14
jb 0x140030350
mov byte [rsp + 0x65], 0
lea r9, [rbp]
movss xmm2, dword [0x1401b321c]
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0xa8]
call fcn.140053950
mov qword [0x1401e29a8], rax
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rsp + 0x70], xmm2
movups xmmword [rbp - 0x80], xmm2
movups xmmword [rbp - 0x50], xmm2
movups xmmword [rbp - 0x40], xmm2
mov qword [rbp - 0x10], rax
mov byte [rsp + 0x7c], dil
mov dword [rbp - 0x78], 3
mov dword [rbp - 0x74], edi
mov dword [rbp - 0x4c], 0x7f7fffff
mov dword [rbp - 0x40], 0x3f800000
mov word [rbp - 0x3c], r15w
movaps xmm0, xmmword [rsp + 0x70]
movaps xmmword [rbp + 0xb0], xmm0
movaps xmm1, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0xc0], xmm1
movaps xmmword [rbp + 0xd0], xmm2
movaps xmmword [rbp + 0xe0], xmm2
movaps xmm0, xmmword [rbp - 0x50]
movaps xmmword [rbp + 0xf0], xmm0
movaps xmm1, xmmword [rbp - 0x40]
movaps xmmword [rbp + 0x100], xmm1
movaps xmmword [rbp + 0x110], xmm2
movaps xmmword [rbp + 0x120], xmm2
movsd xmm0, qword [rbp - 0x10]
movsd qword [rbp + 0x130], xmm0
lea r12, [0x1401d2940]
mov qword [rbp + 0xb0], r12
mov dword [rbp + 0xb8], 0x42ac
movss xmm6, dword [0x1401b3220]
mov dword [rbp + 0xc4], 0x41a00000
lea rdx, [rbp + 0xb0]
mov rcx, qword [rbx + 0xa8]
call fcn.1400536e0
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rsp + 0x70], xmm2
movups xmmword [rbp - 0x80], xmm2
movups xmmword [rbp - 0x50], xmm2
movups xmmword [rbp - 0x40], xmm2
mov qword [rbp - 0x10], rax
mov byte [rsp + 0x7c], dil
mov dword [rbp - 0x78], 3
mov dword [rbp - 0x74], edi
mov dword [rbp - 0x4c], 0x7f7fffff
mov dword [rbp - 0x40], 0x3f800000
mov word [rbp - 0x3c], r15w
movaps xmm0, xmmword [rsp + 0x70]
movaps xmmword [rbp + 0xb0], xmm0
movaps xmm1, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0xc0], xmm1
movaps xmmword [rbp + 0xd0], xmm2
movaps xmmword [rbp + 0xe0], xmm2
movaps xmm0, xmmword [rbp - 0x50]
movaps xmmword [rbp + 0xf0], xmm0
movaps xmm1, xmmword [rbp - 0x40]
movaps xmmword [rbp + 0x100], xmm1
movaps xmmword [rbp + 0x110], xmm2
movaps xmmword [rbp + 0x120], xmm2
movsd xmm0, qword [rbp - 0x10]
movsd qword [rbp + 0x130], xmm0
mov qword [rbp + 0xb0], r12
mov dword [rbp + 0xb8], 0x42ac
mov dword [rbp + 0xc4], 0x41f00000
lea rdx, [rbp + 0xb0]
mov rcx, qword [rbx + 0xa8]
call fcn.1400536e0
movdqa xmm0, xmmword [0x1401b3eb0]
movdqu xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x60], 0x948584c1
mov word [rsp + 0x64], 0x100
mov rcx, r14
nop dword [rax + rax]
lea eax, [rcx - 0x21]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 0x14
jb 0x140030540
mov byte [rsp + 0x65], 0
lea r9, [rbp]
movaps xmm2, xmm6
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0xa8]
call fcn.140053950
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rsp + 0x70], xmm2
movups xmmword [rbp - 0x80], xmm2
movups xmmword [rbp - 0x50], xmm2
movups xmmword [rbp - 0x40], xmm2
mov qword [rbp - 0x10], rax
mov byte [rsp + 0x7c], dil
mov dword [rbp - 0x78], 3
mov dword [rbp - 0x74], edi
mov dword [rbp - 0x4c], 0x7f7fffff
mov dword [rbp - 0x40], 0x3f800000
mov word [rbp - 0x3c], r15w
movaps xmm0, xmmword [rsp + 0x70]
movaps xmmword [rbp + 0xb0], xmm0
movaps xmm1, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0xc0], xmm1
movaps xmmword [rbp + 0xd0], xmm2
movaps xmmword [rbp + 0xe0], xmm2
movaps xmm0, xmmword [rbp - 0x50]
movaps xmmword [rbp + 0xf0], xmm0
movaps xmm1, xmmword [rbp - 0x40]
movaps xmmword [rbp + 0x100], xmm1
movaps xmmword [rbp + 0x110], xmm2
movaps xmmword [rbp + 0x120], xmm2
movsd xmm0, qword [rbp - 0x10]
movsd qword [rbp + 0x130], xmm0
mov qword [rbp + 0xb0], r12
mov dword [rbp + 0xb8], 0x42ac
movss xmm0, dword [0x1401b3284]
movss dword [rbp + 0xc4], xmm0
lea rdx, [rbp + 0xb0]
mov rcx, qword [rbx + 0xa8]
call fcn.1400536e0
movdqa xmm0, xmmword [0x1401b3eb0]
movdqu xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x60], 0x948584c1
mov word [rsp + 0x64], 0x100
mov rcx, r14
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x21]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 0x14
jb 0x140030660
mov byte [rsp + 0x65], 0
lea r9, [rbp]
movaps xmm2, xmm6
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0xa8]
call fcn.140053950
lea rax, [0x1401afea0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
movss xmm3, dword [0x1401b3228]
mov r8d, 0x1b14
lea rdx, [0x1401d6bf0]
mov rcx, qword [rbx + 0xa8]
call fcn.140053c20
mov qword [0x1401e29a0], rax
movdqa xmm0, xmmword [0x1401b3eb0]
movdqu xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x60], 0x948584c1
mov word [rsp + 0x64], 0x100
mov rcx, r14
nop word [rax + rax]
lea eax, [rcx - 0x21]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 0x14
jb 0x1400306f0
mov byte [rsp + 0x65], 0
lea r9, [rbp]
movaps xmm2, xmm6
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0xa8]
call fcn.140053950
mov qword [0x1401e2980], rax
mov rax, qword [0x1401e29e8]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
movss xmm3, dword [0x1401b3244]
lea rdx, [0x14017b4c0]
mov rcx, qword [rax + 0xa8]
call fcn.140053d90
mov qword [0x1401e2970], rax
movdqa xmm0, xmmword [0x1401b3eb0]
movdqu xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x60], 0x948584c1
mov word [rsp + 0x64], 0x100
mov rcx, r14
nop word [rax + rax]
lea eax, [rcx - 0x21]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 0x14
jb 0x140030780
mov byte [rsp + 0x65], 0
lea r9, [rbp]
movaps xmm2, xmm6
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0xa8]
call fcn.140053950
mov qword [0x1401e2990], rax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
movss xmm3, dword [0x1401b3238]
lea rdx, [0x14017c1f0]
mov rcx, qword [rbx + 0xa8]
call fcn.140053d90
mov qword [0x1401e2978], rax
mov rax, qword [0x1401e29e8]
mov dword [rax + 0x1560], r14d
mov dword [rax + 0x1564], 0x41000000
mov dword [rax + 0x1568], 0x41000000
mov dword [rax + 0x1574], 0x42000000
mov dword [rax + 0x1578], 0x42000000
mov dword [rax + 0x156c], 0x3f000000
mov dword [rax + 0x157c], 0x3f000000
mov dword [rax + 0x1580], 0x3f000000
mov dword [rax + 0x1598], 0x40800000
mov qword [rax + 0x159c], 0x40000000
mov dword [rax + 0x15a8], 0x41000000
mov dword [rax + 0x15ac], 0x40800000
mov dword [rax + 0x15b0], 0x40800000
mov dword [rax + 0x15b4], 0x40800000
mov qword [rax + 0x15c0], r14
mov dword [rax + 0x15c8], 0x41a80000
mov dword [rax + 0x15cc], 0x40400000
mov qword [rax + 0x15d0], 0x41400000
mov qword [rax + 0x15d8], 0x3dcccccd
mov dword [rax + 0x15f4], 0x3f000000
mov dword [rax + 0x15f8], 0x3f000000
mov dword [rax + 0x1604], 0x41b00000
mov dword [rax + 0x1608], 0x41b00000
mov dword [rax + 0x160c], 0x40800000
mov dword [rax + 0x1610], 0x40800000
mov byte [rax + 0x1618], dil
mov dword [rax + 0x161c], 0x3fa00000
mov rcx, rsi
call fcn.140058630
mov dword [rbp + 0x90], r14d
mov dword [rbp + 0x98], r14d
lea rdx, [rbp + 0x90]
mov ecx, 0x821b
call qword [sym.imp.OPENGL32.dll_glGetIntegerv]
lea rdx, [rbp + 0x98]
mov ecx, 0x821c
call qword [sym.imp.OPENGL32.dll_glGetIntegerv]
mov eax, dword [rbp + 0x90]
test eax, eax
jne 0x140030969
cmp dword [rbp + 0x98], eax
jne 0x140030969
mov ecx, 0x1f02
call qword [sym.imp.OPENGL32.dll_glGetString]
lea r9, [rbp + 0x98]
lea r8, [rbp + 0x90]
lea rdx, str._d._d
mov rcx, rax
call fcn.140033050
mov eax, dword [rbp + 0x90]
lea ecx, [rax + rax*4]
mov eax, dword [rbp + 0x98]
lea ecx, [rax + rcx*2]
lea eax, [rcx + rcx*4]
add eax, eax
mov dword [0x1402185ec], eax
mov rcx, qword [0x1401e29e8]
lea rdx, str.imgui_impl_opengl3
mov qword [rcx + 0xe0], rdx
cmp eax, 0x140
jb 0x1400309a0
or dword [rcx + 0xc], 8
mov rdx, r14
lea r8, str.version_130
lea rcx, [0x140218600]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + r8]
mov byte [rdx + rcx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400309c0
dec rcx
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x1400309d3
movzx eax, word [reloc.WS2_32.dll_ioctlsocket]
mov word [rcx], ax
lea rdx, [rbp + 0xa8]
mov ecx, 0x8069
call qword [sym.imp.OPENGL32.dll_glGetIntegerv]
cmp dword [0x1402185ec], 0x1c2
setae byte [0x140203d46]
mov dword [rbp + 0xa0], r14d
lea rdx, [rbp + 0xa0]
mov ecx, 0x821d
call qword [sym.imp.OPENGL32.dll_glGetIntegerv]
mov ebx, r14d
cmp dword [rbp + 0xa0], r14d
jle 0x140030a70
nop
mov rax, qword [0x1401d9d78]
mov edx, ebx
mov ecx, 0x1f03
call rax
test rax, rax
je 0x140030a66
lea rdx, str.GL_ARB_clip_control
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
movzx ecx, byte [0x140203d46]
test eax, eax
cmove ecx, edi
mov byte [0x140203d46], cl
inc ebx
cmp ebx, dword [rbp + 0xa0]
jl 0x140030a30
mov qword [rbp + 0xc0], r14
mov dword [rbp + 0xe0], r14d
mov dword [rbp + 0x168], r14d
lea rax, [0x14019dab0]
mov qword [rbp + 0x180], rax
mov qword [rbp + 0x170], rax
lea rax, [0x1401a0348]
mov qword [rbp + 0x188], rax
mov qword [rbp + 0x178], rax
lea r9, [rbp + 0xa8]
lea r8, [rbp + 0xa0]
lea rdx, [rbp + 0x98]
lea rcx, [rbp + 0xb0]
call fcn.14001d6c0
mov rbx, rax
lea r8, [0x1401e2988]
mov edx, edi
mov ecx, 0xde1
call qword [0x1401db318]
mov edx, dword [0x1401e2988]
mov ecx, 0xde1
call qword [sym.imp.OPENGL32.dll_glBindTexture]
mov edx, 0x2801
mov ecx, 0xde1
mov r8d, 0x2601
call qword [sym.imp.OPENGL32.dll_glTexParameteri]
mov edx, 0x2800
mov ecx, 0xde1
mov r8d, 0x2601
call qword [sym.imp.OPENGL32.dll_glTexParameteri]
mov edx, 0x2802
mov ecx, 0xde1
mov r8d, 0x812f
call qword [sym.imp.OPENGL32.dll_glTexParameteri]
mov edx, 0x2803
mov ecx, 0xde1
mov r8d, 0x812f
call qword [sym.imp.OPENGL32.dll_glTexParameteri]
mov edx, edi
mov ecx, 0xcf5
call qword [sym.imp.OPENGL32.dll_glPixelStorei]
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], 0x1401
mov dword [rsp + 0x30], 0x1908
mov dword [rsp + 0x28], r14d
mov eax, dword [rbp + 0xa0]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0x98]
xor edx, edx
mov ecx, 0xde1
mov r8d, 0x1908
call qword [sym.imp.OPENGL32.dll_glTexImage2D]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14012e570
lea r11, [rsp + 0x2b0]
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]
mov rsp, r11
pop r15
pop r14
pop rbp
ret