Function at 0x140019ae0
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 [0x1400506e0]
mov ecx, 0x8b31
mov qword [0x140097028], 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 [0x1400949b0]
xor r9d, r9d
lea r8, [rsp + 0x58]
mov ecx, eax
mov edi, eax
lea edx, [r9 + 1]
call qword [0x140095b80]
xor esi, esi
mov ecx, edi
mov dword [rsp + 0x48], esi
call qword [0x140094878]
lea r8, [rsp + 0x48]
mov edx, 0x8b81
mov ecx, edi
call qword [0x140095170]
mov r8d, edi
cmp dword [rsp + 0x48], esi
jne 0x140019bfa
lea rdx, str.SHADER:__ID__i__Failed_to_compile_vertex_shader_code
lea ecx, [rsi + 4]
call fcn.1400348e0
lea r8, [rsp + 0x40]
mov dword [rsp + 0x40], esi
mov edx, 0x8b84
mov ecx, edi
call qword [0x140095170]
movsxd rax, dword [rsp + 0x40]
test eax, eax
jle 0x140019c0b
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 [0x140095150]
mov r9, rbx
lea rdx, str.SHADER:__ID__i__Compile_error:__s
mov r8d, edi
lea ecx, [rsi + 4]
call fcn.1400348e0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140019c0b
lea rdx, str.SHADER:__ID__i__Vertex_shader_compiled_successfully
mov ecx, 3
call fcn.1400348e0
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 [0x14009701c], edi
mov ecx, 0x8b30
mov qword [rsp + 0x58], rax
call qword [0x1400949b0]
xor r9d, r9d
lea r8, [rsp + 0x58]
mov ecx, eax
mov edi, eax
lea edx, [r9 + 1]
call qword [0x140095b80]
mov ecx, edi
mov dword [rsp + 0x48], esi
call qword [0x140094878]
lea r8, [rsp + 0x48]
mov edx, 0x8b81
mov ecx, edi
call qword [0x140095170]
mov r8d, edi
cmp dword [rsp + 0x48], esi
jne 0x140019ce0
lea rdx, str.SHADER:__ID__i__Failed_to_compile_fragment_shader_code
mov ecx, 4
call fcn.1400348e0
lea r8, [rsp + 0x40]
mov dword [rsp + 0x40], esi
mov edx, 0x8b84
mov ecx, edi
call qword [0x140095170]
movsxd rax, dword [rsp + 0x40]
test eax, eax
jle 0x140019cf1
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 [0x140095150]
mov r9, rbx
lea rdx, str.SHADER:__ID__i__Compile_error:__s
mov r8d, edi
mov ecx, 4
call fcn.1400348e0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140019cf1
lea rdx, str.SHADER:__ID__i__Fragment_shader_compiled_successfully
mov ecx, 3
call fcn.1400348e0
mov ecx, dword [0x14009701c]
mov edx, edi
mov dword [0x140097020], edi
call fcn.140019e00
mov rdi, qword [rsp + 0x20]
mov r8d, eax
mov rsi, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x30]
mov dword [0x140097024], eax
test eax, eax
je 0x140019de7
lea rdx, str.SHADER:__ID__i__Default_shader_loaded_successfully
mov ecx, 3
call fcn.1400348e0
mov ecx, dword [0x140097024]
lea rdx, str.vertexPosition
call qword [0x140094e58]
mov rcx, qword [0x140097028]
lea rdx, str.vertexTexCoord
mov dword [rcx], eax
mov ecx, dword [0x140097024]
call qword [0x140094e58]
mov rcx, qword [0x140097028]
lea rdx, str.vertexColor
mov dword [rcx + 4], eax
mov ecx, dword [0x140097024]
call qword [0x140094e58]
mov rcx, qword [0x140097028]
lea rdx, [0x14004f924]
mov dword [rcx + 0x14], eax
mov ecx, dword [0x140097024]
call qword [0x140095268]
mov rcx, qword [0x140097028]
lea rdx, str.colDiffuse
mov dword [rcx + 0x18], eax
mov ecx, dword [0x140097024]
call qword [0x140095268]
mov rcx, qword [0x140097028]
lea rdx, str.texture0
mov dword [rcx + 0x30], eax
mov ecx, dword [0x140097024]
call qword [0x140095268]
mov rcx, qword [0x140097028]
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.1400348e0