Function at 0x140037540
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
push rbp
push r14
push r15
lea rbp, [rax - 0x138]
sub rsp, 0x220
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
mov rax, qword [0x1400c6f10]
xor rax, rsp
mov qword [rbp + 0xd0], rax
lea rcx, [0x140037300]
call fcn.140061d30
call fcn.140061a00
test eax, eax
jne 0x140037775
movups xmm0, xmmword [str.V_KtPV4a_2g_8_bGN]
movups xmmword [rbp + 8], xmm0
mov eax, dword [0x1400941c8]
mov dword [rbp + 0x18], eax
movzx eax, word [0x1400941cc]
mov word [rbp + 0x1c], ax
cmp byte [0x1400941cd], 0
je 0x140037760
xor ebx, ebx
cmp dword [0x1400c6f20], 2
jl 0x140037728
movdqa xmm5, xmmword [0x1400943d0]
movdqa xmm4, xmmword [0x140094480]
mov edi, 5
movd xmm6, edi
movdqa xmm7, xmmword [0x1400943f0]
mov esi, 0x1f
movd xmm8, esi
movdqa xmm0, xmmword [str.9999999999999999]
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
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
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
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
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 0x140037620
cmp eax, 0x16
jge 0x140037760
movsxd rax, ebx
lea r8, [rbp + 8]
add r8, rax
mov eax, 0xa0a0a0a1
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, bl
sub al, dl
add al, 0x39
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x16
jl 0x140037732
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.140039ab0
jmp 0x1400385e3
call fcn.140063980
mov rbx, rax
test rax, rax
jne 0x14003795a
movups xmm0, xmmword [0x1400940c8]
movups xmmword [rbp + 8], xmm0
movups xmm1, xmmword [0x1400940d8]
movups xmmword [rbp + 0x18], xmm1
psrldq xmm1, 0xf
movd eax, xmm1
test al, al
je 0x14003793e
cmp dword [0x1400c6f20], 2
jl 0x140037903
movdqa xmm5, xmmword [0x1400943d0]
movdqa xmm4, xmmword [0x140094480]
mov edi, 5
movd xmm6, edi
movdqa xmm7, xmmword [0x1400943f0]
mov esi, 0x1f
movd xmm8, esi
movdqa xmm0, xmmword [str.9999999999999999]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rbp + 0xc]
mov edx, dword [rsp + 0x60]
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
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
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
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
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 0x140037800
jmp 0x14003793e
lea r8, [rbp + 8]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, bl
sub al, cl
add al, 0x39
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x20
jl 0x140037910
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.140026470
jmp 0x1400385e3
mov rcx, rbx
call fcn.140063f50
mov ecx, dword [rax]
mov rax, qword [0x1400d2f58]
mov dword [rax], ecx
mov rcx, rbx
call fcn.140063f50
mov ecx, dword [rax + 4]
mov rax, qword [0x1400d2f58]
mov dword [rax + 4], ecx
mov edx, 1
mov ecx, 0x20007
call fcn.140058e70
xor edx, edx
mov ecx, 0x20003
call fcn.140058e70
mov edx, 1
mov ecx, 0x20008
call fcn.140058e70
mov edx, 1
mov ecx, 0x2000a
call fcn.140058e70
movsd xmm0, qword [str.V_K]
movsd qword [rbp + 8], xmm0
mov eax, dword [0x140094090]
mov dword [rbp + 0x10], eax
movzx eax, byte [0x140094094]
mov byte [rbp + 0x14], al
xor ebx, ebx
mov r8d, ebx
lea edi, [rbx + 5]
lea esi, [rbx + 0x1f]
mov r14d, dword [0x1400c6f20]
cmp r14d, 2
jl 0x140037b02
movdqa xmm4, xmmword [0x140094480]
movd xmm6, edi
movd xmm5, esi
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
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
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.9999999999999999]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.V_K]
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
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
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 dword [rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xd
jl 0x140037b10
mov rax, qword [0x1400d2f58]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, [rbp + 8]
mov edx, dword [rax + 4]
mov ecx, dword [rax]
call fcn.140059640
mov qword [0x1400d2f38], rax
test rax, rax
jne 0x140037d35
movups xmm0, xmmword [0x140094068]
movups xmmword [rbp + 8], xmm0
movsd xmm0, qword [0x140094078]
movsd qword [rbp + 0x18], xmm0
movzx eax, word [0x140094080]
mov word [rbp + 0x20], ax
cmp byte [0x140094081], bl
je 0x140037d20
cmp r14d, 2
jl 0x140037ce8
movdqa xmm5, xmmword [0x1400943d0]
movdqa xmm4, xmmword [0x140094480]
movd xmm6, edi
movdqa xmm7, xmmword [0x1400943f0]
movd xmm8, esi
movdqa xmm0, xmmword [str.9999999999999999]
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
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
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
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
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 0x140037be0
cmp eax, 0x1a
jge 0x140037d20
movsxd rax, ebx
lea r8, [rbp + 8]
add r8, rax
mov eax, 0xa0a0a0a1
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, bl
sub al, dl
add al, 0x39
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x1a
jl 0x140037cf2
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.140039ab0
jmp 0x1400385e3
xor r8d, r8d
mov edx, 0x20005
mov rcx, rax
call fcn.14005af00
mov edx, 0x2000d
mov r8d, 1
mov rcx, qword [0x1400d2f38]
call fcn.14005af00
mov rax, qword [0x1400d2f58]
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 [0x1400d2f38]
call fcn.14005aab0
mov rcx, qword [0x1400d2f38]
call fcn.140062440
mov ecx, 1
call fcn.1400625d0
call fcn.1400548b0
test eax, eax
je 0x140037f7c
movups xmm0, xmmword [0x140094118]
movups xmmword [rbp + 8], xmm0
movups xmm1, xmmword [0x140094128]
movups xmmword [rbp + 0x18], xmm1
mov eax, dword [0x140094138]
mov dword [rbp + 0x28], eax
movzx eax, byte [0x14009413c]
mov byte [rbp + 0x2c], al
cmp r14d, 2
jl 0x140037f28
movdqa xmm5, xmmword [0x1400943d0]
movdqa xmm4, xmmword [0x140094480]
movd xmm6, edi
movdqa xmm7, xmmword [0x1400943f0]
movd xmm8, esi
movdqa xmm0, xmmword [str.9999999999999999]
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
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
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
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
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 0x140037e20
cmp eax, 0x25
jge 0x140037f60
movsxd rax, ebx
lea r8, [rbp + 8]
add r8, rax
mov eax, 0xa0a0a0a1
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, bl
sub al, cl
add al, 0x39
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x25
jl 0x140037f32
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.140026470
jmp 0x1400385e3
mov rax, qword [0x1400cff20]
test rax, rax
je 0x140037f8e
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 0x140037fbb
xor edx, edx
mov rcx, rax
call fcn.140001310
jmp 0x140037fbe
mov rax, rbx
cmp qword [0x1400cff20], 0
jne 0x140037fcf
mov qword [0x1400cff20], rax
mov rcx, rax
call fcn.140006e70
mov r15, qword [0x1400cff20]
xor ecx, ecx
call fcn.14001c8a0
mov rcx, qword [0x1400d2f38]
call fcn.140025ce0
movsd xmm0, qword [0x140094038]
movsd qword [rsp + 0x60], xmm0
mov eax, dword [0x140094040]
mov dword [rsp + 0x68], eax
movzx eax, byte [0x140094044]
mov byte [rsp + 0x6c], al
mov r8d, ebx
cmp r14d, 2
jl 0x14003812f
movdqa xmm4, xmmword [0x140094480]
movd xmm6, edi
movd xmm5, esi
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
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
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.9999999999999999]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x140094038]
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
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
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 word [rax + rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xd
jl 0x140038140
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 0x1400381c8
cmp dword [rbp + 0x30], eax
jne 0x1400381c8
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 [0x1400cfff4], eax
mov rcx, qword [0x1400cff20]
lea rdx, str.imgui_impl_opengl3
mov qword [rcx + 0xe0], rdx
cmp eax, 0x140
jb 0x1400381fc
or dword [rcx + 0xc], 8
mov rdx, rbx
lea rcx, [0x1400d0008]
nop word [rax + rax]
movzx eax, byte [rsp + rdx + 0x60]
mov byte [rdx + rcx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140038210
dec rcx
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x140038223
movzx eax, word [0x14008dc90]
mov word [rcx], ax
lea rdx, [rbp + 8]
mov ecx, 0x8069
call qword [sym.imp.OPENGL32.dll_glGetIntegerv]
cmp dword [0x1400cfff4], 0x1c2
setae byte [0x1400cff61]
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 0x1400382a6
nop
mov rax, qword [0x1400c7c18]
mov edx, edi
mov ecx, 0x1f03
call rax
test rax, rax
je 0x14003829f
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 0x14003829f
mov byte [0x1400cff61], 1
inc edi
cmp edi, dword [rbp + 0x38]
jl 0x140038270
mov r14, qword [r15 + 0xa8]
cmp word [0x1400d0030], 0
jne 0x1400382fe
movups xmm0, xmmword [0x1400c6f68]
movups xmmword [0x1400d0030], xmm0
lea rcx, [0x1400d0040]
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 0x1400382e0
mov word [rcx], bx
movsd xmm0, qword [0x140094180]
movzx eax, byte [0x140094188]
movsd qword [rsp + 0x40], xmm0
mov byte [rsp + 0x40], 0x46
xor byte [rsp + 0x41], 0x3a
xor byte [rsp + 0x42], 0x3b
xor byte [rsp + 0x43], 0x3c
xor byte [rsp + 0x44], 0x3d
xor byte [rsp + 0x45], 0x3e
xor byte [rsp + 0x46], 0x3f
xor byte [rsp + 0x47], 0x40
xor al, 0x41
mov byte [rsp + 0x48], al
lea rdx, [0x14008dc14]
lea rcx, [rsp + 0x40]
call fcn.140002560
mov rbx, rax
test rax, rax
je 0x1400385e3
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x1400385da
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 0x1400385da
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400385da
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 0x1400385da
cmp rdi, 0xffffffffffffffff
je 0x1400385da
mov rax, qword [0x1400cff20]
test rax, rax
je 0x1400383d0
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 0x1400385da
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 0x140038427
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400cff20]
test rax, rax
je 0x140038419
dec dword [rax + 0x3b4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400385e3
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 0x140038588
lea rcx, [rsp + 0x40]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1400384f0
lea r9, [rsp + 0x40]
add r9, rax
lea rax, [rsp + 0x40]
cmp r9, rax
jbe 0x14003852c
nop dword [rax + rax]
lea rcx, [r9 - 1]
movzx eax, byte [rcx]
cmp al, 0x2f
je 0x14003852c
cmp al, 0x5c
je 0x14003852c
mov r9, rcx
lea rax, [rsp + 0x40]
cmp rcx, rax
ja 0x140038510
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, [0x1400d0030]
mov qword [rbp - 0x58], rax
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.140021150
jmp 0x1400385e3
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.14006f220
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop rbp
ret