Function at 0x4064c0
Capabilities:
Capture webcam image
Get graphical window text

Disassembly:
mov eax, dword [0x82d7d0]
sub esp, 0x30
test eax, eax
je 0x4064d9
push 0xf
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x82d880], eax
mov eax, dword [0x82f300]
mov ecx, dword [0x82f304]
push ebx
mov edx, dword [0x82d880]
push ebp
mov ebp, dword [esp + 0x44]
push esi
push edi
push 0
push eax
push 1
push ecx
mov edi, dword [sym.imp.USER32.dll_CreateWindowExA]
push 2
push ebp
push edx
push 0
push 0x50000010
push 0
push str.static
push 0
call edi
mov ecx, dword [0x82f300]
mov edx, dword [0x82f304]
push 0
push ecx
mov dword [0x9542c8], eax
push 2
lea eax, [ebp - 0xda]
push edx
push 2
push eax
mov eax, dword [0x82d880]
add eax, 0x1a
push eax
push 0
push 0x50000010
push 0
push str.static
push 0
call edi
mov ecx, dword [0x82f300]
mov edx, dword [0x82f304]
push 0
push ecx
mov dword [0x954780], eax
push 3
lea eax, [ebp - 0xec]
push edx
push 0x1e
mov dword [0x4266ac], eax
push eax
mov eax, dword [0x82d880]
add eax, 0x1e
push eax
push 6
push 0x50010001
push 0
push 0x4267e0
push 0
call edi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x3200000
push 0
push 0x406
push eax
mov dword [0x95478c], eax
call esi
mov ecx, dword [0x95478c]
push 0
push 1
push 0x405
push ecx
call esi
mov edx, dword [0x95478c]
push 0xa
push 0
push 0x415
push edx
call esi
push 1
mov eax, dword [0x95478c]
push 0x320
push 0x414
push eax
call esi
mov ecx, dword [0x95478c]
push 0
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [0x82d7c8]
test eax, eax
mov eax, str.TransStatusClass32
jne 0x406603
mov eax, str.msctls_statusbar32
mov edx, dword [0x82f300]
mov ecx, dword [0x82f304]
push 0
push edx
mov edx, dword [0x82d880]
push 4
push ecx
push 0
push 0
push edx
push 0
push 0x50000000
push 0
push eax
push 0
call edi
push eax
mov dword [0x95444c], eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
mov eax, dword [0x95444c]
push 0
push 0
push 0x31
push eax
call esi
test eax, eax
mov dword [esp + 0x10], eax
je 0x40665e
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x14], eax
mov ecx, dword [0x82f33c]
push 0xc
push 0x954440
push 0xc3a3
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
mov edx, dword [0x82f33c]
push 8
push 0x954458
push 0x9c82
push edx
mov dword [0x82d884], eax
call dword [sym.imp.USER32.dll_LoadStringA]
mov dword [0x82d888], eax
mov eax, dword [0x82f33c]
push 8
push 0x9542d0
push 0xc381
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
mov edx, dword [0x82d884]
lea ecx, [esp + 0x18]
push ecx
push edx
push 0x954440
push ebx
mov dword [0x82d88c], eax
call dword [sym.imp.GDI32.dll_GetTextExtentPointA]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x18]
push ecx
push 5
add eax, 5
push str.AAAAA
push ebx
mov dword [0x4266b0], eax
call dword [sym.imp.GDI32.dll_GetTextExtentPointA]
mov edx, dword [0x4266b0]
mov eax, dword [esp + 0x18]
lea ecx, [edx + eax + 7]
mov eax, dword [0x82d888]
lea edx, [esp + 0x18]
mov dword [0x4266b4], ecx
push edx
push eax
push 0x954458
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPointA]
mov ecx, dword [esp + 0x18]
mov edx, dword [0x4266b4]
lea eax, [edx + ecx + 7]
lea ecx, [esp + 0x18]
push ecx
push 5
push str.AAAAA
push ebx
mov dword [0x4266b8], eax
call dword [sym.imp.GDI32.dll_GetTextExtentPointA]
mov edx, dword [0x4266b8]
mov eax, dword [esp + 0x18]
lea ecx, [edx + eax + 7]
mov eax, dword [0x82d88c]
lea edx, [esp + 0x18]
mov dword [0x4266bc], ecx
push edx
push eax
push 0x9542d0
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPointA]
mov ecx, dword [esp + 0x18]
mov edx, dword [0x4266bc]
lea eax, [edx + ecx + 7]
lea ecx, [esp + 0x18]
push ecx
push 5
push str.AA:AA
push ebx
mov dword [0x4266c0], eax
call dword [sym.imp.GDI32.dll_GetTextExtentPointA]
mov eax, dword [esp + 0x18]
mov edx, dword [0x4266c0]
lea ecx, [edx + eax + 7]
mov edx, dword [esp + 0x1c]
add eax, 8
mov dword [0x4266c4], ecx
mov dword [0x4266e0], eax
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [0x4266e4], edx
je 0x4067ca
mov eax, dword [esp + 0x14]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [0x95444c]
push ebx
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [0x82f300]
mov eax, dword [0x82f304]
mov ecx, dword [0x82d880]
push 0
push edx
mov edx, dword [0x4266e4]
push 5
push eax
lea eax, [ebp - 0xda]
push 2
push eax
lea eax, [edx + ecx + 0x3e]
push eax
push 0
push 0x50000010
push 0
push str.static
push 0
call edi
mov edx, dword [0x95478c]
lea ecx, [esp + 0x30]
push ecx
push 0
push 0x419
push edx
mov dword [0x954784], eax
call esi
mov ecx, dword [0x95478c]
lea eax, [esp + 0x20]
push eax
push 0
push 0x41a
push ecx
call esi
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
sub eax, ebx
push 0x4266b0
inc eax
push 7
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
mov ecx, eax
push 0x404
lea eax, [edx + 1]
cdq
sub eax, edx
mov edx, dword [0x95444c]
sar ecx, 1
sar eax, 1
sub ecx, eax
mov eax, dword [esp + 0x2c]
push edx
lea ecx, [ecx + eax + 6]
mov dword [0x4266d0], ecx
call esi
mov eax, dword [0x95444c]
push 0x954440
push 0
push 0x401
push eax
call esi
mov ecx, dword [0x95444c]
push 0x82d6c0
push 1
push 0x401
push ecx
call esi
mov edx, dword [0x95444c]
push 0x954458
push 2
push 0x401
push edx
call esi
push 0x82d6c0
push 3
mov eax, dword [0x95444c]
push 0x401
push eax
call esi
mov ecx, dword [0x95444c]
push 0x9542d0
push 4
push 0x401
push ecx
call esi
mov edx, dword [0x95444c]
push 0x82d6c0
push 5
push 0x401
push edx
call esi
mov eax, dword [esp + 0x10]
mov ecx, dword [0x82f300]
mov edx, dword [0x82f304]
push 0
mov dword [0x82d7e8], eax
mov eax, dword [0x82d880]
push ecx
push 6
push edx
push 0x1e
add eax, 4
push 0x32
lea ecx, [ebp - 0xd8]
push eax
push ecx
push 0x50010001
push 0
push 0x4267e0
push 0
call edi
push 0x1000000
push 0
push 0x406
push eax
mov dword [0x9542c4], eax
call esi
mov edx, dword [0x9542c4]
push 0x80
push 1
push 0x405
push edx
call esi
mov eax, dword [0x9542c4]
push 0x20
push 0
push 0x415
push eax
call esi
mov ecx, dword [0x9542c4]
push 1
push 0x80
push 0x414
push ecx
call esi
mov edx, dword [0x82f33c]
push 0x14
push 0x10
push 0x10
mov eax, dword [0x82f304]
push 0x10
push 0x10
push 0
push 0
push 0x81
push edx
push 0x18
push 0x12d
push 0x5400094e
push eax
call dword [sym.imp.COMCTL32.dll_CreateToolbarEx]
lea ebx, [ebp - 0xdc]
push 4
push 0x1a
mov dword [0x954464], eax
push ebx
mov ecx, dword [0x82d880]
add ecx, 3
push ecx
push 2
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [0x954464]
push 0x81
push edx
call fcn.00406ee0
add esp, 8
mov ecx, dword [0x82f304]
mov dword [0x82d7c0], eax
mov eax, dword [0x82f33c]
push 0x14
push 0x10
push 0x10
push 0x10
push 0x10
push 0
push 0
push 0x83
push eax
push 0x18
push 0x13d
push 0x5400094e
push ecx
call dword [sym.imp.COMCTL32.dll_CreateToolbarEx]
mov edx, dword [0x82d880]
mov ecx, dword [0x4266e4]
push 4
push 0x1a
lea edx, [ecx + edx + 0x41]
push ebx
push edx
push 2
push 0
push eax
mov dword [0x954788], eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [0x954788]
push 0x83
push eax
call fcn.00406ee0
mov edx, dword [0x95444c]
add esp, 8
lea ecx, [esp + 0x20]
mov dword [0x82d7c4], eax
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov eax, dword [0x82f300]
mov edx, dword [esp + 0x50]
sub ebx, ecx
mov ecx, dword [0x82f304]
push 0
push eax
push 7
mov eax, dword [0x82d880]
push ecx
mov ecx, dword [0x4266e4]
add ebx, 2
sub edx, ecx
sub edx, ebx
add eax, 0x22
sub edx, 0x24
lea ecx, [ebp - 0xd2]
push edx
push 0x28
push eax
push ecx
push 0x5001000b
push 0
push 0x4267e0
push 0
call edi
mov dword [0x954204], eax
push 0x1000000
push 0
push 0x406
push eax
call esi
mov edx, dword [0x954204]
push 0x80
push 1
push 0x405
push edx
call esi
mov eax, dword [0x954204]
push 0xa
push 0
push 0x415
push eax
call esi
mov ecx, dword [0x954204]
push 1
push 0x20
push 0x414
push ecx
call esi
mov edx, dword [esp + 0x50]
mov ecx, dword [0x82f300]
sub edx, ebx
push 0
push ecx
push 8
lea eax, [edx + 2]
mov edx, dword [0x82f304]
push edx
mov dword [esp + 0x20], eax
push eax
mov eax, dword [0x82d880]
add eax, 2
push 2
push eax
lea eax, [ebp - 0xdc]
push eax
push 0x50000011
push 0
push str.static
push 0
call edi
mov ecx, dword [0x82f300]
mov edx, dword [0x82f304]
push 0
mov dword [0x954794], eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [0x82d880]
push 9
push edx
push eax
add ecx, 2
push 2
lea edx, [ebp - 0xa4]
push ecx
push edx
push 0x50000011
push 0
push str.static
push 0
call edi
mov ecx, dword [0x82f304]
mov edx, dword [esp + 0x50]
mov dword [0x954798], eax
mov eax, dword [0x82f300]
push 0
push eax
push 0xa
mov eax, dword [0x82d880]
push ecx
mov ecx, dword [0x4266e4]
sub edx, ecx
sub edx, ebx
sub edx, 6
add eax, 4
push edx
push 0x50
push eax
lea ecx, [ebp - 0x9a]
push ecx
push 0x50000100
push 0
push str.static
push 0x20000
call edi
mov edx, dword [0x82f300]
mov ecx, dword [esp + 0x10]
mov dword [0x954430], eax
mov eax, dword [0x82f304]
push 0
push edx
mov edx, dword [0x82d880]
push 0xb
push eax
push ecx
add edx, 2
push 2
lea eax, [ebp - 0x28]
push edx
push eax
push 0x50000011
push 0
push str.static
push 0
call edi
mov ecx, dword [0x82f33c]
push 8
push 0x954420
push 0x9c85
push ecx
mov dword [0x954468], eax
call dword [sym.imp.USER32.dll_LoadStringA]
mov edx, dword [0x82f300]
mov eax, dword [0x82f304]
push 0
push edx
mov edx, dword [0x82d880]
push 0xc
push eax
mov eax, dword [0x4266e4]
sub edx, eax
lea ecx, [eax + 4]
mov eax, dword [esp + 0x60]
sub edx, ebx
push ecx
push 0x36
lea ecx, [edx + eax - 2]
lea eax, [ebp - 0xda]
push ecx
push eax
push 0x50000001
push 0x954420
push str.static
push 0
call edi
mov edx, dword [0x82f300]
mov ecx, dword [0x82f304]
push 0
push edx
mov edx, dword [esp + 0x58]
push 0xd
push ecx
mov ecx, dword [0x4266e4]
sub edx, ecx
mov ecx, dword [0x82d880]
sub edx, ebx
mov dword [0x954414], eax
sub edx, 6
add ecx, 4
push edx
lea eax, [ebp - 0x26]
push 0x26
push ecx
push eax
push 0x50010007
push 0
push 0x4267e0
push 0
call edi
push 0x80000
push 0
push 0x406
push eax
mov dword [0x95446c], eax
call esi
mov eax, dword [0x4266cc]
mov edx, 8
sub edx, eax
mov eax, dword [0x95446c]
push edx
push 1
push 0x405
push eax
call esi
mov ecx, dword [0x95446c]
push 2
push 0
push 0x415
push ecx
call esi
mov edx, dword [0x95446c]
push 1
push 1
push 0x414
push edx
call esi
mov eax, dword [0x4266cc]
push eax
push 0xd
call fcn.00404300
mov ecx, dword [0x95478c]
mov esi, dword [sym.imp.USER32.dll_GetWindowLongA]
add esp, 8
push 0xfffffffffffffffc
push ecx
call esi
mov edx, dword [0x9542c4]
push 0xfffffffffffffffc
push edx
mov dword [0x9543e8], eax
call esi
mov dword [0x9543e0], eax
mov eax, dword [0x954204]
push 0xfffffffffffffffc
push eax
call esi
mov ecx, dword [0x95446c]
push 0xfffffffffffffffc
push ecx
mov dword [0x954200], eax
call esi
mov edx, dword [0x95478c]
mov esi, dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x4062c0
push 0xfffffffffffffffc
push edx
mov dword [0x954460], eax
call esi
mov eax, dword [0x9542c4]
push 0x406340
push 0xfffffffffffffffc
push eax
call esi
mov ecx, dword [0x954204]
push 0x4063c0
push 0xfffffffffffffffc
push ecx
call esi
mov edx, dword [0x95446c]
push 0x406440
push 0xfffffffffffffffc
push edx
call esi
mov eax, dword [0x82f33c]
push 8
push 0x954428
push 0xc382
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
push 0
mov ecx, dword [0x82f300]
mov edx, dword [0x82f304]
mov eax, dword [0x4266e4]
mov esi, dword [esp + 0x54]
push ecx
push 0xe
push edx
mov edx, dword [0x82d880]
sub edx, eax
lea ecx, [eax + 4]
sub edx, ebx
push ecx
push 0x28
lea eax, [edx + esi - 2]
push eax
lea eax, [ebp - 0x26]
push eax
push 0x50000001
push 0x954428
push str.static
push 0
call edi
mov ecx, dword [0x82f300]
mov edx, dword [0x82f304]
push 0
push ecx
push 0xf
mov dword [0x95441c], eax
mov eax, dword [0x82d880]
push edx
mov edx, dword [0x4266e4]
push 2
sub eax, edx
push ebp
add eax, esi
push eax
push 0
push 0x50000011
push 0
push str.static
push 0
call edi
mov dword [0x954790], eax
call fcn.00407af0
call fcn.00407ee0
call fcn.00408260
push 0
call fcn.00407120
mov edx, dword [0x82f304]
add esp, 4
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [0x82f304]
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [0x4266e4]
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x24]
mov esi, dword [0x82d880]
lea eax, [edx + edx + 0x5e]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
sub eax, ebx
sub eax, edi
pop edi
add eax, esi
pop esi
add eax, edx
pop ebp
add eax, ecx
pop ebx
add esp, 0x30
ret