Function at 0x40ccb0
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x120
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rax, qword [0x0041f2d0]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
or eax, 2
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
nop
call fcn.0040afc0
call qword [sym.imp.aif_core.dll_public:_static_void___cdecl_AIF::Core::Library::initialize_void_]
lea rcx, [rsp + 0x20]
call qword [sym.imp.aif_ogl.dll_public:_void___cdecl_AIF::OGL::Library::InitOptions::constructor_void____ptr64]
nop
mov rcx, rax
call qword [sym.imp.aif_ogl.dll_public:_static_void___cdecl_AIF::OGL::Library::initialize_class_AIF::OGL::Library::InitOptions_const____ptr64_]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.aif_ogl.dll_public:_void___cdecl_AIF::OGL::Library::InitOptions::destructor_void____ptr64]
mov ecx, 0x1d0
call sub.MSVCR100.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov rbx, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x40cd56
call qword [sym.imp.aif_ogl.dll_public:_static_struct__DISPLAY_DEVICEA_const____ptr64___cdecl_AIF::OGL::Context::primaryDisplayDevice_void_]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.aif_ogl.dll_public:_void___cdecl_AIF::OGL::ContextOffscreen::constructor_struct__DISPLAY_DEVICEA_const____ptr64____ptr64]
lea rax, vtable.AIF::OGL::ContextOffscreen.0
mov qword [rbx], rax
jmp 0x40cd58
xor ebx, ebx
mov qword [rsp + 0x28], rbx
test rbx, rbx
jne 0x40cd92
lea r9, str.Enforce_apContext.get_____NULL
mov r8d, 0x4f1
lea rdx, str........._source_applications_sniffer_gpumain.cpp
lea rcx, [rsp + 0x70]
call qword [sym.imp.aif_core.dll_public:_void___cdecl_AIF::InternalException::constructor_char_const____ptr64__int__char_const____ptr64____ptr64]
lea rdx, [0x0041ada8]
lea rcx, [rsp + 0x70]
call sub.MSVCR100.dll__CxxThrowException
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call qword [sym.imp.aif_ogl.dll_public:_static_class_AIF::OGL::ExtensionManager____ptr64___cdecl_AIF::OGL::ExtensionManager::Instance_void_]
mov rdi, rax
mov ecx, 0x1f00
call sub.OPENGL32.dll_glGetString
mov rsi, rax
lea rdx, str.Vendor_string:
mov rcx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00402790
mov rdx, rsi
mov rcx, rax
call fcn.00402790
mov rdx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_]
mov rcx, rax
call qword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0x1f01
call sub.OPENGL32.dll_glGetString
mov rsi, rax
lea rdx, str.Renderer_string:
mov rcx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00402790
mov rdx, rsi
mov rcx, rax
call fcn.00402790
mov rdx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_]
mov rcx, rax
call qword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0x1f02
call sub.OPENGL32.dll_glGetString
mov rsi, rax
lea rdx, str.Version_string:
mov rcx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00402790
mov rdx, rsi
mov rcx, rax
call fcn.00402790
mov rdx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_]
mov rcx, rax
call qword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, str._nOpenGL_version_as_determined_by_Extensionator..._n
mov rcx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00402790
mov rcx, rdi
call fcn.0040aa50
test al, al
jne 0x40ce7d
xor ecx, ecx
call qword [sym.imp.MSVCR100.dll_exit]
int3
lea rdx, str.Has_NPOT_support:
mov rcx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00402790
mov edx, 0x3e
mov rcx, rdi
call qword [sym.imp.aif_ogl.dll_public:_bool___cdecl_AIF::OGL::ExtensionManager::isSupported_enum_AIF::OGL::teExtension_const___ptr64]
mov rcx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test al, al
je 0x40d0af
lea rdx, str.TRUE
call fcn.00402790
mov rdx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_]
mov rcx, rax
call qword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, str.Has_Framebuffer_Object_Extension_support:
mov rcx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00402790
mov edx, 0x78
mov rcx, rdi
call qword [sym.imp.aif_ogl.dll_public:_bool___cdecl_AIF::OGL::ExtensionManager::isSupported_enum_AIF::OGL::teExtension_const___ptr64]
mov rcx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test al, al
je 0x40d08a
lea rdx, str.TRUE
call fcn.00402790
mov rdx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_]
mov rcx, rax
call qword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov edx, 0x2e
mov rcx, rdi
call qword [sym.imp.aif_ogl.dll_public:_bool___cdecl_AIF::OGL::ExtensionManager::isSupported_enum_AIF::OGL::teExtension_const___ptr64]
test al, al
je 0x40d03b
mov edx, 0x30
mov rcx, rdi
call qword [sym.imp.aif_ogl.dll_public:_bool___cdecl_AIF::OGL::ExtensionManager::isSupported_enum_AIF::OGL::teExtension_const___ptr64]
test al, al
je 0x40d03b
call fcn.00408900
lea rdx, str.OpenGL_ok
mov rcx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00402790
mov rdx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_]
mov rcx, rax
call qword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov edi, 1
mov qword [rsp + 0x58], 0xf
mov qword [rsp + 0x50], 0
mov byte [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.0040c6a0
test al, al
je 0x40cfcb
lea rdx, str.OpenCL_ok__version
mov rcx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00402790
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.00407770
mov rdx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_]
mov rcx, rax
call qword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov edi, 3
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov qword [rsp + 0x28], 0
call qword [sym.imp.aif_ogl.dll_public:_static_void___cdecl_AIF::OGL::Library::terminate_void_]
call qword [sym.imp.aif_core.dll_public:_static_void___cdecl_AIF::Core::Library::terminate_void_]
call fcn.00408c30
nop
cmp qword [rsp + 0x58], 0x10
jb 0x40d006
mov rcx, qword [rsp + 0x40]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
nop
lea rdx, str.Return_code:
mov rcx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00402790
mov rcx, rax
mov edx, edi
call qword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
mov rdx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_]
call qword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov eax, edi
jmp 0x40d0d4
lea rdx, str.Has_Shading_Language_support:_FALSE
mov rcx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00402790
mov rdx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_]
mov rcx, rax
call qword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, str.Return_code:_0
mov rcx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00402790
mov rdx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_]
mov rcx, rax
call qword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor ecx, ecx
call qword [sym.imp.MSVCR100.dll_exit]
int3
lea rdx, str.FALSE
call fcn.00402790
mov rdx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_]
mov rcx, rax
call qword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor ecx, ecx
call qword [sym.imp.MSVCR100.dll_exit]
int3
lea rdx, str.FALSE
call fcn.00402790
mov rdx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_]
mov rcx, rax
call qword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor ecx, ecx
call qword [sym.imp.MSVCR100.dll_exit]
nop
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.0040ead0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret