Function at 0x10027e50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
push esi
push edi
lea edi, [ebp - 0xb4]
mov ecx, 0x2d
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 - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
cmp dword [ebp + 0xc], 0
je 0x10027e9f
cmp dword [ebp + 8], 0
jne 0x10027ec7
push 0x71a
push 0x10244f38
push str.NULL_window_or_trackbar_name
push str.icvCreateTrackbar
push 0xffffffffffffffe5
call sub.opencv_core249d.dll_cvError
add esp, 0x14
jmp 0x10028562
cmp dword [ebp + 0x14], 0
jg 0x10027ef8
push 0x71d
push 0x10244fc8
push str.Bad_trackbar_maximal_value
push str.icvCreateTrackbar
push 0xffffff2d
call sub.opencv_core249d.dll_cvError
add esp, 0x14
jmp 0x10028562
mov eax, dword [ebp + 0xc]
push eax
call fcn.100288a0
add esp, 4
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x10027f17
jmp 0x10028562
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call fcn.100287d0
add esp, 8
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x1002840d
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
add ecx, 1
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0xa8]
mov al, byte [edx]
mov byte [ebp - 0xad], al
add dword [ebp - 0xa8], 1
cmp byte [ebp - 0xad], 0
jne 0x10027f4c
mov ecx, dword [ebp - 0xa8]
sub ecx, dword [ebp - 0xac]
mov dword [ebp - 0xb4], ecx
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x34], 0
jne 0x100280d6
mov dword [ebp - 0xa4], 0x1e
mov esi, esp
push 0x14
push 0x10
push 0x10
push 0x14
push 0x10
push 0
push 0
push 0
push 0
push 0
push 1
push 0x40000201
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x14]
push edx
call dword [sym.imp.COMCTL32.dll_CreateToolbarEx]
cmp esi, esp
call fcn.101b9ab0
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x34], eax
mov esi, esp
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
cmp esi, esp
call fcn.101b9ab0
mov esi, esp
push 1
push 0x1e
mov edx, dword [ebp - 0x8c]
sub edx, dword [ebp - 0x94]
push edx
push 0
push 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x34]
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
cmp esi, esp
call fcn.101b9ab0
mov esi, esp
push 0
push 0
push 0x421
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x34]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, esp
call fcn.101b9ab0
mov esi, esp
push 5
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x34]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, esp
call fcn.101b9ab0
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x44], 0
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x38], 0
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x3c], 0
mov esi, esp
push 0xfffffffffffffffc
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x34]
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
cmp esi, esp
call fcn.101b9ab0
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x34]
push eax
call fcn.10029e50
add esp, 4
mov esi, esp
push 0x10025cf0
push 0xfffffffffffffffc
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x34]
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
cmp esi, esp
call fcn.101b9ab0
mov esi, esp
mov eax, dword [ebp - 0x34]
push eax
push 0xffffffffffffffeb
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x34]
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
cmp esi, esp
call fcn.101b9ab0
mov esi, esp
push 0
push 0
push 0x418
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x34]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, esp
call fcn.101b9ab0
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 1
jle 0x10028169
mov dword [ebp - 0x54], 0
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x4b], 1
mov byte [ebp - 0x4c], 4
mov esi, esp
lea eax, [ebp - 0x54]
push eax
push 1
push 0x414
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x34]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, esp
call fcn.101b9ab0
mov esi, esp
push 0
push 0
push 0x418
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x34]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, esp
call fcn.101b9ab0
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x54], 0
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x50], edx
mov byte [ebp - 0x4c], 4
mov byte [ebp - 0x4b], 4
mov eax, dword [0x1033d014]
mov dword [ebp - 0x44], eax
mov esi, esp
lea ecx, [ebp - 0x54]
push ecx
push 1
push 0x414
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x34]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, esp
call fcn.101b9ab0
mov dword [ebp - 0x7c], 0x20
mov dword [ebp - 0x78], 0x40
mov esi, esp
lea ecx, [ebp - 0x94]
push ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
cmp esi, esp
call fcn.101b9ab0
mov ecx, dword [ebp - 0x8c]
sub ecx, dword [ebp - 0x94]
mov word [ebp - 0x6a], cx
mov esi, esp
lea edx, [ebp - 0x7c]
push edx
mov eax, dword [ebp - 0x50]
push eax
push 0x442
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x34]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, esp
call fcn.101b9ab0
mov esi, esp
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
push 0x41d
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x34]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, esp
call fcn.101b9ab0
mov ecx, dword [ebp - 0xa0]
add ecx, 0x35
push ecx
call sub.opencv_core249d.dll_cvAlloc
add esp, 4
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
mov dword [edx], 0x420043
mov eax, dword [ebp - 0x38]
mov dword [eax + 0x24], 0
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x28], 0
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x1c], 0
mov edx, dword [ebp - 0x38]
mov dword [edx + 0x18], 0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x9c]
mov dword [eax + 0x30], ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x44]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0x38]
add edx, 0x34
mov eax, dword [ebp - 0x38]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0xa0]
add ecx, 1
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 8]
push ecx
call sub.MSVCR120D.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov dword [edx + 0x44], eax
mov esi, esp
mov ecx, dword [ebp + 0x10]
push ecx
push str.Trackbar_p
lea edx, [ebp - 0x2c]
push edx
call dword [sym.imp.MSVCR120D.dll_sprintf]
add esp, 0xc
cmp esi, esp
call fcn.101b9ab0
mov esi, esp
push 0
mov eax, dword [0x1036dcec]
push eax
mov ecx, dword [ebp - 0x9c]
push ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x34]
push eax
mov ecx, dword [ebp - 0x88]
sub ecx, dword [ebp - 0x90]
push ecx
mov edx, dword [ebp - 0x8c]
sub edx, dword [ebp - 0x94]
sub edx, 0x82
push edx
mov eax, dword [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0x94]
add ecx, 0x82
push ecx
push 0x50000041
lea edx, [ebp - 0x2c]
push edx
push str.msctls_trackbar32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp esi, esp
call fcn.101b9ab0
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 4], eax
mov esi, esp
mov edx, dword [ebp + 0x10]
push edx
push str.Buddy_p
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR120D.dll_sprintf]
add esp, 0xc
cmp esi, esp
call fcn.101b9ab0
mov esi, esp
push 0
mov ecx, dword [0x1036dcec]
push ecx
push 0
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x34]
push eax
mov ecx, dword [ebp - 0x88]
sub ecx, dword [ebp - 0x90]
push ecx
push 0x82
mov edx, dword [ebp - 0x90]
push edx
mov eax, dword [ebp - 0x94]
push eax
push 0x40000002
lea ecx, [ebp - 0x2c]
push ecx
push str.STATIC
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp esi, esp
call fcn.101b9ab0
mov edx, dword [ebp - 0x38]
mov dword [edx + 0x14], eax
mov esi, esp
mov eax, dword [ebp - 0x38]
push eax
push 0xffffffffffffffeb
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
cmp esi, esp
call fcn.101b9ab0
mov esi, esp
lea eax, [ebp - 0x94]
push eax
push 1
push 0x427
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x34]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, esp
call fcn.101b9ab0
jmp 0x1002842b
mov eax, dword [ebp - 0x38]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x24], 0
mov edx, dword [ebp - 0x38]
mov dword [edx + 0x28], 0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x20], ecx
mov esi, esp
push 0
push 1
push 0x407
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, esp
call fcn.101b9ab0
mov esi, esp
mov ecx, dword [ebp + 0x14]
push ecx
push 1
push 0x408
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, esp
call fcn.101b9ab0
mov esi, esp
push 0
push 1
push 0x414
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, esp
call fcn.101b9ab0
cmp dword [ebp + 0x10], 0
je 0x100284a1
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x3c], ecx
mov esi, esp
mov edx, dword [ebp - 0x3c]
push edx
push 1
push 0x405
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, esp
call fcn.101b9ab0
mov esi, esp
push 0
push 0
push 0x421
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x34]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, esp
call fcn.101b9ab0
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x1c], 0xffffffff
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x38]
push eax
call fcn.10029bb0
add esp, 8
mov esi, esp
push 5
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x14]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, esp
call fcn.101b9ab0
mov esi, esp
push 5
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, esp
call fcn.101b9ab0
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp + 0x18]
mov dword [edx + 0x24], eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp + 0x1c]
mov dword [ecx + 0x28], edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp + 0x20]
mov dword [eax + 0x2c], ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0x18], eax
mov ecx, dword [ebp - 0x34]
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, [0x10028594]
call fcn.101b9a50
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101b9ae0
add esp, 0xb4
cmp ebp, esp
call fcn.101b9ab0
mov esp, ebp
pop ebp
ret