Function at 0x140019ba0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x38
mov edx, 4
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
lea ecx, [rdx + 0x1c]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
movdqa xmm0, xmmword [0x140050720]
mov ecx, 0x8b31
mov qword [0x140098038], rax
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
movups xmmword [rax + 0x70], xmm0
lea rax, str.version_330________________________nin_vec3_vertexPosition______________nin_vec2_vertexTexCoord______________nin_vec4_vertexColor_________________nout_vec2_fragTexCoord_______________nout_vec4_fragColor__________________nuniform_mat4_mvp____________________nvoid_main___________________________n___________________________________n____fragTexCoord__vertexTexCoord___n____fragColor__vertexColor_________n____gl_Position__mvpvec4_vertexPosition__1.0____n___________________________________n
mov qword [rsp + 0x58], rax
call qword [0x1400959c0]
xor r9d, r9d
lea r8, [rsp + 0x58]
mov ecx, eax
mov edi, eax
lea edx, [r9 + 1]
call qword [0x140096b90]
xor esi, esi
mov ecx, edi
mov dword [rsp + 0x48], esi
call qword [0x140095888]
lea r8, [rsp + 0x48]
mov edx, 0x8b81
mov ecx, edi
call qword [0x140096180]
mov r8d, edi
cmp dword [rsp + 0x48], esi
jne 0x140019cba
lea rdx, str.SHADER:__ID__i__Failed_to_compile_vertex_shader_code
lea ecx, [rsi + 4]
call fcn.1400349a0
lea r8, [rsp + 0x40]
mov dword [rsp + 0x40], esi
mov edx, 0x8b84
mov ecx, edi
call qword [0x140096180]
movsxd rax, dword [rsp + 0x40]
test eax, eax
jle 0x140019ccb
mov rcx, rax
mov dword [rsp + 0x50], esi
lea edx, [rsi + 1]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov edx, dword [rsp + 0x40]
lea r8, [rsp + 0x50]
mov r9, rax
mov ecx, edi
mov rbx, rax
call qword [0x140096160]
mov r9, rbx
lea rdx, str.SHADER:__ID__i__Compile_error:__s
mov r8d, edi
lea ecx, [rsi + 4]
call fcn.1400349a0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140019ccb
lea rdx, str.SHADER:__ID__i__Vertex_shader_compiled_successfully
mov ecx, 3
call fcn.1400349a0
lea rax, str.version_330________nin_vec2_fragTexCoord________________nin_vec4_fragColor___________________nout_vec4_finalColor_________________nuniform_sampler2D_texture0__________nuniform_vec4_colDiffuse_____________nvoid_main___________________________n___________________________________n____vec4_texelColor__texture_texture0__fragTexCoord______n____finalColor__texelColorcolDiffusefragColor__________n___________________________________n
mov dword [0x14009802c], edi
mov ecx, 0x8b30
mov qword [rsp + 0x58], rax
call qword [0x1400959c0]
xor r9d, r9d
lea r8, [rsp + 0x58]
mov ecx, eax
mov edi, eax
lea edx, [r9 + 1]
call qword [0x140096b90]
mov ecx, edi
mov dword [rsp + 0x48], esi
call qword [0x140095888]
lea r8, [rsp + 0x48]
mov edx, 0x8b81
mov ecx, edi
call qword [0x140096180]
mov r8d, edi
cmp dword [rsp + 0x48], esi
jne 0x140019da0
lea rdx, str.SHADER:__ID__i__Failed_to_compile_fragment_shader_code
mov ecx, 4
call fcn.1400349a0
lea r8, [rsp + 0x40]
mov dword [rsp + 0x40], esi
mov edx, 0x8b84
mov ecx, edi
call qword [0x140096180]
movsxd rax, dword [rsp + 0x40]
test eax, eax
jle 0x140019db1
mov rcx, rax
mov dword [rsp + 0x50], esi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov edx, dword [rsp + 0x40]
lea r8, [rsp + 0x50]
mov r9, rax
mov ecx, edi
mov rbx, rax
call qword [0x140096160]
mov r9, rbx
lea rdx, str.SHADER:__ID__i__Compile_error:__s
mov r8d, edi
mov ecx, 4
call fcn.1400349a0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140019db1
lea rdx, str.SHADER:__ID__i__Fragment_shader_compiled_successfully
mov ecx, 3
call fcn.1400349a0
mov ecx, dword [0x14009802c]
mov edx, edi
mov dword [0x140098030], edi
call fcn.140019ec0
mov rdi, qword [rsp + 0x20]
mov r8d, eax
mov rsi, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x30]
mov dword [0x140098034], eax
test eax, eax
je 0x140019ea7
lea rdx, str.SHADER:__ID__i__Default_shader_loaded_successfully
mov ecx, 3
call fcn.1400349a0
mov ecx, dword [0x140098034]
lea rdx, str.vertexPosition
call qword [0x140095e68]
mov rcx, qword [0x140098038]
lea rdx, str.vertexTexCoord
mov dword [rcx], eax
mov ecx, dword [0x140098034]
call qword [0x140095e68]
mov rcx, qword [0x140098038]
lea rdx, str.vertexColor
mov dword [rcx + 4], eax
mov ecx, dword [0x140098034]
call qword [0x140095e68]
mov rcx, qword [0x140098038]
lea rdx, [0x14004f924]
mov dword [rcx + 0x14], eax
mov ecx, dword [0x140098034]
call qword [0x140096278]
mov rcx, qword [0x140098038]
lea rdx, str.colDiffuse
mov dword [rcx + 0x18], eax
mov ecx, dword [0x140098034]
call qword [0x140096278]
mov rcx, qword [0x140098038]
lea rdx, str.texture0
mov dword [rcx + 0x30], eax
mov ecx, dword [0x140098034]
call qword [0x140096278]
mov rcx, qword [0x140098038]
mov dword [rcx + 0x3c], eax
add rsp, 0x38
ret
lea rdx, str.SHADER:__ID__i__Failed_to_load_default_shader
mov ecx, 4
add rsp, 0x38
jmp fcn.1400349a0