Function at 0x1400374d0
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x128]
sub rsp, 0x220
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
mov rax, qword [0x1400c6f40]
xor rax, rsp
mov qword [rbp + 0xd0], rax
lea rcx, [0x1400372d0]
call fcn.140061b90
call fcn.140061860
test eax, eax
jne 0x1400376f1
movups xmm0, xmmword [str._ULuSWK__1f0__eFM]
movups xmmword [rbp + 8], xmm0
mov eax, dword [0x140094110]
mov dword [rbp + 0x18], eax
movzx eax, word [0x140094114]
mov word [rbp + 0x1c], ax
cmp byte [0x140094115], 0
je 0x1400376dc
xor ebx, ebx
cmp dword [0x1400c6f90], 2
jl 0x1400376a2
movdqa xmm5, xmmword [0x1400943d0]
movdqa xmm4, xmmword [0x140094450]
movdqa xmm6, xmmword [0x1400943f0]
movdqa xmm0, xmmword [str.8888888888888888]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rbp + 0xc]
mov edx, dword [rsp + 0x60]
nop word [rax + rax]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140094400]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rbx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140094400]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 8]
cmp ebx, 0x10
jl 0x1400375a0
cmp eax, 0x16
jge 0x1400376dc
movsxd rax, ebx
lea r8, [rbp + 8]
add r8, rax
nop dword [rax]
mov eax, 0x5397829d
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, bl
sub al, dl
add al, 0x38
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x16
jl 0x1400376b0
lea rdx, [rbp + 8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140039910
jmp 0x140038503
call fcn.1400637e0
mov rbx, rax
test rax, rax
jne 0x1400378b9
movups xmm0, xmmword [0x140094170]
movups xmmword [rbp + 8], xmm0
movups xmm1, xmmword [0x140094180]
movups xmmword [rbp + 0x18], xmm1
psrldq xmm1, 0xf
movd eax, xmm1
test al, al
je 0x14003789d
cmp dword [0x1400c6f90], 2
jl 0x14003786d
movdqa xmm5, xmmword [0x1400943d0]
movdqa xmm4, xmmword [0x140094450]
movdqa xmm6, xmmword [0x1400943f0]
movdqa xmm0, xmmword [str.8888888888888888]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rbp + 0xc]
mov edx, dword [rsp + 0x60]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140094400]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rbx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140094400]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
lea rcx, [rcx + 8]
cmp ebx, 0x20
jl 0x140037770
jmp 0x14003789d
lea r8, [rbp + 8]
mov eax, 0x5397829d
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
add al, 0x38
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x20
jl 0x140037871
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, [rbp + 8]
mov rcx, rax
call fcn.140026390
jmp 0x140038503
mov rcx, rbx
call fcn.140063db0
mov ecx, dword [rax]
mov rax, qword [0x1400d2fc8]
mov dword [rax], ecx
mov rcx, rbx
call fcn.140063db0
mov ecx, dword [rax + 4]
mov rax, qword [0x1400d2fc8]
mov dword [rax + 4], ecx
mov edx, 1
mov ecx, 0x20007
call fcn.140058cd0
xor edx, edx
mov ecx, 0x20003
call fcn.140058cd0
mov edx, 1
mov ecx, 0x20008
call fcn.140058cd0
mov edx, 1
mov ecx, 0x2000a
call fcn.140058cd0
movsd xmm0, qword [0x140094070]
movsd qword [rbp + 8], xmm0
mov eax, dword [0x140094078]
mov dword [rbp + 0x10], eax
movzx eax, byte [0x14009407c]
mov byte [rbp + 0x14], al
xor ebx, ebx
mov r8d, ebx
mov edi, dword [0x1400c6f90]
cmp edi, 2
jl 0x140037a4d
movdqa xmm4, xmmword [0x140094450]
movdqa xmm2, xmmword [0x1400943d0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400943f0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140094400]
packuswb xmm2, xmm2
mov eax, dword [str.8888888888888888]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x140094070]
xorps xmm2, xmm0
movd dword [rbp + 8], xmm2
movdqa xmm3, xmmword [0x1400943e0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400943f0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140094400]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp + 0xc]
xorps xmm2, xmm1
movd dword [rbp + 0xc], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp + 8]
add r9, rax
nop word [rax + rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xd
jl 0x140037a60
mov rax, qword [0x1400d2fc8]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, [rbp + 8]
mov edx, dword [rax + 4]
mov ecx, dword [rax]
call fcn.1400594a0
mov qword [0x1400d2fa8], rax
test rax, rax
jne 0x140037c71
movups xmm0, xmmword [str.VOWX]
movups xmmword [rbp + 8], xmm0
movsd xmm0, qword [0x140094200]
movsd qword [rbp + 0x18], xmm0
movzx eax, word [0x140094208]
mov word [rbp + 0x20], ax
cmp byte [0x140094209], bl
je 0x140037c5c
cmp edi, 2
jl 0x140037c25
movdqa xmm5, xmmword [0x1400943d0]
movdqa xmm4, xmmword [0x140094450]
movdqa xmm6, xmmword [0x1400943f0]
movdqa xmm0, xmmword [str.8888888888888888]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rbp + 0xc]
mov edx, dword [rsp + 0x60]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140094400]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rbx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140094400]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 8]
cmp ebx, 0x18
jl 0x140037b23
cmp eax, 0x1a
jge 0x140037c5c
movsxd rax, ebx
lea r8, [rbp + 8]
add r8, rax
nop
mov eax, 0x5397829d
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, bl
sub al, dl
add al, 0x38
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x1a
jl 0x140037c30
lea rdx, [rbp + 8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140039910
jmp 0x140038503
xor r8d, r8d
mov edx, 0x20005
mov rcx, rax
call fcn.14005ad60
mov edx, 0x2000d
mov r8d, 1
mov rcx, qword [0x1400d2fa8]
call fcn.14005ad60
mov rax, qword [0x1400d2fc8]
mov edx, dword [rax + 4]
inc edx
mov ecx, dword [rax]
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], ecx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x1400d2fa8]
call fcn.14005a910
mov rcx, qword [0x1400d2fa8]
call fcn.1400622a0
mov ecx, 1
call fcn.140062430
call fcn.140054710
test eax, eax
je 0x140037ea8
movups xmm0, xmmword [str.XSWYY]
movups xmmword [rbp + 8], xmm0
movups xmm1, xmmword [0x1400941b8]
movups xmmword [rbp + 0x18], xmm1
mov eax, dword [0x1400941c8]
mov dword [rbp + 0x28], eax
movzx eax, byte [0x1400941cc]
mov byte [rbp + 0x2c], al
cmp edi, 2
jl 0x140037e52
movdqa xmm5, xmmword [0x1400943d0]
movdqa xmm4, xmmword [0x140094450]
movdqa xmm6, xmmword [0x1400943f0]
movdqa xmm0, xmmword [str.8888888888888888]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rbp + 0xc]
mov edx, dword [rsp + 0x60]
nop dword [rax]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140094400]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rbx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140094400]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 8]
cmp ebx, 0x20
jl 0x140037d50
cmp eax, 0x25
jge 0x140037e8c
movsxd rax, ebx
lea r8, [rbp + 8]
add r8, rax
nop dword [rax]
mov eax, 0x5397829d
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
add al, 0x38
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x25
jl 0x140037e60
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, [rbp + 8]
mov rcx, rax
call fcn.140026390
jmp 0x140038503
mov rax, qword [0x1400cff90]
test rax, rax
je 0x140037eba
inc dword [rax + 0x3b4]
mov ecx, 0x3f18
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 8], rax
lea rcx, [rsp + 0x50]
mov qword [rbp + 0x38], rcx
mov qword [rbp + 0x30], rax
test rax, rax
je 0x140037ee7
xor edx, edx
mov rcx, rax
call fcn.140001310
jmp 0x140037eea
mov rax, rbx
cmp qword [0x1400cff90], 0
jne 0x140037efb
mov qword [0x1400cff90], rax
mov rcx, rax
call fcn.140006e60
mov r14, qword [0x1400cff90]
xor ecx, ecx
call fcn.14001c740
mov rcx, qword [0x1400d2fa8]
call fcn.140025c00
movsd xmm0, qword [0x1400940f0]
movsd qword [rsp + 0x60], xmm0
mov eax, dword [0x1400940f8]
mov dword [rsp + 0x68], eax
movzx eax, byte [0x1400940fc]
mov byte [rsp + 0x6c], al
mov r8d, ebx
cmp edi, 2
jl 0x14003804e
movdqa xmm4, xmmword [0x140094450]
movdqa xmm2, xmmword [0x1400943d0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400943f0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140094400]
packuswb xmm2, xmm2
mov eax, dword [str.8888888888888888]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x1400940f0]
xorps xmm2, xmm0
movd dword [rsp + 0x60], xmm2
movdqa xmm3, xmmword [0x1400943e0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400943f0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140094400]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x64]
xorps xmm2, xmm1
movd dword [rsp + 0x64], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x60]
add r9, rax
nop dword [rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xd
jl 0x140038060
mov dword [rbp], ebx
mov dword [rbp + 0x30], ebx
lea rdx, [rbp]
mov ecx, 0x821b
call qword [sym.imp.OPENGL32.dll_glGetIntegerv]
lea rdx, [rbp + 0x30]
mov ecx, 0x821c
call qword [sym.imp.OPENGL32.dll_glGetIntegerv]
mov eax, dword [rbp]
test eax, eax
jne 0x1400380e5
cmp dword [rbp + 0x30], eax
jne 0x1400380e5
mov ecx, 0x1f02
call qword [sym.imp.OPENGL32.dll_glGetString]
lea r9, [rbp + 0x30]
lea r8, [rbp]
lea rdx, str._d._d
mov rcx, rax
call fcn.140001100
mov eax, dword [rbp]
lea ecx, [rax + rax*4]
mov eax, dword [rbp + 0x30]
lea ecx, [rax + rcx*2]
lea eax, [rcx + rcx*4]
add eax, eax
mov dword [0x1400d0064], eax
mov rcx, qword [0x1400cff90]
lea rdx, str.imgui_impl_opengl3
mov qword [rcx + 0xe0], rdx
cmp eax, 0x140
jb 0x140038119
or dword [rcx + 0xc], 8
mov rdx, rbx
lea rcx, [0x1400d0078]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rsp + rdx + 0x60]
mov byte [rdx + rcx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140038130
dec rcx
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x140038143
movzx eax, word [0x14008dc90]
mov word [rcx], ax
lea rdx, [rbp + 8]
mov ecx, 0x8069
call qword [sym.imp.OPENGL32.dll_glGetIntegerv]
cmp dword [0x1400d0064], 0x1c2
setae byte [0x1400cffd1]
mov dword [rbp + 0x38], ebx
lea rdx, [rbp + 0x38]
mov ecx, 0x821d
call qword [sym.imp.OPENGL32.dll_glGetIntegerv]
mov edi, ebx
cmp dword [rbp + 0x38], ebx
jle 0x1400381c6
nop
mov rax, qword [0x1400c7c88]
mov edx, edi
mov ecx, 0x1f03
call rax
test rax, rax
je 0x1400381bf
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 0x1400381bf
mov byte [0x1400cffd1], 1
inc edi
cmp edi, dword [rbp + 0x38]
jl 0x140038190
mov r14, qword [r14 + 0xa8]
cmp word [0x1400d00a0], 0
jne 0x14003821e
movups xmm0, xmmword [0x1400c6fd8]
movups xmmword [0x1400d00a0], xmm0
lea rcx, [0x1400d00b0]
mov edx, 0x4e00
lea r8, [0x140091e30]
mov r9d, 0xbb7
nop
movsx eax, word [r8]
add edx, eax
mov word [rcx + 2], dx
mov word [rcx], dx
lea r8, [r8 + 2]
lea rcx, [rcx + 4]
sub r9, 1
jne 0x140038200
mov word [rcx], bx
movsd xmm0, qword [str.VTO]
movzx eax, byte [0x140094048]
movsd qword [rsp + 0x40], xmm0
mov byte [rsp + 0x40], 0x46
xor byte [rsp + 0x41], 0x39
xor byte [rsp + 0x42], 0x3a
xor byte [rsp + 0x43], 0x3b
xor byte [rsp + 0x44], 0x3c
xor byte [rsp + 0x45], 0x3d
xor byte [rsp + 0x46], 0x3e
xor byte [rsp + 0x47], 0x3f
xor al, 0x40
mov byte [rsp + 0x48], al
lea rdx, [0x14008dc14]
lea rcx, [rsp + 0x40]
call fcn.140002560
mov rbx, rax
test rax, rax
je 0x140038503
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x1400384fa
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400384fa
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400384fa
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400384fa
cmp rdi, 0xffffffffffffffff
je 0x1400384fa
mov rax, qword [0x1400cff90]
test rax, rax
je 0x1400382f0
inc dword [rax + 0x3b4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1400384fa
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140038347
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400cff90]
test rax, rax
je 0x140038339
dec dword [rax + 0x3b4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140038503
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
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], 1
mov dword [rbp - 0x78], 3
mov dword [rbp - 0x74], 1
mov dword [rbp - 0x4c], 0x7f7fffff
mov dword [rbp - 0x40], 0x3f800000
mov eax, 0xffff
mov word [rbp - 0x3c], ax
movups xmm3, xmmword [rsp + 0x70]
movups xmmword [rbp + 0x40], xmm3
movups xmm4, xmmword [rbp - 0x80]
movups xmmword [rbp + 0x50], xmm4
movups xmmword [rbp + 0x60], xmm2
xorps xmm5, xmm5
movups xmmword [rbp + 0x70], xmm5
movups xmm6, xmmword [rbp - 0x50]
movups xmmword [rbp + 0x80], xmm6
movups xmm1, xmmword [rbp - 0x40]
movups xmmword [rbp + 0x90], xmm1
xorps xmm7, xmm7
movups xmmword [rbp + 0xa0], xmm7
xorps xmm8, xmm8
movups xmmword [rbp + 0xb0], xmm8
movsd xmm9, qword [rbp - 0x10]
movsd qword [rbp + 0xc0], xmm9
mov rbx, rdi
movdqa xmm0, xmm1
psrldq xmm0, 6
movd eax, xmm0
test al, al
jne 0x1400384a8
lea rcx, [rsp + 0x40]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140038410
lea r9, [rsp + 0x40]
add r9, rax
lea rax, [rsp + 0x40]
cmp r9, rax
jbe 0x14003844c
nop dword [rax + rax]
lea rcx, [r9 - 1]
movzx eax, byte [rcx]
cmp al, 0x2f
je 0x14003844c
cmp al, 0x5c
je 0x14003844c
mov r9, rcx
lea rax, [rsp + 0x40]
cmp rcx, rax
ja 0x140038430
movsd xmm0, qword [0x1400942e8]
movsd qword [rsp + 0x20], xmm0
lea r8, str._s___.0fpx
mov edx, 0x28
lea rcx, [rbp + 0x96]
call fcn.140002430
movsd xmm9, qword [rbp + 0xc0]
movups xmm8, xmmword [rbp + 0xb0]
movups xmm7, xmmword [rbp + 0xa0]
movups xmm1, xmmword [rbp + 0x90]
movups xmm6, xmmword [rbp + 0x80]
movups xmm5, xmmword [rbp + 0x70]
movups xmm2, xmmword [rbp + 0x60]
movups xmm4, xmmword [rbp + 0x50]
movups xmm3, xmmword [rbp + 0x40]
movups xmmword [rsp + 0x70], xmm3
movups xmmword [rbp - 0x80], xmm4
movups xmmword [rbp - 0x70], xmm2
movups xmmword [rbp - 0x60], xmm5
movups xmmword [rbp - 0x50], xmm6
movups xmmword [rbp - 0x40], xmm1
movups xmmword [rbp - 0x30], xmm7
movups xmmword [rbp - 0x20], xmm8
movsd qword [rbp - 0x10], xmm9
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x78], ebx
mov dword [rbp - 0x7c], 0x41900000
lea rax, [0x1400d00a0]
mov qword [rbp - 0x58], rax
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.140021010
jmp 0x140038503
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.14006f080
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop rbp
ret