Function at 0x10066060
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aaa16
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x19b0
call fcn.100a46b0
mov eax, dword [0x10102040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 0x18
xorps xmm0, xmm0
cmp byte [sym.Redline.dll_bool_videoInitialised], 0
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
je 0x100660e3
push 0x1e
push str.RInitVideo_already_initialised
call fcn.10003cd0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
call fcn.10030d30
jmp 0x10067d63
push 0x17
push str.RInitVideo_initialising
call fcn.10003cd0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
call fcn.10030d30
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov byte [eax + 0x14d9], 0
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
lea ecx, [ecx + 0xc0c]
call fcn.1003b940
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov byte [0x1015154c], 0
mov byte [0x1015154d], 0
mov byte [eax + 0x14d8], 0
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov byte [eax + 0x14d9], 0
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov byte [eax + 0x6f5], 0
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov dword [eax + 0x3e4], 0
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov dword [eax + 0x3e8], 0
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov byte [eax + 0x9b1], 0
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov byte [eax + 0x9b2], 0
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov byte [eax + 0xbb4], 0
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov dword [eax + 0xb34], 0
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov dword [eax + 0xb30], 1
call fcn.10063c70
cmp byte [0x1015154d], 0
mov esi, dword [sym.imp.USER32.dll_GetClientRect]
jne 0x10067c8c
mov eax, dword [sym.Redline.dll_class_LogFile__pLog]
lea ecx, [ebp - 0x197c]
push ecx
lea ecx, [ebp - 0x19b8]
push ecx
lea ecx, [ebp - 0x19bc]
push ecx
mov ecx, dword [eax + 4]
call fcn.1001df10
test al, al
je 0x10066233
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov byte [eax + 0x650], 1
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov eax, dword [ebp - 0x19bc]
mov dword [ecx + 0x654], eax
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov eax, dword [ebp - 0x19b8]
mov dword [ecx + 0x658], eax
mov ecx, 0x3c
mov edx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov eax, dword [edx + 0x660]
test eax, eax
cmovne ecx, eax
mov dword [edx + 0x660], ecx
lea eax, [ebp - 0x1900]
push eax
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
push dword [eax + 0x68c]
call esi
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov ecx, dword [ebp - 0x18f8]
sub ecx, dword [ebp - 0x1900]
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [eax + 0x674], ecx
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov ecx, dword [ebp - 0x18f4]
sub ecx, dword [ebp - 0x18f8]
push 0xfffffffffffffff0
mov dword [eax + 0x678], ecx
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
push dword [eax + 0x68c]
call esi
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
push 0xffffffffffffffec
mov dword [ecx + 0x6b8], eax
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
push dword [eax + 0x68c]
call esi
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
lea edx, [ebp - 0x19b4]
sub esp, 0x18
mov dword [ecx + 0x6bc], eax
mov ecx, esp
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
push 0x12
push str.Parent_HWND_:08X
mov eax, dword [eax + 0x68c]
mov dword [ebp - 0x19b4], eax
call fcn.100181f0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
add esp, 8
call fcn.10030d30
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
lea eax, [ecx + 0x630]
push eax
push dword [ecx + 0x68c]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov edi, dword [sym.imp.USER32.dll_SetWindowLongW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
cmp byte [ecx + 0x153], 0
je 0x10066547
push 8
mov dword [0x101515b4], 0
call fcn.1007c9c1
add esp, 4
mov dword [ebp - 0x198c], eax
mov dword [ebp - 4], 0
mov esi, dword [sym.Redline.dll_class_VeriteLib__pLib]
push 8
call fcn.1007c9c1
mov ecx, dword [esi + 0x68c]
add esp, 4
mov dword [ebp - 0x18c8], eax
mov dword [eax], ecx
mov dword [eax + 4], 0x1007bf30
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x198c]
lea ecx, [esi + 4]
push ecx
push 0
push eax
push 0x1006b0a0
push 0
push 0
mov dword [ebp - 0x1824], ecx
call fcn.1008a4d4
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x10067dd7
mov dword [ebp - 4], 0xffffffff
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov dword [ebp - 0x18c8], 0
mov dword [eax + 0x30c], esi
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
cmp dword [ecx + 0x30c], 0
je 0x10066401
mov eax, dword [0x101515b4]
test eax, eax
jne 0x1006640e
cmp byte [0x101515b1], al
jne 0x100664d3
lea ecx, [ebp - 0x18e8]
mov dword [ebp - 0x18e8], 1
mov dword [ebp - 0x18e4], eax
call fcn.1006aa60
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
cmp dword [ecx + 0x30c], 0
jne 0x100663c2
mov eax, dword [0x101515b4]
test eax, eax
je 0x100664d3
mov dword [ecx + 0x690], eax
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
push dword [eax + 0x6b8]
push 0xfffffffffffffff0
push dword [eax + 0x690]
call edi
test eax, eax
jne 0x10066455
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x2c
movups xmmword [ecx], xmm0
push str.RToggleFullScreen_Could_not_set_window_style
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
call fcn.10003cd0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
call fcn.10030d30
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
push dword [eax + 0x6bc]
push 0xffffffffffffffec
push dword [eax + 0x690]
call edi
test eax, eax
jne 0x10066496
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x2f
movups xmmword [ecx], xmm0
push str.RToggleFullScreen_Could_not_set_ex_window_style
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
call fcn.10003cd0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
call fcn.10030d30
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xf
push dword [eax + 0x690]
call esi
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
push dword [eax + 0x68c]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
push dword [eax + 0x68c]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x10066515
mov eax, dword [ecx + 0x68c]
sub esp, 0x18
mov dword [ecx + 0x690], eax
xorps xmm0, xmm0
mov ecx, esp
push 0x1b
push str.Could_not_get_window_handle
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10003cd0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
call fcn.10030d30
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x14
movups xmmword [ecx], xmm0
push str.beyond_the_threshold
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10003cd0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
call fcn.10030d30
jmp 0x10066553
mov eax, dword [ecx + 0x68c]
mov dword [ecx + 0x690], eax
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
push 0xfffffffffffffffc
push dword [eax + 0x68c]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov dword [0x1015159c], eax
cmp byte [ecx + 0x158], 0
je 0x10066593
push 0x10069570
push 0xfffffffffffffffc
push dword [ecx + 0x68c]
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
cmp byte [ecx + 0x650], 0
je 0x100667e9
push dword [ecx + 0x68c]
call dword [sym.imp.USER32.dll_GetMenu]
mov dword [0x10151558], eax
call fcn.10064130
test al, al
je 0x10066813
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
push dword [eax + 0x68c]
call dword [sym.imp.USER32.dll_GetMenu]
mov dword [0x10151558], eax
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
push 0x80000000
push 0xfffffffffffffff0
push dword [eax + 0x68c]
call edi
test eax, eax
jne 0x10066614
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x2c
movups xmmword [ecx], xmm0
push str.RToggleFullScreen_Could_not_set_window_style
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
call fcn.10003cd0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
call fcn.10030d30
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
push 0x40000
push 0xffffffffffffffec
push dword [eax + 0x68c]
call edi
test eax, eax
jne 0x10066654
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x2f
movups xmmword [ecx], xmm0
push str.RToggleFullScreen_Could_not_set_ex_window_style
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
call fcn.10003cd0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
call fcn.10030d30
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
cmp byte [eax + 0x153], 0
je 0x100666f9
push 0x80000000
push 0xfffffffffffffff0
push dword [eax + 0x690]
call edi
test eax, eax
jne 0x100666a1
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x2c
movups xmmword [ecx], xmm0
push str.RToggleFullScreen_Could_not_set_window_style
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
call fcn.10003cd0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
call fcn.10030d30
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
push 0x40000
push 0xffffffffffffffec
push dword [eax + 0x690]
call edi
test eax, eax
jne 0x100666e1
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x2f
movups xmmword [ecx], xmm0
push str.RToggleFullScreen_Could_not_set_ex_window_style
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
call fcn.10003cd0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
call fcn.10030d30
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
push 0
push 0
push 0xf
push dword [eax + 0x690]
call esi
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
push 0
push dword [eax + 0x68c]
call dword [sym.imp.USER32.dll_SetMenu]
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
push 0
push 0
push 0xf
push dword [eax + 0x68c]
call esi
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov dword [ebp - 0x18ac], 0
push 0x40000
push 0
mov eax, dword [ecx + 0x664]
mov dword [ebp - 0x18a4], eax
mov dword [ebp - 0x18a8], 0
mov eax, dword [ecx + 0x668]
mov dword [ebp - 0x18a0], eax
lea eax, [ebp - 0x18ac]
push 0x80000000
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x70
push dword [ebp - 0x18a0]
push dword [ebp - 0x18a4]
push 0
push 0
push 0
push dword [eax + 0x68c]
call esi
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
cmp byte [ecx + 0x153], 0
je 0x100667bd
push 0x32
push dword [ebp - 0x18a0]
push dword [ebp - 0x18a4]
push 0
push 0
push 0
push dword [ecx + 0x690]
call esi
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov eax, dword [ecx + 0x664]
mov dword [ecx + 0x67c], eax
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov eax, dword [ecx + 0x668]
mov dword [ecx + 0x680], eax
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov byte [eax + 0x6f4], 1
jmp 0x10066813
mov eax, dword [ecx + 0x654]
mov dword [ecx + 0x664], eax
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov eax, dword [ecx + 0x658]
mov dword [ecx + 0x668], eax
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov byte [eax + 0x6f4], 0
mov eax, dword [0x1015156c]
test eax, eax
je 0x10066820
push 2
call eax
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov edi, dword [sym.imp.USER32.dll_GetDC]
push dword [eax + 0x690]
call edi
mov esi, eax
mov dword [ebp - 0x198c], esi
test esi, esi
je 0x10067dea
mov edx, dword [sym.Redline.dll_class_VeriteLib__pLib]
cmp byte [edx + 0x153], 0
je 0x10066886
push dword [edx + 0x68c]
call edi
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [0x10151578], eax
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
push esi
push dword [eax + 0x68c]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov esi, dword [ebp - 0x198c]
mov eax, dword [edx + 0x690]
mov ecx, dword [0x1015158c]
cmp ecx, eax
mov dword [ebp - 0x19b0], eax
mov eax, dword [edx + 0x68c]
sete byte [ebp - 0x197d]
sub esp, 0x18
mov dword [ebp - 0x19ac], eax
mov dword [ebp - 0x1984], ecx
lea eax, [ebp - 0x19b0]
mov ecx, esp
lea edx, [ebp - 0x197d]
push eax
lea eax, [ebp - 0x19ac]
push eax
lea eax, [ebp - 0x1984]
push eax
push 0x3d
push str.sameWindow__Last_HWND_:08X__current_:08X__glHwnd_:08X
call fcn.1006aba0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
add esp, 0x14
call fcn.10030d30
cmp byte [ebp - 0x197d], 0
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov eax, dword [eax + 0x68c]
mov dword [0x1015158c], eax
mov dword [ebp - 0x187c], 0x10028
mov dword [ebp - 0x1878], 0x25
mov dword [ebp - 0x1874], 0x1800
mov dword [ebp - 0x1870], 0
mov dword [ebp - 0x186c], 8
mov dword [ebp - 0x1868], 0x18000000
mov dword [ebp - 0x1864], 8
mov dword [ebp - 0x1860], 0
mov dword [ebp - 0x185c], 0
mov dword [ebp - 0x1858], 0
jne 0x10066b20
lea eax, [ebp - 0x187c]
push eax
push esi
call dword [sym.imp.GDI32.dll_ChoosePixelFormat]
test eax, eax
je 0x10067e10
lea ecx, [ebp - 0x187c]
push ecx
push eax
push esi
call dword [sym.imp.GDI32.dll_SetPixelFormat]
test eax, eax
jne 0x100669e3
push esi
call dword [sym.imp.GDI32.dll_GetPixelFormat]
lea ecx, [ebp - 0x1950]
push ecx
push 0x28
push eax
push esi
call dword [sym.imp.GDI32.dll_DescribePixelFormat]
test byte [ebp - 0x1878], 0x25
je 0x10067e48
cmp byte [ebp - 0x1874], 0
jne 0x10067e48
cmp byte [ebp - 0x1865], 0
je 0x10067e48
cmp byte [ebp - 0x1864], 0
je 0x10067e48
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
cmp byte [eax + 0x153], 0
je 0x10066ac7
push dword [eax + 0x68c]
call edi
mov edi, eax
lea eax, [ebp - 0x187c]
push eax
push edi
call dword [sym.imp.GDI32.dll_ChoosePixelFormat]
test eax, eax
jne 0x10066a2e
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub esp, 0x18
mov dword [ebp - 0x1984], eax
mov ecx, esp
push 0x50
push str.Could_not_choose_pixel_format_for_CopyBack_destination_surface_Error_code_:08X
jmp 0x10067e28
lea ecx, [ebp - 0x187c]
push ecx
push eax
push edi
call dword [sym.imp.GDI32.dll_SetPixelFormat]
test eax, eax
jne 0x10066ab5
push esi
call dword [sym.imp.GDI32.dll_GetPixelFormat]
lea ecx, [ebp - 0x1978]
push ecx
push 0x28
push eax
push esi
call dword [sym.imp.GDI32.dll_DescribePixelFormat]
test byte [ebp - 0x1878], 0x25
je 0x10066a7d
cmp byte [ebp - 0x1874], 0
jne 0x10066a7d
cmp byte [ebp - 0x1865], 0
je 0x10066a7d
cmp byte [ebp - 0x1864], 0
jne 0x10066ab5
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub esp, 0x18
mov dword [ebp - 0x1984], eax
mov ecx, esp
lea edx, [ebp - 0x1984]
push 0x49
push str.SetPixelFormat___failed_for_destination_surface_Error_Code__0:_0:08X_
call fcn.100181f0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
add esp, 8
call fcn.10030d30
push 2
jmp 0x10067e43
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
push edi
push dword [eax + 0x68c]
call dword [sym.imp.USER32.dll_ReleaseDC]
push esi
call dword [sym.imp.GDI32.dll_GetPixelFormat]
lea ecx, [ebp - 0x1928]
push ecx
push 0x28
push eax
push esi
call dword [sym.imp.GDI32.dll_DescribePixelFormat]
sub esp, 0x18
lea eax, [ebp - 0x1918]
mov ecx, esp
lea edx, [ebp - 0x191f]
push eax
lea eax, [ebp - 0x191a]
push eax
lea eax, [ebp - 0x191c]
push eax
lea eax, [ebp - 0x191e]
push eax
push 0x24
push str.OpenGL_Color:__bit_R_G_B_A
call fcn.1006ac20
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
add esp, 0x18
call fcn.10030d30
mov edi, dword [sym.imp.OPENGL32.dll_wglCreateContext]
push esi
call edi
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov dword [ecx + 0x6a0], eax
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov dword [eax + 0x6ac], esi
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
push dword [eax + 0x6a0]
push esi
call dword [sym.imp.OPENGL32.dll_wglMakeCurrent]
test eax, eax
je 0x10067a30
call dword [sym.imp.OPENGL32.dll_wglGetCurrentContext]
test eax, eax
lea edx, [ebp - 0x198d]
setne byte [ebp - 0x198d]
sub esp, 0x18
mov ecx, esp
push 0x27
push str.Application_thread_Context_is_valid:_
call fcn.1003f2d0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
add esp, 8
call fcn.10030d30
movups xmm0, xmmword [ebp - 0x187c]
mov edx, dword [sym.Redline.dll_class_VeriteLib__pLib]
sub esp, 0x28
mov eax, esp
mov edx, dword [edx + 0x68c]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x186c]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [ebp - 0x185c]
movq qword [eax + 0x20], xmm0
call fcn.10065ed0
add esp, 0x28
xorps xmm0, xmm0
sub esp, 0x18
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
test al, al
jne 0x10066bef
push 0x1d
push str.Could_not_setup_multisampling
jmp 0x10066bf6
push 0x27
push str.Set_up_multisampling_compatible_context
call fcn.10003cd0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
call fcn.10030d30
push esi
call edi
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov dword [ecx + 0x6a4], eax
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
push dword [eax + 0x6a4]
push dword [eax + 0x6a0]
call dword [sym.imp.OPENGL32.dll_wglShareLists]
test eax, eax
jne 0x10066c56
push eax
push 0x100e1df0
push str.Could_not_share_context_with_thread
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
sub esp, 0x18
mov ecx, esp
push str.Could_not_share_context_with_thread._Critical_error
call fcn.10003b10
jmp 0x10067e36
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x18
movups xmmword [ecx], xmm0
push str.Finished_Sharing_context
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10003cd0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
call fcn.10030d30
xorps xmm0, xmm0
mov byte [0x1015154d], 1
movups xmmword [ebp - 0x18e0], xmm0
mov dword [ebp - 0x18d0], 0
mov dword [ebp - 0x18cc], 0xf
mov byte [ebp - 0x18e0], 0
mov dl, 1
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x18e0]
call fcn.10027d60
sub esp, 0x18
mov ecx, esp
test al, al
jne 0x10066ce3
lea eax, [ebp - 0x18e0]
push eax
call fcn.1006acc0
add esp, 4
jmp 0x10067df9
xorps xmm0, xmm0
push 0x18
movups xmmword [ecx], xmm0
push str.Loaded_shader_extensions
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10003cd0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
call fcn.10030d30
sub esp, 0x18
mov edx, 0x1015134d
mov ecx, esp
push 0x1b
push str.OpenGL_extensions_loaded_
call fcn.1003f2d0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
add esp, 8
call fcn.10030d30
mov esi, dword [sym.imp.OPENGL32.dll_glGetString]
push 0x1f02
call esi
sub esp, 0x18
mov dword [ebp - 0x19a8], eax
mov ecx, esp
lea edx, [ebp - 0x19a8]
push 0xb
push str.OpenGL_:_
call fcn.1001ff70
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
add esp, 8
call fcn.10030d30
mov edi, dword [sym.imp.OPENGL32.dll_glGetIntegerv]
lea eax, [ebp - 0x1884]
push eax
push 0x821b
mov dword [ebp - 0x1884], 0
mov dword [ebp - 0x1880], 0
call edi
lea eax, [ebp - 0x1880]
push eax
push 0x821c
call edi
sub esp, 0x18
lea eax, [ebp - 0x1880]
mov ecx, esp
lea edx, [ebp - 0x1884]
push eax
push 0x10
push str.Version__:_.
call fcn.1002eac0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
add esp, 0xc
call fcn.10030d30
push 0x1f00
call esi
mov edx, eax
mov dword [ebp - 0x18b4], 0
mov ecx, edx
mov dword [ebp - 0x18b0], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x18c4], xmm0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10066df8
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x18c4]
call fcn.10003cd0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x18c4]
cmp dword [ebp - 0x18b0], 0xf
lea edx, [ebp - 0x19a4]
cmova eax, dword [ebp - 0x18c4]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x19a4], eax
push 0xd
push str.Vendor___:_
call fcn.1001ff70
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
add esp, 8
call fcn.10030d30
push 0x1f01
call esi
mov edx, eax
mov dword [ebp - 0x182c], 0
mov ecx, edx
mov dword [ebp - 0x1828], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x183c], xmm0
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10066e80
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x183c]
call fcn.10003cd0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x183c]
cmp dword [ebp - 0x1828], 0xf
lea edx, [ebp - 0x19a0]
cmova eax, dword [ebp - 0x183c]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x19a0], eax
push 0xd
push str.Renderer_:_
call fcn.1001ff70
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
add esp, 8
call fcn.10030d30
push 0x1f03
call esi
sub esp, 0x18
mov dword [ebp - 0x199c], eax
mov ecx, esp
lea edx, [ebp - 0x199c]
push 0xf
push str.Extensions_:_
call fcn.1001ff70
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
add esp, 8
call fcn.10030d30
lea eax, [ebp - 0x189c]
push eax
call fcn.1002ec50
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x183c]
cmp dword [ebp - 0x1828], 0xf
jbe 0x10066f3c
mov ecx, dword [ebp - 0x183c]
mov edi, ecx
mov esi, dword [ebp - 0x182c]
add esi, ecx
jmp 0x10066f4e
lea esi, [ebp - 0x183c]
add esi, dword [ebp - 0x182c]
lea edi, [ebp - 0x183c]
cmp edi, esi
je 0x10066f7a
sub ecx, edi
mov dword [ebp - 0x1988], ecx
nop word [eax + eax]
movzx eax, byte [edi]
push eax
call fcn.100886c0
mov ecx, dword [ebp - 0x1988]
add esp, 4
mov byte [edi + ecx], al
inc edi
cmp edi, esi
jne 0x10066f60
cmp dword [ebp - 0x1888], 0xf
lea ecx, [ebp - 0x189c]
jbe 0x10066f9b
mov ecx, dword [ebp - 0x189c]
mov edi, ecx
mov esi, dword [ebp - 0x188c]
add esi, ecx
jmp 0x10066fad
lea esi, [ebp - 0x189c]
add esi, dword [ebp - 0x188c]
lea edi, [ebp - 0x189c]
cmp edi, esi
je 0x10066fda
sub ecx, edi
mov dword [ebp - 0x1988], ecx
nop dword [eax]
movzx eax, byte [edi]
push eax
call fcn.100886c0
mov ecx, dword [ebp - 0x1988]
add esp, 4
mov byte [ecx + edi], al
inc edi
cmp edi, esi
jne 0x10066fc0
push 0x19
xorps xmm0, xmm0
mov dword [ebp - 0x1844], 0
push str.Intel_R__HD_Graphics_2000
lea ecx, [ebp - 0x1854]
mov dword [ebp - 0x1840], 0
movups xmmword [ebp - 0x1854], xmm0
call fcn.10003cd0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1854]
cmp dword [ebp - 0x1840], 0xf
mov edx, dword [ebp - 0x1854]
jbe 0x10067031
mov esi, dword [ebp - 0x1844]
mov ecx, edx
add esi, edx
mov edi, edx
jmp 0x10067043
lea esi, [ebp - 0x1854]
add esi, dword [ebp - 0x1844]
lea edi, [ebp - 0x1854]
cmp edi, esi
je 0x10067070
sub ecx, edi
mov dword [ebp - 0x1988], ecx
nop
movzx eax, byte [edi]
push eax
call fcn.100886c0
mov ecx, dword [ebp - 0x1988]
add esp, 4
mov byte [edi + ecx], al
inc edi
cmp edi, esi
jne 0x10067050
mov edx, dword [ebp - 0x1854]
cmp dword [ebp - 0x1840], 0xf
lea ecx, [ebp - 0x1854]
mov edi, dword [ebp - 0x182c]
mov esi, dword [ebp - 0x1844]
cmova ecx, edx
cmp dword [ebp - 0x1828], 0xf
lea edx, [ebp - 0x183c]
mov dword [ebp - 0x1988], ecx
cmova edx, dword [ebp - 0x183c]
mov dword [ebp - 0x181c], edx
cmp esi, edi
ja 0x1006717d
test esi, esi
je 0x10067202
movsx ecx, byte [ecx]
mov eax, edx
sub eax, esi
mov dword [ebp - 0x1994], ecx
inc edi
add eax, edi
mov dword [ebp - 0x1998], eax
sub eax, edx
push eax
push ecx
push edx
call fcn.10081f20
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1006717d
nop dword [eax]
mov edx, dword [ebp - 0x1988]
mov ecx, edi
sub esi, 4
jb 0x10067111
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10067116
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10067100
cmp esi, 0xfffffffc
je 0x1006714a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10067143
cmp esi, 0xfffffffd
je 0x1006714a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10067143
cmp esi, 0xfffffffe
je 0x1006714a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10067143
cmp esi, 0xffffffff
je 0x1006714a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x1006714a
sbb eax, eax
or eax, 1
jmp 0x1006714c
xor eax, eax
test eax, eax
je 0x100671f3
mov eax, dword [ebp - 0x1998]
inc edi
sub eax, edi
push eax
push dword [ebp - 0x1994]
push edi
call fcn.10081f20
mov esi, dword [ebp - 0x1844]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x100670f0
xor cl, cl
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
push 0xb
push str.Intel_R__HD
mov byte [eax + 0xc7], cl
lea ecx, [ebp - 0x1854]
call fcn.1001fd90
cmp dword [ebp - 0x1840], 0xf
lea ecx, [ebp - 0x1854]
mov esi, dword [ebp - 0x1844]
lea edx, [ebp - 0x183c]
cmova ecx, dword [ebp - 0x1854]
cmp dword [ebp - 0x1828], 0xf
mov edi, dword [ebp - 0x182c]
cmova edx, dword [ebp - 0x183c]
mov dword [ebp - 0x181c], ecx
mov dword [ebp - 0x1988], edx
cmp esi, edi
ja 0x1006738e
test esi, esi
jne 0x100672d7
xor edi, edi
jmp 0x10067391
sub edi, dword [ebp - 0x181c]
cmp edi, 0xffffffff
je 0x1006717d
cmp dword [ebp - 0x1888], 0xf
lea ecx, [ebp - 0x189c]
mov eax, dword [ebp - 0x188c]
cmova ecx, dword [ebp - 0x189c]
mov dword [ebp - 0x1994], ecx
cmp eax, 0xa
jb 0x1006717d
add eax, 0xfffffff7
add eax, ecx
mov dword [ebp - 0x181c], eax
sub eax, ecx
push eax
push 0x71
push ecx
call fcn.10081f20
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1006717d
nop
mov ecx, edi
mov edx, str.quake2.exe
mov esi, 6
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10067271
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10067260
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10067298
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10067298
cmp esi, 0xfffffffe
je 0x10067294
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10067298
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x10067298
xor eax, eax
jmp 0x1006729d
sbb eax, eax
or eax, 1
test eax, eax
je 0x100672c1
mov eax, dword [ebp - 0x181c]
inc edi
sub eax, edi
push eax
push 0x71
push edi
call fcn.10081f20
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x10067250
jmp 0x1006717d
sub edi, dword [ebp - 0x1994]
cmp edi, 0xffffffff
je 0x1006717d
mov cl, 1
jmp 0x1006717f
movsx ecx, byte [ecx]
mov eax, edx
sub eax, esi
mov dword [ebp - 0x1998], ecx
inc edi
add eax, edi
mov dword [ebp - 0x1994], eax
sub eax, edx
push eax
push ecx
push edx
call fcn.10081f20
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1006738e
mov edx, dword [ebp - 0x181c]
mov ecx, edi
sub esi, 4
jb 0x10067322
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10067327
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10067311
cmp esi, 0xfffffffc
je 0x1006735b
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10067354
cmp esi, 0xfffffffd
je 0x1006735b
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10067354
cmp esi, 0xfffffffe
je 0x1006735b
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10067354
cmp esi, 0xffffffff
je 0x1006735b
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x1006735b
sbb eax, eax
or eax, 1
jmp 0x1006735d
xor eax, eax
test eax, eax
je 0x10067a00
mov eax, dword [ebp - 0x1994]
inc edi
sub eax, edi
push eax
push dword [ebp - 0x1998]
push edi
call fcn.10081f20
mov esi, dword [ebp - 0x1844]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x10067304
or edi, 0xffffffff
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
xor ecx, ecx
cmp edi, 0xffffffff
mov edx, str.Running_on_Intel_HD_graphics
xorps xmm0, xmm0
setne cl
mov dword [eax + 0x14a8], ecx
mov ecx, str.Not_running_on_Intel_HD_graphics
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
cmp dword [eax + 0x14a8], 0
cmove edx, ecx
sub esp, 0x18
mov esi, esp
mov ecx, edx
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edi, [ecx + 1]
mov dword [esi + 0x14], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100673e0
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.10003cd0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
call fcn.10030d30
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
cmp dword [eax + 0x14a8], 0
je 0x10067417
mov byte [eax + 0x168], 1
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
cmp byte [eax + 0xc7], 0
je 0x10067450
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x24
movups xmmword [ecx], xmm0
push str.Intel_HD_Graphics_running_Quake2.exe
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10003cd0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
call fcn.10030d30
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x13
movups xmmword [ecx], xmm0
push str.Generating_textures
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10003cd0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
call fcn.10030d30
mov ecx, 0x4e20
call fcn.10014f60
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x1d
movups xmmword [ecx], xmm0
push str.Generated_textures__assigning
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10003cd0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
call fcn.10030d30
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
lea ecx, [eax + 0xc0c]
add eax, 0x508
push eax
call fcn.1006a340
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov eax, dword [ecx + 0x508]
mov dword [ecx + 0x8b4], eax
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
lea ecx, [eax + 0xc0c]
add eax, 0x11c
push eax
call fcn.1006a340
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
lea ecx, [eax + 0xc0c]
add eax, 0x120
push eax
call fcn.1006a340
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
lea ecx, [eax + 0xc0c]
add eax, 0x124
push eax
call fcn.1006a340
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
lea ecx, [eax + 0xc0c]
add eax, 0x128
push eax
call fcn.1006a340
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
lea ecx, [eax + 0xc0c]
add eax, 0x12c
push eax
call fcn.1006a340
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
lea ecx, [eax + 0xc0c]
add eax, 0x130
push eax
call fcn.1006a340
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
lea ecx, [eax + 0xc0c]
add eax, 0x134
push eax
call fcn.1006a340
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x39
movups xmmword [ecx], xmm0
push str.Finished_assigning__setting_default_depth_buffer_settings
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10003cd0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
call fcn.10030d30
push 0
call dword [sym.imp.OPENGL32.dll_glDepthMask]
push 0x207
call dword [sym.imp.OPENGL32.dll_glDepthFunc]
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x26
movups xmmword [ecx], xmm0
push str.Finished_setting_depth_buffer_defaults
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10003cd0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
call fcn.10030d30
lea eax, [ebp - 0x181d]
mov byte [ebp - 0x181d], 0
push eax
push 0xb72
call dword [sym.imp.OPENGL32.dll_glGetBooleanv]
cmp byte [ebp - 0x181d], 0
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
setne cl
mov byte [eax + 0x328], cl
lea eax, [ebp - 0x1824]
push eax
push 0xb74
mov dword [ebp - 0x1824], 0
call dword [sym.imp.OPENGL32.dll_glGetIntegerv]
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
sub esp, 0x18
mov eax, dword [ebp - 0x1824]
xorps xmm0, xmm0
mov dword [ecx + 0x324], eax
mov ecx, esp
push 0x3a
push str.Depth_buffer_defaults_set__generating_OpenGL_outline_fonts
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10003cd0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
call fcn.10030d30
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov edi, dword [sym.imp.OPENGL32.dll_glEnable]
cmp byte [eax + 0x1a4], 0
je 0x100676d8
push 0
call dword [sym.imp.OPENGL32.dll_glClearStencil]
push 0xff
push 1
push 0x207
call dword [sym.imp.OPENGL32.dll_glStencilFunc]
push 0x1e01
push 0x1e01
push 0x1e01
call dword [sym.imp.OPENGL32.dll_glStencilOp]
push 1
call dword [sym.imp.OPENGL32.dll_glStencilMask]
push 0xb90
call edi
push 0x400
call dword [sym.imp.OPENGL32.dll_glClear]
push 0xde1
call edi
push 0
push 0
push 4
push 0
push 4
push 0
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0x14
push 0x2d
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
mov dword [0x10151554], eax
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
push dword [eax + 0x6ac]
call dword [sym.imp.GDI32.dll_SelectObject]
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x1c
movups xmmword [ecx], xmm0
push str.Generating_font_display_list
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10003cd0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
call fcn.10030d30
mov esi, dword [ebp - 0x198c]
lea eax, [ebp - 0x1818]
push eax
push 1
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], 0
push 0x7d0
push 0xff
push 0
push esi
call dword [sym.imp.OPENGL32.dll_wglUseFontOutlinesW]
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x1b
movups xmmword [ecx], xmm0
push str.Generated_font_display_list
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10003cd0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
call fcn.10030d30
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0xd
movups xmmword [ecx], xmm0
push str.Setting_vsync
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10003cd0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
call fcn.10030d30
xor cl, cl
call fcn.10064510
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 9
movups xmmword [ecx], xmm0
push str.Set_vsync
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10003cd0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
call fcn.10030d30
cmp byte [0x1015134c], 0
je 0x10067863
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x18
movups xmmword [ecx], xmm0
push str.Enabling_GL_debug_output
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10003cd0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
call fcn.10030d30
push 0x92e0
call edi
push 0
push 0x10068b50
call dword [0x10151430]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x1840]
cmp ecx, 0xf
jbe 0x100678a1
mov edx, dword [ebp - 0x1854]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10067897
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10067e80
push ecx
push edx
call fcn.1007cee4
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x1888]
mov dword [ebp - 0x1844], 0
mov dword [ebp - 0x1840], 0xf
mov byte [ebp - 0x1854], 0
cmp ecx, 0xf
jbe 0x100678fa
mov edx, dword [ebp - 0x189c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100678f0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10067e80
push ecx
push edx
call fcn.1007cee4
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1828]
mov dword [ebp - 0x188c], 0
mov dword [ebp - 0x1888], 0xf
mov byte [ebp - 0x189c], 0
cmp ecx, 0xf
jbe 0x10067953
mov edx, dword [ebp - 0x183c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10067949
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10067e80
push ecx
push edx
call fcn.1007cee4
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18b0]
mov dword [ebp - 0x182c], 0
mov dword [ebp - 0x1828], 0xf
mov byte [ebp - 0x183c], 0
cmp ecx, 0xf
jbe 0x100679ac
mov edx, dword [ebp - 0x18c4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100679a2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10067e80
push ecx
push edx
call fcn.1007cee4
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18cc]
mov dword [ebp - 0x18b4], 0
mov dword [ebp - 0x18b0], 0xf
mov byte [ebp - 0x18c4], 0
cmp ecx, 0xf
jbe 0x10067a15
mov edx, dword [ebp - 0x18e0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10067a0b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10067e80
jmp 0x10067a0b
sub edi, dword [ebp - 0x1988]
jmp 0x10067391
push ecx
push edx
call fcn.1007cee4
add esp, 8
mov dword [ebp - 0x18d0], 0
mov dword [ebp - 0x18cc], 0xf
mov byte [ebp - 0x18e0], 0
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x11
movups xmmword [ecx], xmm0
push str.Releasing_context
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10003cd0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
call fcn.10030d30
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
push 0
push dword [eax + 0x6ac]
call dword [sym.imp.OPENGL32.dll_wglMakeCurrent]
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
sub esp, 0x18
mov ecx, esp
xorps xmm0, xmm0
mov byte [eax + 0x6c0], 1
push 0x10
movups xmmword [ecx], xmm0
push str.Launching_thread
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10003cd0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
call fcn.10030d30
push 8
call fcn.1007c9c1
mov edi, eax
add esp, 4
mov dword [ebp - 0x1998], edi
push 8
mov dword [ebp - 4], 7
call fcn.1007c9c1
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
add esp, 4
mov dword [ebp - 0x181c], eax
mov dword [eax], ecx
mov dword [eax + 4], 0x10015c90
lea ecx, [edi + 4]
mov byte [ebp - 4], 8
push ecx
push 0
push eax
push 0x1006b0a0
push 0
push 0
mov dword [ebp - 0x1994], ecx
call fcn.1008a4d4
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x10067dc4
mov dword [ebp - 4], 0xffffffff
sub esp, 0x18
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov ecx, esp
mov dword [ebp - 0x181c], 0
push 0x35
mov dword [eax + 0x308], edi
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
push str.Launched_thread__setting_render_thread_affinity_to_
mov byte [eax + 0x60], 1
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov byte [eax + 0x37e], 1
mov edx, dword [sym.Redline.dll_class_VeriteLib__pLib]
lea edx, [edx + 0x7c]
call fcn.100181f0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
add esp, 8
call fcn.10030d30
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov eax, dword [ecx + 0x308]
mov eax, dword [eax]
mov dword [ecx + 0x1c8], eax
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
push dword [eax + 0x7c]
push dword [eax + 0x1c8]
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
mov dword [ebp - 0x181c], eax
test eax, eax
jne 0x10067bb8
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub esp, 0x18
mov dword [ebp - 0x181c], eax
mov ecx, esp
push 0x37
push str.SetThreadAffinityMask_for_AsyncThread_failed__error_
jmp 0x10067bc4
sub esp, 0x18
mov ecx, esp
push 0x34
push str.AsyncThread__Render_thread__old_affinity_mask_was_
lea edx, [ebp - 0x181c]
call fcn.100181f0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
add esp, 8
call fcn.10030d30
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0xf
movups xmmword [ecx], xmm0
push str.Launched_thread
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10003cd0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
call fcn.10030d30
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
push esi
push dword [eax + 0x68c]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
cmp byte [eax + 0x153], 0
je 0x10067c86
push dword [eax + 0x68c]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
push dword [eax + 0x68c]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov edx, dword [eax + 0x238]
lea edi, [eax + 0x238]
mov esi, dword [eax + 0x664]
imul esi, dword [eax + 0x658]
mov eax, dword [edi + 4]
mov ecx, eax
sub ecx, edx
mov dword [ebp - 0x198c], eax
sar ecx, 2
cmp esi, ecx
jae 0x10067d81
lea eax, [edx + esi*4]
mov dword [edi + 4], eax
mov esi, dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [0x1015154c], 0
jne 0x10067d63
cmp byte [0x1015154d], 0
je 0x10067d63
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x23
movups xmmword [ecx], xmm0
push str.RInitVideo_Secondary_initialisation
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10003cd0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
call fcn.10030d30
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov byte [0x1015154c], 1
mov byte [0x1015134f], 1
cmp byte [eax + 0x650], 0
jne 0x10067d5c
lea ecx, [ebp - 0x18f0]
push ecx
push dword [eax + 0x68c]
call esi
mov eax, dword [sym.Redline.dll_class_VeriteLib__pLib]
movups xmm0, xmmword [ebp - 0x18f0]
movups xmmword [eax + 0x640], xmm0
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov eax, dword [ebp - 0x18e8]
mov dword [ecx + 0x654], eax
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov eax, dword [ebp - 0x18e4]
mov dword [ecx + 0x658], eax
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov eax, dword [ecx + 0x654]
mov dword [ecx + 0x664], eax
mov ecx, dword [sym.Redline.dll_class_VeriteLib__pLib]
mov eax, dword [ecx + 0x658]
mov dword [ecx + 0x668], eax
mov byte [sym.Redline.dll_bool_videoInitialised], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1007c8d3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
jbe 0x10067c86
mov eax, dword [edi + 8]
sub eax, edx
sar eax, 2
cmp esi, eax
jbe 0x10067da1
push ecx
push esi
mov ecx, edi
call fcn.100185f0
jmp 0x10067c86
sub esi, ecx
shl esi, 2
push esi
push 0
push dword [ebp - 0x198c]
call fcn.100817d0
mov eax, dword [ebp - 0x198c]
add esp, 0xc
add eax, esi
jmp 0x10067c83
mov eax, dword [ebp - 0x1994]
push 6
mov dword [eax], 0
call fcn.1007e517
mov eax, dword [ebp - 0x1824]
push 6
mov dword [eax], 0
call fcn.1007e517
sub esp, 0x18
mov ecx, esp
push str.RInitVideo_Critical_Error_could_not_get_DC
call fcn.10003b10
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
call fcn.10030d30
call fcn.1003ba40
push 1
call fcn.10087f25
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub esp, 0x18
mov dword [ebp - 0x1984], eax
mov ecx, esp
push 0x2f
push str.Could_not_choose_pixel_format_Error_code_:08X
lea edx, [ebp - 0x1984]
call fcn.100181f0
add esp, 8
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
call fcn.10030d30
push 1
call fcn.10087f25
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub esp, 0x18
mov dword [ebp - 0x1984], eax
mov ecx, esp
lea edx, [ebp - 0x1984]
push 0x30
push str.SetPixelFormat___failed_Error_Code_0:_0:08X_
call fcn.100181f0
mov ecx, dword [sym.Redline.dll_class_LogFile__pLog]
add esp, 8
call fcn.10030d30
push 2
call fcn.10087f25
call fcn.100852de
int3