Function at 0x1002a920
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
push edi
lea edi, [ebp - 0x44]
mov ecx, 0x11
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x10363590]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 0x100b0000
push 0
push 0
call sym.opencv_highgui249d.dll_cvInitSystem
add esp, 8
cmp dword [ebp + 8], 0
jne 0x1002a989
push 0x2bd
push 0x10245680
push str.NULL_name_string
push str.cvNamedWindow
push 0xffffffffffffffe5
call sub.opencv_core249d.dll_cvError
add esp, 0x14
jmp 0x1002acac
mov eax, dword [ebp + 8]
push eax
call fcn.100288a0
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1002a9af
mov dword [ebp - 8], 1
jmp 0x1002acac
mov ecx, dword [ebp + 0xc]
and ecx, 1
jne 0x1002a9c3
mov edx, dword [ebp - 0x18]
or edx, 0x40000
mov dword [ebp - 0x18], edx
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10028af0
add esp, 8
mov esi, esp
push 0
mov edx, dword [0x1036dcec]
push edx
push 0
push 0
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.Main_HighGUI_class
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp esi, esp
call fcn.101b9ab0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1002aa3f
push 0x2cf
push 0x10245748
push 0x102456fc
push str.cvNamedWindow
push 0xfffffffffffffffe
call sub.opencv_core249d.dll_cvError
add esp, 0x14
jmp 0x1002acac
mov esi, esp
push 5
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, esp
call fcn.101b9ab0
mov esi, esp
push 0
mov ecx, dword [0x1036dcec]
push ecx
push 0
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
push 0
push 0x80000000
mov edx, dword [ebp - 0x18]
and edx, 0xfffbffff
or edx, 0x40000000
push edx
push 0x10244c2f
push str.HighGUI_class
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp esi, esp
call fcn.101b9ab0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1002aace
push 0x2d6
push 0x102457d0
push str.Frame_window_can_not_be_created
push str.cvNamedWindow
push 0xfffffffffffffffe
call sub.opencv_core249d.dll_cvError
add esp, 0x14
jmp 0x1002acac
mov eax, dword [ebp + 0xc]
and eax, 0x1000
je 0x1002ab03
push 0x2da
push 0x10245828
push str.Library_was_built_without_OpenGL_support
push str.cvNamedWindow
push 0xffffff26
call sub.opencv_core249d.dll_cvError
add esp, 0x14
jmp 0x1002acac
mov esi, esp
push 5
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, esp
call fcn.101b9ab0
mov edx, dword [ebp + 8]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x38]
mov dl, byte [ecx]
mov byte [ebp - 0x3d], dl
add dword [ebp - 0x38], 1
cmp byte [ebp - 0x3d], 0
jne 0x1002ab27
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
add edx, 0x51
push edx
call sub.opencv_core249d.dll_cvAlloc
add esp, 4
mov dword [ebp - 0x14], eax
call sub.opencv_core249d.dll_cvGetErrStatus
test eax, eax
jge 0x1002ab8b
push 0x2e7
push str.C:_builds2_4_PackSlave_win32_vc12_sharedopencvmoduleshighgui_srcwindow_w32.cpp
push str.Inner_function_failed.
push str.cvNamedWindow
push 0xffffffffffffffff
call sub.opencv_core249d.dll_cvError
add esp, 0x14
jmp 0x1002acac
mov eax, dword [ebp - 0x14]
mov dword [eax], 0x420042
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 0x14]
add edx, 0x50
mov eax, dword [ebp - 0x14]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0x1c]
add ecx, 1
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
push ecx
call sub.MSVCR120D.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x24], eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x1c], 0
mov esi, esp
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp esi, esp
call fcn.101b9ab0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x20], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x28], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x2c], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x30], 0
xor ecx, ecx
mov edx, dword [ebp - 0x14]
add edx, 0x34
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [0x1036dce0]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0xc], 0
cmp dword [0x1036dce0], 0
je 0x1002ac5e
mov eax, dword [0x1036dce0]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 0x14]
mov dword [0x1036dce0], edx
mov esi, esp
mov eax, dword [ebp - 0x14]
push eax
push 0xffffffffffffffeb
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
cmp esi, esp
call fcn.101b9ab0
mov esi, esp
mov edx, dword [ebp - 0x14]
push edx
push 0xffffffffffffffeb
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
cmp esi, esp
call fcn.101b9ab0
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.10029e50
add esp, 4
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x1002acdc]
call fcn.101b9a50
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101b9ae0
add esp, 0x44
cmp ebp, esp
call fcn.101b9ab0
mov esp, ebp
pop ebp
ret