Function at 0x100782c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b7f7b
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x10110040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, edx
mov dword [ebp - 0x68], edi
cmp byte [0x10160610], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x6c], eax
jne 0x1007832c
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
cmp byte [ecx + 0x1795], 0
jne 0x1007832c
add ecx, 0xbd8
push ecx
call fcn.1004efe0
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov byte [eax + 0x1795], 1
mov ecx, dword [edi]
test ecx, ecx
je 0x10078393
cmp dword [ecx + 0x218], 0xcafebabe
jne 0x10078393
mov eax, dword [ecx + 0x48]
test eax, eax
je 0x10078393
cmp dword [eax + 0x3c], 0
je 0x10078393
cmp byte [ecx + 0x44], 0
jne 0x1007835e
cmp byte [ecx + 0x45], 0
jne 0x1007835e
xor al, al
mov byte [ebp - 0x15], al
jmp 0x10078362
mov byte [ebp - 0x15], 1
call fcn.1007cd50
test eax, eax
jne 0x100783b1
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x25
movups xmmword [ecx], xmm0
push str.Error__Destination_texture_ID_is_null
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
call fcn.10003ed0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
call fcn.100335a0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10089573
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov dword [ebp - 0x20], eax
lea esi, [eax + 0xc14]
push esi
call fcn.1008b334
add esp, 4
test eax, eax
jne 0x100799b7
mov eax, dword [esi + 0x2c]
cmp eax, 0x7fffffff
je 0x100799be
mov eax, dword [ebp - 0x20]
push esi
mov al, byte [eax + 0xbe0]
mov byte [ebp - 0x16], al
call fcn.1008b345
add esp, 4
cmp byte [ebp - 0x16], 0
je 0x1007852a
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov dword [ebp - 0x20], eax
lea esi, [eax + 0xc14]
push esi
call fcn.1008b334
add esp, 4
test eax, eax
jne 0x100799c9
mov eax, dword [esi + 0x2c]
cmp eax, 0x7fffffff
je 0x100799d0
mov eax, dword [ebp - 0x20]
push esi
mov eax, dword [eax + 0xbdc]
mov dword [ebp - 0x24], eax
call fcn.1008b345
mov ecx, dword [edi]
add esp, 4
call fcn.1007cd50
cmp dword [ebp - 0x24], eax
jne 0x100784ea
mov edi, dword [sym.Redline.dll_class_VeriteLib__pLib]
lea esi, [edi + 0xc14]
push esi
call fcn.1008b334
add esp, 4
test eax, eax
jne 0x100799db
mov eax, dword [esi + 0x2c]
cmp eax, 0x7fffffff
je 0x100799e2
mov edi, dword [edi + 0xc00]
push esi
call fcn.1008b345
mov esi, dword [ebp - 0x68]
add esp, 4
mov eax, dword [esi]
cmp edi, dword [eax + 0x4c]
jne 0x100784e8
mov edi, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x20], eax
lea esi, [edi + 0xc14]
push esi
call fcn.1008b334
add esp, 4
test eax, eax
jne 0x100799ed
mov eax, dword [esi + 0x2c]
cmp eax, 0x7fffffff
je 0x100799f4
mov edi, dword [edi + 0xc04]
push esi
call fcn.1008b345
add esp, 4
cmp edi, dword [ebp - 0x20]
je 0x10078393
mov edi, dword [ebp - 0x68]
jmp 0x100784ea
mov edi, esi
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
add ecx, 0xbd8
call fcn.1004fb30
call dword [sym.imp.OPENGL32.dll_glGetError]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x1007852a
sub esp, 0x18
lea edx, [ebp - 0x1c]
mov ecx, esp
push 0x26
push str.After_stopping_capture_during_entry_
call fcn.1001d580
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
add esp, 8
call fcn.100335a0
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
cmp byte [eax + 0xaf], 0
je 0x10078a14
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
push 0x8069
call dword [sym.imp.OPENGL32.dll_glGetIntegerv]
mov ecx, dword [edi]
mov esi, dword [ecx + 0x4c]
mov eax, dword [ecx + 0x50]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x64], eax
call fcn.1007cd50
mov edx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov dword [ebp - 0x1c], eax
cmp byte [edx + 0xaf], 0
mov al, byte [edx + 0xc4]
mov dword [ebp - 0x20], eax
je 0x1007858c
mov ecx, dword [edi]
cmp byte [ecx + 0x44], 0
je 0x1007858c
mov cl, 1
jmp 0x1007858e
xor cl, cl
push dword [ebp - 0x20]
mov eax, dword [edi]
movss xmm0, dword [edx + 0xc0]
movss xmm1, dword [edx + 0xbc]
movss xmm3, dword [edx + 0xb8]
movss xmm2, dword [edx + 0xb4]
push ecx
push dword [eax + 0x50]
lea ecx, [ebp - 0x44]
push dword [eax + 0x4c]
sub esp, 8
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
push dword [edx + 0x868]
call fcn.10011850
mov eax, dword [edi]
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov al, byte [eax + 0x45]
push eax
push dword [ebp - 0x64]
lea ecx, [ecx + 0xbd8]
push esi
push dword [ebp - 0x1c]
call fcn.1004f4b0
test al, al
je 0x100788cd
lea eax, [ebp - 0x15]
push eax
push 0xb72
call dword [sym.imp.OPENGL32.dll_glGetBooleanv]
cmp byte [ebp - 0x15], 0
jne 0x10078619
push 1
call dword [sym.imp.OPENGL32.dll_glDepthMask]
push 0x100
call dword [sym.imp.OPENGL32.dll_glClear]
call dword [sym.imp.OPENGL32.dll_glGetError]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x100786ac
cmp eax, 0x502
jne 0x1007863f
mov ecx, str.GL_INVALID_OPERATION
jmp 0x1007867e
cmp eax, 0x500
jne 0x1007864d
mov ecx, str.GL_INVALID_ENUM
jmp 0x1007867e
cmp eax, 0x501
jne 0x1007865b
mov ecx, str.GL_INVALID_VALUE
jmp 0x1007867e
cmp eax, 0x503
jne 0x10078669
mov ecx, str.GL_STACK_OVERFLOW
jmp 0x1007867e
mov esi, str.GL_OUT_OF_MEMORY
cmp eax, 0x504
mov ecx, str.GL_STACK_UNDERFLOW
cmovne ecx, esi
mov esi, dword [ebp - 0x60]
sub esp, 0x18
mov dword [ebp - 0x60], ecx
mov ecx, esp
lea eax, [ebp - 0x1c]
lea edx, [ebp - 0x60]
push str.SetRenderBuffers_During_glClear__z_
push eax
push 0x15
push str.GL_Error_____:_
call fcn.10003df0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
add esp, 0x10
call fcn.100335a0
cmp byte [ebp - 0x15], 0
jne 0x100786ba
push 0
call dword [sym.imp.OPENGL32.dll_glDepthMask]
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov ecx, dword [edi]
push 0x1701
mov dword [eax + 0xbd4], ecx
call dword [sym.imp.OPENGL32.dll_glMatrixMode]
call dword [sym.imp.OPENGL32.dll_glLoadIdentity]
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov dword [eax + 0x85c], edx
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov dword [eax + 0x860], ecx
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov dword [eax + 0xddc], edx
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov dword [eax + 0xde0], ecx
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov dword [eax + 0x40], 0
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov dword [eax + 0x44], 0
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov eax, dword [ecx + 0x85c]
mov dword [ecx + 0x48], eax
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov eax, dword [ecx + 0x860]
mov dword [ecx + 0x4c], eax
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
push dword [eax + 0x4c]
push dword [eax + 0x48]
push dword [eax + 0x44]
push dword [eax + 0x40]
call dword [sym.imp.OPENGL32.dll_glViewport]
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov eax, dword [ecx + 0x40]
mov dword [ecx + 0x50], eax
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov eax, dword [ecx + 0x44]
mov dword [ecx + 0x54], eax
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov eax, dword [ecx + 0x48]
mov dword [ecx + 0x58], eax
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov eax, dword [ecx + 0x4c]
mov dword [ecx + 0x5c], eax
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
cmp byte [eax + 0x19e], 0
je 0x100787a7
push dword [eax + 0x5c]
push dword [eax + 0x58]
push dword [eax + 0x54]
push dword [eax + 0x50]
call dword [sym.imp.OPENGL32.dll_glScissor]
mov eax, dword [ebp - 0x64]
sub esp, 0x30
movaps xmm0, xmmword [0x10100fd0]
xorps xmm1, xmm1
movups xmmword [esp + 0x20], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movsd qword [esp + 0x18], xmm1
addsd xmm0, qword [eax*8 + 0x10100fe0]
movsd qword [esp + 0x10], xmm0
movd xmm0, esi
cvtdq2pd xmm0, xmm0
shr esi, 0x1f
addsd xmm0, qword [esi*8 + 0x10100fe0]
movsd qword [esp + 8], xmm0
movsd qword [esp], xmm1
call dword [sym.imp.OPENGL32.dll_glOrtho]
call dword [sym.imp.OPENGL32.dll_glGetError]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x10078830
sub esp, 0x18
lea edx, [ebp - 0x1c]
mov ecx, esp
push 0x25
push str.After_starting_capturing_rendering_
call fcn.1001d580
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
add esp, 8
call fcn.100335a0
mov eax, dword [edi]
push edi
mov cl, byte [eax + 0x114]
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov byte [eax + 0xad7], cl
call fcn.1002c2f0
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x1007886d
push edi
call fcn.1002c2f0
mov ecx, eax
call fcn.10073550
push edi
call fcn.1002c2f0
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x1007886d
mov dword [eax + 4], ecx
mov ecx, dword [edi]
mov al, byte [ecx + 0x221]
mov byte [ecx + 0x221], 0
test al, al
je 0x100795b3
mov ecx, dword [edi]
mov eax, dword [ecx + 0x50]
mov esi, dword [ecx + 0x4c]
mov dword [ebp - 0x60], eax
call fcn.1007cbd0
sub esp, 0xc
mov dword [esp + 8], 0
push 0
sub esp, 0x14
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0
mov dword [esp], 0
push eax
push dword [ebp - 0x60]
push esi
jmp 0x1007959e
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
lea eax, [ebp - 0x88]
push eax
lea ecx, [ecx + 0xbd8]
call fcn.1004fd70
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0xf
jbe 0x100788f1
mov eax, dword [eax]
mov ecx, dword [edi]
mov dword [ebp - 0x60], eax
call fcn.1007cb20
mov edi, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov dword [ebp - 0x20], eax
lea esi, [edi + 0xc14]
push esi
call fcn.1008b334
add esp, 4
test eax, eax
jne 0x100799ff
mov eax, dword [esi + 0x2c]
cmp eax, 0x7fffffff
je 0x10079a06
mov edi, dword [edi + 0xbe4]
push esi
call fcn.1008b345
lea eax, [ebp - 0x60]
mov dword [ebp - 0x64], edi
push eax
lea eax, [ebp - 0x20]
push eax
push 0x6d
push str.SetRenderBuffers_Could_not_install_render_buffer_to_texture_target__eror_0:08X__0__texID_1__details_2
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x3c]
call fcn.10079a40
add esp, 0x14
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x74]
cmp ecx, 0xf
jbe 0x10078990
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10078986
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10079a11
push ecx
push edx
call fcn.100899b0
add esp, 8
sub esp, 0x18
mov dword [ebp - 0x78], 0
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x74], 0xf
mov ecx, esp
mov byte [ebp - 0x88], 0
push eax
call fcn.100138d0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
call fcn.100335a0
sub esp, 0x18
lea eax, [ebp - 0x3c]
mov ecx, esp
push eax
call fcn.100138d0
mov ecx, 0x42a
call fcn.10051210
mov byte [ebp - 4], 0
add esp, 0x18
mov ecx, dword [ebp - 0x28]
cmp ecx, 0xf
jbe 0x1007965f
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10079655
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10079a16
jmp 0x10079655
mov dl, byte [ebp - 0x15]
test dl, dl
jne 0x10078a23
cmp byte [eax + 0x1f2], dl
jne 0x10078a3f
cmp byte [eax + 0x1c8], 0
je 0x10078a43
test dl, dl
je 0x10078a43
cmp byte [eax + 0x1e4], 0
je 0x10078a43
cmp dword [ebp - 0x6c], 3
jne 0x10078a43
mov cl, 1
jmp 0x10078a45
xor cl, cl
mov byte [ebp - 0x15], cl
test dl, dl
je 0x10078e7e
test cl, cl
jne 0x10078e7e
mov byte [eax + 0xb14], cl
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
cmp byte [eax + 0x1b0], cl
je 0x10078a76
push 0xb90
call dword [sym.imp.OPENGL32.dll_glEnable]
push 0x100
call dword [sym.imp.OPENGL32.dll_glClear]
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
cmp byte [eax + 0xac], 0
jne 0x10078ad9
lea eax, [ebp - 0x15]
push eax
push 0xb72
call dword [sym.imp.OPENGL32.dll_glGetBooleanv]
cmp byte [ebp - 0x15], 0
mov esi, dword [sym.imp.OPENGL32.dll_glDepthMask]
jne 0x10078aae
push 1
call esi
movsd xmm0, qword [0x10100e60]
sub esp, 8
movsd qword [esp], xmm0
call dword [sym.imp.OPENGL32.dll_glClearDepth]
push 0x100
call dword [sym.imp.OPENGL32.dll_glClear]
cmp byte [ebp - 0x15], 0
jne 0x10078ad9
push 0
call esi
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov ecx, dword [edi]
push 0x1701
mov dword [eax + 0xbd4], ecx
call dword [sym.imp.OPENGL32.dll_glMatrixMode]
call dword [sym.imp.OPENGL32.dll_glLoadIdentity]
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
lea eax, [ecx + 0xdf4]
push eax
push dword [ecx + 0x868]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
movzx eax, byte [ecx + 0xc4]
movss xmm0, dword [ecx + 0xc0]
movss xmm3, dword [ecx + 0xb8]
movss xmm2, dword [ecx + 0xb4]
push eax
movzx eax, byte [ecx + 0x828]
push eax
push dword [ecx + 0xe00]
push dword [ecx + 0xdfc]
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [ecx + 0xbc]
movss dword [esp], xmm0
push dword [ecx + 0x868]
lea ecx, [ebp - 0x44]
call fcn.10011850
cvttss2si ecx, dword [ebp - 0x2c]
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov esi, dword [ebp - 0x34]
mov dword [eax + 0x40], ecx
cvttss2si ecx, dword [ebp - 0x28]
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov dword [eax + 0x44], ecx
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov ecx, dword [ebp - 0x30]
mov dword [eax + 0x48], esi
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov dword [eax + 0x4c], ecx
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
push dword [eax + 0x4c]
push dword [eax + 0x48]
push dword [eax + 0x44]
push dword [eax + 0x40]
call dword [sym.imp.OPENGL32.dll_glViewport]
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov eax, dword [ecx + 0x40]
mov dword [ecx + 0x50], eax
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov eax, dword [ecx + 0x44]
mov dword [ecx + 0x54], eax
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov eax, dword [ecx + 0x48]
mov dword [ecx + 0x58], eax
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov eax, dword [ecx + 0x4c]
mov dword [ecx + 0x5c], eax
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
cmp byte [eax + 0x19e], 0
je 0x10078c0a
push dword [eax + 0x5c]
push dword [eax + 0x58]
push dword [eax + 0x54]
push dword [eax + 0x50]
call dword [sym.imp.OPENGL32.dll_glScissor]
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov ecx, dword [ebp - 0x30]
mov dword [eax + 0x85c], esi
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov dword [eax + 0x860], ecx
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov dword [eax + 0xddc], esi
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov esi, dword [ebp - 0x6c]
mov dword [eax + 0xde0], ecx
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
cmp byte [eax + 0x1c8], 0
jne 0x10078c59
mov ecx, dword [edi]
push esi
call fcn.1007c5f0
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov dword [ecx + 0xb18], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push 0xc01
call dword [sym.imp.OPENGL32.dll_glGetIntegerv]
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
cmp byte [eax + 0x1c8], 0
je 0x10078cc8
test esi, esi
jne 0x10078ca0
push 0x404
call dword [sym.imp.OPENGL32.dll_glDrawBuffer]
call dword [sym.imp.OPENGL32.dll_glFlush]
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov byte [eax + 0x328], 0
jmp 0x10078cfd
cmp dword [ebp - 0x1c], 0x404
jne 0x10078caf
call dword [sym.imp.OPENGL32.dll_glFlush]
push 0x405
call dword [sym.imp.OPENGL32.dll_glDrawBuffer]
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov byte [eax + 0x328], 1
jmp 0x10078cfd
cmp dword [eax + 0xd3c], esi
jne 0x10078ce3
push 0x404
call dword [sym.imp.OPENGL32.dll_glDrawBuffer]
call dword [sym.imp.OPENGL32.dll_glFlush]
jmp 0x10078cfd
cmp dword [ebp - 0x1c], 0x404
jne 0x10078cf2
call dword [sym.imp.OPENGL32.dll_glFlush]
push 0x405
call dword [sym.imp.OPENGL32.dll_glDrawBuffer]
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
sub esp, 0x30
movaps xmm0, xmmword [0x10100fd0]
mov byte [eax + 0xb1d], 0
mov edx, dword [edi]
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov eax, dword [edx + 0x50]
add eax, dword [ecx + 0x17c]
movd xmm2, eax
cvtdq2pd xmm2, xmm2
shr eax, 0x1f
addsd xmm2, qword [eax*8 + 0x10100fe0]
mov eax, dword [edx + 0x4c]
add eax, dword [ecx + 0x178]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x10100fe0]
movups xmmword [esp + 0x20], xmm0
xorps xmm0, xmm0
movsd qword [esp + 0x18], xmm0
movsd qword [esp + 0x10], xmm2
movsd qword [esp + 8], xmm1
movsd qword [esp], xmm0
call dword [sym.imp.OPENGL32.dll_glOrtho]
push edi
call fcn.1002c2f0
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x10078da4
push edi
call fcn.1002c2f0
mov ecx, eax
call fcn.10073550
push edi
call fcn.1002c2f0
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x10078da4
mov dword [eax + 4], ecx
cmp byte [ebp - 0x16], 0
mov edi, dword [sym.Redline.dll_class_VeriteLib__pLib]
je 0x10079673
cmp byte [edi + 0xc4c], 0
je 0x10079673
lea esi, [edi + 0xc14]
push esi
call fcn.1008b334
add esp, 4
test eax, eax
jne 0x10079a1b
mov eax, dword [esi + 0x2c]
cmp eax, 0x7fffffff
je 0x10079a22
mov edi, dword [edi + 0xbdc]
push esi
call fcn.1008b345
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
add esp, 4
mov dword [eax + 0xc54], edi
mov edi, dword [sym.Redline.dll_class_VeriteLib__pLib]
cmp byte [edi + 0xc52], 0
je 0x10079673
cmp byte [edi + 0x1f2], 0
je 0x10078e26
movsd xmm0, qword [0x10100e50]
jmp 0x10078e2e
movsd xmm0, qword [0x10100e40]
sub esp, 0xc
xor edx, edx
cvtpd2ps xmm0, xmm0
mov dword [esp + 8], 0
lea ecx, [edx + 0x78]
push 0
sub esp, 0x14
movss dword [esp + 0xc], xmm0
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0
mov dword [esp], 0
push dword [edi + 0xc54]
push 0x4b
push 0x190
call fcn.1007db60
add esp, 0x30
jmp 0x1007966d
mov byte [eax + 0x328], 1
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov byte [eax + 0xb14], 1
test cl, cl
jne 0x10078e9c
mov ecx, dword [edi]
call fcn.1007d690
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
cmp byte [eax + 0x1b0], 0
je 0x10078eb5
push 0xb90
call dword [sym.imp.OPENGL32.dll_glDisable]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
push 0x8069
call dword [sym.imp.OPENGL32.dll_glGetIntegerv]
push 0
push 0xde1
call dword [sym.imp.OPENGL32.dll_glBindTexture]
cmp byte [ebp - 0x15], 0
je 0x100790d7
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
cmp byte [ecx + 0x1e4], 0
je 0x10078efe
mov byte [ecx + 0x217], 1
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
lea eax, [ecx + 0xdf4]
push eax
push dword [ecx + 0x868]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
movzx eax, byte [ecx + 0xc4]
movss xmm0, dword [ecx + 0xc0]
movss xmm3, dword [ecx + 0xb8]
movss xmm2, dword [ecx + 0xb4]
push eax
movzx eax, byte [ecx + 0x828]
push eax
push dword [ecx + 0xe00]
push dword [ecx + 0xdfc]
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [ecx + 0xbc]
movss dword [esp], xmm0
push dword [ecx + 0x868]
lea ecx, [ebp - 0x44]
call fcn.10011850
mov ecx, dword [edi]
movups xmm2, xmmword [eax + 0x10]
movups xmm0, xmmword [eax]
movd edx, xmm2
movups xmmword [ebp - 0x90], xmm0
mov eax, edx
psrldq xmm2, 4
shr eax, 0x1f
movd esi, xmm2
movd xmm0, edx
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x10100fe0]
mov eax, dword [ecx + 0x4c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10100fe0]
mov eax, esi
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movd xmm0, esi
cvtdq2pd xmm0, xmm0
movss dword [ecx + 0x304], xmm1
addsd xmm0, qword [eax*8 + 0x10100fe0]
mov eax, dword [ecx + 0x50]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10100fe0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [ecx + 0x308], xmm1
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov ecx, dword [edi]
cmp byte [eax + 0x1f3], 0
je 0x10079027
cmp dword [ecx + 0x4c], 0x280
jae 0x1007904e
cmp byte [eax + 0x1f2], 0
je 0x1007904e
movd xmm0, edx
cvtdq2pd xmm0, xmm0
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x10100fe0]
mulsd xmm0, qword [0x10100e58]
jmp 0x10079062
movd xmm0, edx
cvtdq2pd xmm0, xmm0
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x10100fe0]
call fcn.100b1960
mov edx, dword [edi]
mov ecx, dword [edx + 0x4c]
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
cmp byte [eax + 0x1f3], 0
je 0x1007908a
cmp ecx, 0x280
jae 0x100790b1
cmp byte [eax + 0x1f2], 0
je 0x100790b1
movd xmm0, esi
cvtdq2pd xmm0, xmm0
shr esi, 0x1f
addsd xmm0, qword [esi*8 + 0x10100fe0]
mulsd xmm0, qword [0x10100e58]
jmp 0x100790c5
movd xmm0, esi
cvtdq2pd xmm0, xmm0
shr esi, 0x1f
addsd xmm0, qword [esi*8 + 0x10100fe0]
call fcn.100b1960
mov ecx, dword [edi]
mov esi, eax
cmp esi, dword [ecx + 0x50]
cmovb esi, dword [ecx + 0x50]
jmp 0x100790e2
mov eax, dword [edi]
mov ecx, dword [eax + 0x4c]
mov esi, dword [eax + 0x50]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [edi]
mov dword [ebp - 0x64], esi
call fcn.1007cd50
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov edx, eax
add ecx, 0xbd8
cmp byte [ebp - 0x15], 0
je 0x10079104
xor al, al
jmp 0x10079109
mov eax, dword [edi]
mov al, byte [eax + 0x45]
push eax
push esi
push dword [ebp - 0x1c]
push edx
call fcn.1004f4b0
test al, al
je 0x100795c4
push 0x8ce0
call dword [sym.imp.OPENGL32.dll_glDrawBuffer]
call dword [sym.imp.OPENGL32.dll_glGetError]
mov ecx, eax
mov esi, str.GL_STACK_UNDERFLOW
mov dword [ebp - 0x60], ecx
test ecx, ecx
je 0x100791b5
cmp ecx, 0x502
jne 0x1007914a
mov edx, str.GL_INVALID_OPERATION
jmp 0x10079187
cmp ecx, 0x500
jne 0x10079159
mov edx, str.GL_INVALID_ENUM
jmp 0x10079187
cmp ecx, 0x501
jne 0x10079168
mov edx, str.GL_INVALID_VALUE
jmp 0x10079187
cmp ecx, 0x503
jne 0x10079177
mov edx, str.GL_STACK_OVERFLOW
jmp 0x10079187
cmp ecx, 0x504
mov edx, esi
mov eax, str.GL_OUT_OF_MEMORY
cmovne edx, eax
sub esp, 0x18
mov dword [ebp - 0x5c], edx
mov ecx, esp
lea eax, [ebp - 0x60]
lea edx, [ebp - 0x5c]
push str.SetRenderBuffers_GL_COLOR_ATTACHMENT0
push eax
push 0x15
push str.GL_Error_____:_
call fcn.10003df0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
add esp, 0x10
call fcn.100335a0
lea eax, [ebp - 0x16]
push eax
push 0xb72
call dword [sym.imp.OPENGL32.dll_glGetBooleanv]
cmp byte [ebp - 0x16], 0
jne 0x100791d2
push 1
call dword [sym.imp.OPENGL32.dll_glDepthMask]
push 0x100
call dword [sym.imp.OPENGL32.dll_glClear]
cmp byte [ebp - 0x16], 0
jne 0x100791eb
push 0
call dword [sym.imp.OPENGL32.dll_glDepthMask]
mov ecx, dword [edi]
push 0
call fcn.1007c5f0
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
push 0x1701
mov dword [ecx + 0xb18], eax
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov ecx, dword [edi]
mov dword [eax + 0xbd4], ecx
call dword [sym.imp.OPENGL32.dll_glMatrixMode]
call dword [sym.imp.OPENGL32.dll_glLoadIdentity]
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x64]
mov dword [eax + 0x85c], edx
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov dword [eax + 0x860], ecx
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov dword [eax + 0xddc], edx
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov dword [eax + 0xde0], ecx
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov dword [eax + 0x40], 0
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov dword [eax + 0x44], 0
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov eax, dword [ecx + 0x85c]
mov dword [ecx + 0x48], eax
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov eax, dword [ecx + 0x860]
mov dword [ecx + 0x4c], eax
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
push dword [eax + 0x4c]
push dword [eax + 0x48]
push dword [eax + 0x44]
push dword [eax + 0x40]
call dword [sym.imp.OPENGL32.dll_glViewport]
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov eax, dword [ecx + 0x40]
mov dword [ecx + 0x50], eax
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov eax, dword [ecx + 0x44]
mov dword [ecx + 0x54], eax
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov eax, dword [ecx + 0x48]
mov dword [ecx + 0x58], eax
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov eax, dword [ecx + 0x4c]
mov dword [ecx + 0x5c], eax
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
cmp byte [eax + 0x19e], 0
je 0x100792ed
push dword [eax + 0x5c]
push dword [eax + 0x58]
push dword [eax + 0x54]
push dword [eax + 0x50]
call dword [sym.imp.OPENGL32.dll_glScissor]
cmp byte [ebp - 0x15], 0
je 0x100792fd
mov eax, dword [edi]
mov ecx, dword [eax + 0x4c]
mov eax, dword [eax + 0x50]
jmp 0x10079303
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x1c]
movaps xmm0, xmmword [0x10100fd0]
sub esp, 0x30
xorps xmm1, xmm1
movups xmmword [esp + 0x20], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10100fe0]
movsd qword [esp + 0x18], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
movsd qword [esp + 0x10], xmm1
addsd xmm0, qword [ecx*8 + 0x10100fe0]
movsd qword [esp + 8], xmm0
movsd qword [esp], xmm1
call dword [sym.imp.OPENGL32.dll_glOrtho]
call dword [sym.imp.OPENGL32.dll_glGetError]
call dword [sym.imp.OPENGL32.dll_glGetError]
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x100793e0
cmp eax, 0x502
jne 0x1007937b
mov esi, str.GL_INVALID_OPERATION
jmp 0x100793b2
cmp eax, 0x500
jne 0x10079389
mov esi, str.GL_INVALID_ENUM
jmp 0x100793b2
cmp eax, 0x501
jne 0x10079397
mov esi, str.GL_INVALID_VALUE
jmp 0x100793b2
cmp eax, 0x503
jne 0x100793a5
mov esi, str.GL_STACK_OVERFLOW
jmp 0x100793b2
cmp eax, 0x504
mov eax, str.GL_OUT_OF_MEMORY
cmovne esi, eax
sub esp, 0x18
mov dword [ebp - 0x60], esi
mov ecx, esp
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x60]
push str.After_initiating_render_to_texture
push eax
push 0x15
push str.GL_Error_____:_
call fcn.10003df0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
add esp, 0x10
call fcn.100335a0
mov eax, dword [edi]
push edi
mov cl, byte [eax + 0x114]
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov byte [eax + 0xad7], cl
mov eax, dword [edi]
mov ecx, dword [eax + 0x4c]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], eax
call fcn.1002c2f0
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x1007942b
push edi
call fcn.1002c2f0
mov ecx, eax
call fcn.10073550
push edi
call fcn.1002c2f0
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x1007942b
mov dword [eax + 4], ecx
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
cmp byte [eax + 0x1ef], 0
je 0x1007954e
lea esi, [eax + 0xb18]
lea ecx, [eax + 0x3fc]
push esi
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x5c], ecx
push eax
call fcn.100115f0
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
jne 0x1007954e
mov eax, dword [esi]
cmp eax, dword [ecx + 0x10]
jb 0x1007954e
mov ecx, dword [ebp - 0x5c]
push esi
call fcn.100254e0
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
xor edx, edx
mov esi, dword [sym.imp.OPENGL32.dll_glScissor]
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movd eax, xmm0
psrldq xmm0, 0xc
movups xmmword [ebp - 0x80], xmm1
sub eax, dword [ecx + 0xb18]
mov ecx, dword [edi]
shr eax, 1
div dword [ecx + 0x4c]
movd ecx, xmm1
push ecx
movd ecx, xmm0
push ecx
push eax
push edx
call esi
movups xmm0, xmmword [ebp - 0x80]
sub esp, 0x10
movss xmm1, dword [0x10100f20]
psrldq xmm0, 0xc
movd ecx, xmm0
mov dword [esp + 0xc], 0x3f800000
mov al, cl
shl al, 3
movzx eax, al
movd xmm0, eax
mov eax, ecx
cvtdq2ps xmm0, xmm0
shr eax, 3
and eax, 0xfc
shr ecx, 8
and ecx, 0xf8
divss xmm0, xmm1
movss dword [esp + 8], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [esp + 4], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [esp], xmm0
call dword [sym.imp.OPENGL32.dll_glClearColor]
push 0x4000
call dword [sym.imp.OPENGL32.dll_glClear]
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
cmp byte [eax + 0x19e], 0
je 0x1007954e
push dword [eax + 0x5c]
push dword [eax + 0x58]
push dword [eax + 0x54]
push dword [eax + 0x50]
call esi
mov ecx, dword [edi]
mov al, byte [ecx + 0x221]
mov byte [ecx + 0x221], 0
test al, al
je 0x100795b3
mov ecx, dword [edi]
call fcn.1007cbd0
sub esp, 0xc
mov dword [esp + 8], 0
push 0
sub esp, 0x14
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0
mov dword [esp], 0
push eax
push dword [ebp - 0x60]
push dword [ebp - 0x64]
xor edx, edx
xor ecx, ecx
call fcn.1007db60
mov eax, dword [edi]
add esp, 0x30
mov byte [eax + 0x210], 1
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov byte [eax + 0xb1d], 0
jmp 0x1007965f
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
lea eax, [ebp - 0x88]
push eax
lea ecx, [ecx + 0xbd8]
call fcn.1004fd70
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0xf
jbe 0x100795e8
mov eax, dword [eax]
mov ecx, dword [edi]
mov dword [ebp - 0x5c], eax
call fcn.1007cb20
mov edi, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov dword [ebp - 0x60], eax
lea esi, [edi + 0xc14]
push esi
call fcn.1008b334
add esp, 4
test eax, eax
jne 0x10079a2d
mov eax, dword [esi + 0x2c]
cmp eax, 0x7fffffff
je 0x10079a34
mov edi, dword [edi + 0xbe4]
push esi
call fcn.1008b345
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x20], edi
push eax
lea eax, [ebp - 0x60]
push eax
push 0x6d
push str.SetRenderBuffers_Could_not_install_render_buffer_to_texture_target__eror_0:08X__0__texID_1__details_2
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x3c]
call fcn.10079a40
add esp, 0x14
mov byte [ebp - 4], 6
jmp 0x10078959
push ecx
push edx
call fcn.100899b0
add esp, 8
push dword [ebp - 0x24]
push 0xde1
call dword [sym.imp.OPENGL32.dll_glBindTexture]
mov edi, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov esi, dword [ebp - 0x68]
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x64], eax
mov ecx, dword [esi]
cmp byte [ecx + 0x44], al
je 0x100796c5
test ecx, ecx
je 0x100796c0
cmp dword [ecx + 0x218], 0xcafebabe
jne 0x100796c0
mov edx, dword [ecx + 0x48]
test edx, edx
je 0x100796c0
mov edx, dword [edx + 0x3c]
mov dword [ebp - 0x5c], edx
test edx, edx
je 0x100796c0
mov esi, dword [ebp - 0x5c]
mov eax, dword [edi + 0xb18]
sub eax, dword [edx + 0x5c]
xor edx, edx
div dword [esi + 0x14]
mov esi, dword [ebp - 0x68]
jmp 0x100796c2
xor eax, eax
mov dword [ebp - 0x64], eax
cmp byte [edi + 0x1fe], 0
je 0x1007995a
push eax
call fcn.1007c5f0
cmp eax, dword [edi + 0x3f8]
jae 0x10079954
mov ecx, eax
mov edx, 1
and ecx, 0x1f
shr eax, 5
shl edx, cl
mov dword [ebp - 0x5c], eax
mov eax, dword [edi + 0x3ec]
mov ecx, dword [ebp - 0x5c]
test dword [eax + ecx*4], edx
je 0x10079954
mov ecx, dword [esi]
mov esi, 0x1e0
push dword [ebp - 0x64]
mov edi, dword [sym.Redline.dll_class_VeriteLib__pLib]
cmp dword [ecx + 0x50], esi
cmovb esi, dword [ecx + 0x50]
imul esi, dword [ecx + 0x4c]
add esi, esi
call fcn.1007c5f0
push esi
push eax
lea ecx, [edi + 0x3ec]
call fcn.100401b0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
push 0x8069
call dword [sym.imp.OPENGL32.dll_glGetIntegerv]
call fcn.1007d160
mov esi, eax
push 0xde1
mov dword [ebp - 0x24], esi
call dword [sym.imp.OPENGL32.dll_glEnable]
mov edi, dword [sym.imp.OPENGL32.dll_glBindTexture]
push esi
push 0xde1
call edi
mov esi, dword [sym.imp.OPENGL32.dll_glGetTexLevelParameteriv]
lea eax, [ebp - 0x48]
push eax
push 0x1000
push 0
push 0xde1
call esi
lea eax, [ebp - 0x4c]
push eax
push 0x1001
push 0
push 0xde1
call esi
mov esi, dword [sym.imp.OPENGL32.dll_glTexParameteri]
push 0x812f
push 0x2802
push 0xde1
call esi
push 0x812f
push 0x2803
push 0xde1
call esi
push 0x2600
push 0x2801
push 0xde1
call esi
push 0x2600
push 0x2800
push 0xde1
call esi
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov esi, dword [ebp - 0x68]
push dword [eax + 0xb18]
mov ecx, dword [esi]
push 0x8363
push 0x1907
push 0
push dword [ecx + 0x50]
push dword [ecx + 0x4c]
push 0x1907
push 0
push 0xde1
call dword [sym.imp.OPENGL32.dll_glTexImage2D]
call dword [sym.imp.OPENGL32.dll_glGetError]
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x1007989d
cmp eax, 0x502
jne 0x10079833
mov eax, str.GL_INVALID_OPERATION
jmp 0x1007986f
cmp eax, 0x500
jne 0x10079841
mov eax, str.GL_INVALID_ENUM
jmp 0x1007986f
cmp eax, 0x501
jne 0x1007984f
mov eax, str.GL_INVALID_VALUE
jmp 0x1007986f
cmp eax, 0x503
jne 0x1007985d
mov eax, str.GL_STACK_OVERFLOW
jmp 0x1007986f
cmp eax, 0x504
mov ecx, str.GL_OUT_OF_MEMORY
mov eax, str.GL_STACK_UNDERFLOW
cmovne eax, ecx
sub esp, 0x18
mov dword [ebp - 0x60], eax
mov ecx, esp
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x60]
push str.Command_4112_glTexImage2D
push eax
push 0x15
push str.GL_Error_____:_
call fcn.10003df0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
add esp, 0x10
call fcn.100335a0
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
sub esp, 0xc
mov edx, 0x1e0
mov dword [eax + 0x9fc], 0
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov dword [esp + 8], 0
push 0
sub esp, 0x14
mov dword [eax + 0xa00], 0x3f800000
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [eax + 0xa04], 0
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov dword [esp + 4], 0
mov dword [esp], 0
push dword [ebp - 0x24]
mov dword [eax + 0xa08], 0x3f800000
mov ecx, dword [esi]
cmp dword [ecx + 0x50], 0x1e0
cmovb edx, dword [ecx + 0x50]
push edx
push dword [ecx + 0x4c]
xor edx, edx
xor ecx, ecx
call fcn.1007db60
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
add esp, 0x30
push dword [ebp - 0x24]
lea ecx, [ecx + 0xe18]
call fcn.1007d800
push dword [ebp - 0x20]
push 0xde1
call edi
mov eax, dword [esi]
mov byte [eax + 0x210], 1
mov edi, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov eax, dword [ebp - 0x6c]
cmp dword [edi + 0xd3c], eax
je 0x1007997a
cmp byte [edi + 0x8e], 0
jne 0x1007997a
mov dword [edi + 0xd38], eax
mov edi, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov byte [edi + 0xb1c], 1
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
push dword [eax + 0xb6c]
push 0xde1
call dword [sym.imp.OPENGL32.dll_glBindTexture]
mov al, 1
jmp 0x10078395
push 5
call fcn.1008b2ff
dec eax
push 6
mov dword [esi + 0x2c], eax
call fcn.1008b2ff
push 5
call fcn.1008b2ff
dec eax
push 6
mov dword [esi + 0x2c], eax
call fcn.1008b2ff
push 5
call fcn.1008b2ff
dec eax
push 6
mov dword [esi + 0x2c], eax
call fcn.1008b2ff
push 5
call fcn.1008b2ff
dec eax
push 6
mov dword [esi + 0x2c], eax
call fcn.1008b2ff
push 5
call fcn.1008b2ff
dec eax
push 6
mov dword [esi + 0x2c], eax
call fcn.1008b2ff
call fcn.1009211e
call fcn.1009211e
push 5
call fcn.1008b2ff
dec eax
push 6
mov dword [esi + 0x2c], eax
call fcn.1008b2ff
push 5
call fcn.1008b2ff
dec eax
push 6
mov dword [esi + 0x2c], eax
call fcn.1008b2ff
int3