Function at 0x14003a190
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x140343f10]
xor rax, rsp
mov qword [rbp + 0x47], rax
lea rcx, [0x14003a120]
call fcn.140070a90
call fcn.140070760
test eax, eax
jne 0x14003a219
movdqa xmm0, xmmword [0x14030e350]
movdqu xmmword [rbp - 9], xmm0
mov dword [rbp + 7], 0x1006048
xor edi, edi
nop word [rax + rax]
lea eax, [rdi + 0x59]
xor byte [rbp + rdi - 9], al
inc rdi
cmp rdi, 0x12
jb 0x14003a1f0
mov byte [rbp + 0xa], 0
lea rdx, [rbp - 9]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001510
jmp 0x14003a79d
call fcn.1400726e0
mov rbx, rax
test rax, rax
jne 0x14003a280
movdqa xmm0, xmmword [0x14030e310]
movdqu xmmword [rbp - 9], xmm0
mov dword [rbp + 7], 0x31f0307
mov dword [rbp + 0xb], 0x654f1f
mov byte [rbp + 0xf], 1
xor edi, edi
nop word [rax + rax]
lea eax, [rdi + 0x59]
xor byte [rbp + rdi - 9], al
inc rdi
cmp rdi, 0x17
jb 0x14003a250
mov byte [rbp + 0xf], 0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, [rbp - 9]
mov rcx, rax
call fcn.140029600
jmp 0x14003a79d
mov rcx, rbx
call fcn.140072cb0
mov ecx, dword [rax]
mov dword [0x14034db68], ecx
mov rcx, rbx
call fcn.140072cb0
mov ecx, dword [rax + 4]
mov dword [0x14034db84], ecx
mov esi, 1
mov edx, esi
mov ecx, 0x20007
call fcn.140067bd0
xor edx, edx
mov ecx, 0x20003
call fcn.140067bd0
xor edx, edx
mov ecx, 0x20008
call fcn.140067bd0
mov edx, esi
mov ecx, 0x2000a
call fcn.140067bd0
mov dword [rbp + 0x1f], 0x7c3a3938
mov dword [rbp + 0x23], 0x3f797a7b
mov dword [rbp + 0x27], 0x323130
mov byte [rbp + 0x2b], sil
xor edi, edi
mov ecx, edi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x40]
xor byte [rbp + rcx + 0x1f], al
inc rcx
cmp rcx, 0xb
jb 0x14003a300
mov byte [rbp + 0x2b], dil
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, [rbp + 0x1f]
mov edx, dword [0x14034db84]
mov ecx, dword [0x14034db68]
call fcn.1400683a0
mov qword [0x14034dbe8], rax
test rax, rax
jne 0x14003a389
mov dword [rbp + 0x1f], 0x3127370f
mov dword [rbp + 0x23], 0x3f76657e
mov dword [rbp + 0x27], 0x40687a
mov byte [rbp + 0x2b], sil
nop word [rax + rax]
lea eax, [rdi + 0x40]
xor byte [rbp + rdi + 0x1f], al
inc rdi
cmp rdi, 0xb
jb 0x14003a360
mov byte [rbp + 0x2b], 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.140001510
jmp 0x14003a79d
xor r8d, r8d
mov edx, 0x20005
mov rcx, rax
call fcn.140069c60
mov r8d, esi
mov edx, 0x2000d
mov rcx, qword [0x14034dbe8]
call fcn.140069c60
mov eax, dword [0x14034db84]
inc eax
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], eax
mov eax, dword [0x14034db68]
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x14034dbe8]
call fcn.140069810
mov rcx, qword [0x14034dbe8]
call fcn.1400711a0
call fcn.140063610
test eax, eax
je 0x14003a440
mov dword [rbp + 0x1f], 0x3127370f
mov dword [rbp + 0x23], 0x3f76657e
mov dword [rbp + 0x27], 0x406879
mov byte [rbp + 0x2b], sil
nop dword [rax]
lea eax, [rdi + 0x40]
xor byte [rbp + rdi + 0x1f], al
inc rdi
cmp rdi, 0xb
jb 0x14003a410
mov byte [rbp + 0x2b], 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.140029600
jmp 0x14003a79d
mov rax, qword [0x14034db30]
test rax, rax
je 0x14003a452
inc dword [rax + 0x3b4]
mov rdx, qword [0x14034db20]
mov ecx, 0x3f18
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov qword [rbp + 0x1f], rax
lea rcx, [rbp + 0x17]
mov qword [rbp + 0x3f], rcx
mov qword [rbp + 0x37], rax
test rax, rax
je 0x14003a487
xor edx, edx
mov rcx, rax
call fcn.140005830
mov rcx, rax
jmp 0x14003a48a
mov rcx, rdi
mov rax, qword [0x14034db30]
test rax, rax
cmove rax, rcx
mov qword [0x14034db30], rax
call fcn.14000ae30
mov rbx, qword [0x14034db30]
mov qword [rbx + 0x20], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
movss xmm3, dword [0x14030e118]
lea rdx, [0x1402fce50]
mov rcx, qword [rbx + 0xa8]
call fcn.140024ad0
xor ecx, ecx
call fcn.140020490
movaps xmm1, xmmword [0x14030e610]
movaps xmm0, xmmword [0x14030e660]
movups xmmword [rbx + 0x1644], xmm0
movups xmmword [rbx + 0x1654], xmm1
movaps xmm0, xmmword [0x14030e6f0]
movups xmmword [rbx + 0x1694], xmm0
movaps xmm1, xmmword [0x14030e690]
movups xmmword [rbx + 0x16b4], xmm1
movaps xmm0, xmmword [0x14030e5b0]
movups xmmword [rbx + 0x1674], xmm0
movaps xmm1, xmmword [0x14030e5c0]
movups xmmword [rbx + 0x1744], xmm1
movaps xmm0, xmmword [0x14030e4f0]
movups xmmword [rbx + 0x1754], xmm0
movaps xmm1, xmmword [0x14030e7d0]
movups xmmword [rbx + 0x1764], xmm1
movaps xmm0, xmmword [0x14030e620]
movups xmmword [rbx + 0x1804], xmm0
movaps xmm1, xmmword [0x14030e630]
movups xmmword [rbx + 0x16c4], xmm1
movaps xmm0, xmm1
movups xmmword [rbx + 0x16e4], xmm1
movups xmmword [rbx + 0x16d4], xmm1
movaps xmm0, xmmword [0x14030e6f0]
movups xmmword [rbx + 0x16a4], xmm0
movaps xmm1, xmmword [0x14030e5b0]
movups xmmword [rbx + 0x1704], xmm1
movaps xmm0, xmmword [0x14030e7e0]
movups xmmword [rbx + 0x1714], xmm0
movaps xmm1, xmmword [0x14030e7f0]
movups xmmword [rbx + 0x1724], xmm1
movaps xmm0, xmm1
movups xmmword [rbx + 0x1734], xmm1
movaps xmm1, xmmword [0x14030e6b0]
movups xmmword [rbx + 0x17a4], xmm1
movaps xmm0, xmmword [0x14030e6c0]
movups xmmword [rbx + 0x17b4], xmm0
movaps xmm1, xmm0
movups xmmword [rbx + 0x17c4], xmm0
movaps xmm0, xmmword [0x14030e610]
movups xmmword [rbx + 0x1664], xmm0
movaps xmm1, xmmword [0x14030e640]
movups xmmword [rbx + 0x1774], xmm1
movaps xmm0, xmmword [0x14030e4e0]
movups xmmword [rbx + 0x1784], xmm0
movaps xmm1, xmmword [0x14030e760]
movups xmmword [rbx + 0x1794], xmm1
mov rcx, qword [0x14034dbe8]
call fcn.140028e70
mov dword [rbp - 9], 0x2e3e2c7a
mov dword [rbp - 5], 0xe30372e
mov dword [rbp - 1], 0x54505341
mov word [rbp + 3], pe_nt_image_headers64
mov rcx, rdi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x59]
xor byte [rbp + rcx - 9], al
inc rcx
cmp rcx, 0xc
jb 0x14003a650
mov byte [rbp + 4], 0
mov dword [rbp + 0x2f], edi
mov dword [rbp + 0x37], edi
lea rdx, [rbp + 0x2f]
mov ecx, 0x821b
call qword [sym.imp.OPENGL32.dll_glGetIntegerv]
lea rdx, [rbp + 0x37]
mov ecx, 0x821c
call qword [sym.imp.OPENGL32.dll_glGetIntegerv]
mov eax, dword [rbp + 0x2f]
test eax, eax
jne 0x14003a6b9
cmp dword [rbp + 0x37], eax
jne 0x14003a6b9
mov ecx, 0x1f02
call qword [sym.imp.OPENGL32.dll_glGetString]
lea r9, [rbp + 0x37]
lea r8, [rbp + 0x2f]
lea rdx, str._d._d
mov rcx, rax
call fcn.140005740
mov eax, dword [rbp + 0x2f]
lea ecx, [rax + rax*4]
mov eax, dword [rbp + 0x37]
lea ecx, [rax + rcx*2]
lea eax, [rcx + rcx*4]
add eax, eax
mov dword [0x14034ddf4], eax
mov rcx, qword [0x14034db30]
lea rdx, str.imgui_impl_opengl3
mov qword [rcx + 0xe0], rdx
cmp eax, 0x140
jb 0x14003a6ed
or dword [rcx + 0xc], 8
mov rdx, rdi
lea rcx, [0x14034de08]
nop word [rax + rax]
movzx eax, byte [rbp + rdx - 9]
mov byte [rdx + rcx], al
lea rdx, [rdx + 1]
test al, al
jne 0x14003a700
dec rcx
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x14003a713
movzx eax, word [0x14030cee8]
mov word [rcx], ax
lea rdx, [rbp + 0x1f]
mov ecx, 0x8069
call qword [sym.imp.OPENGL32.dll_glGetIntegerv]
cmp dword [0x14034ddf4], 0x1c2
setae byte [0x14034dd61]
mov dword [rbp + 0x3f], edi
lea rdx, [rbp + 0x3f]
mov ecx, 0x821d
call qword [sym.imp.OPENGL32.dll_glGetIntegerv]
cmp dword [rbp + 0x3f], 0
jle 0x14003a79d
nop
mov rax, qword [0x1403457d8]
mov edx, edi
mov ecx, 0x1f03
call rax
test rax, rax
je 0x14003a796
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 [0x14034dd61]
test eax, eax
cmove ecx, esi
mov byte [0x14034dd61], cl
inc edi
cmp edi, dword [rbp + 0x3f]
jl 0x14003a760
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14007e450
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret