Function at 0x4a2a50
Capabilities:
Capture webcam image
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x61dfa8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
mov esi, dword [esp + 0x74]
push edi
mov ebp, ecx
mov ecx, 0xb
xor eax, eax
lea edi, [esp + 0x3c]
mov ebx, 1
rep stosd dword es:[edi], eax
mov dword [esp + 0x3c], 0x28
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
call fcn.004837f0
cmp eax, 0x1d6
jl 0x4a2aaa
mov eax, dword [esp + 0x40]
or ah, bl
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], esi
lea esi, [ebp + 8]
mov dword [esp + 0x60], eax
call fcn.004a2780
test eax, eax
je 0x4a2d11
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x3c]
push ecx
push 0
push 0x432
push eax
call edi
test eax, eax
je 0x4a2d11
push 0
push 0xa
mov ecx, esi
call fcn.004ec010
cmp eax, 0xffffffff
je 0x4a2d21
call fcn.004837f0
cmp eax, 0x1d6
jl 0x4a2cdd
call fcn.004a2780
test eax, eax
je 0x4a2b22
push 0
push 0
push 0x31
push eax
call edi
mov edi, eax
test edi, edi
jne 0x4a2b2c
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edi, eax
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebp, eax
mov dword [esp + 0x14], ebp
push edi
push ebp
mov dword [esp + 0x78], 0
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [0x65329c]
xor edi, edi
push eax
push edi
push 0x6d2d94
lea ecx, [esp + 0x1c]
call fcn.004e9b90
lea ecx, [esp + 0x10]
push edi
push ecx
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x7c], bl
call fcn.00513dc0
mov edx, dword [esp + 0x10]
mov byte [esp + 0x70], 3
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x4a2b9e
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4a2b9e
mov esi, dword [sym.imp.MSVCRT.dll_free]
push eax
call esi
add esp, 4
jmp 0x4a2ba4
mov esi, dword [sym.imp.MSVCRT.dll_free]
lea eax, [esp + 0x78]
lea ecx, [esp + 0x20]
push eax
call fcn.00513f40
mov eax, dword [esp + 0x78]
mov bl, 4
mov byte [esp + 0x70], bl
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4a2c32
mov esi, dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov ecx, dword [eax - 8]
lea edx, [esp + 0x18]
push edx
push ecx
push eax
push ebp
call esi
mov eax, dword [esp + 0x18]
cmp eax, edi
jle 0x4a2be0
mov edi, eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
call fcn.00513f40
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x74], 5
call fcn.004ea610
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x70], bl
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x4a2c21
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4a2c21
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, dword [esp + 0x78]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4a2bc9
mov esi, dword [sym.imp.MSVCRT.dll_free]
call fcn.004a2780
test eax, eax
je 0x4a2c4d
push 0
push 0
push 0x419
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4a2c4f
xor eax, eax
cmp edi, eax
jle 0x4a2c6b
call fcn.004a2780
test eax, eax
je 0x4a2c6b
push edi
push 0
push 0x418
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0x78]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x4a2c87
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4a2c87
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x70], 0
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4a2ca7
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4a2ca7
push eax
call esi
add esp, 4
mov ecx, dword [esp + 0x28]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x4a2cc3
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4a2cc3
push eax
call esi
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], vtable.wxObject.0
call fcn.004e8d50
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x4a2d21
push ebx
push 0x6c3db8
push 0x6d2d94
mov ecx, esi
call fcn.004ebbb0
mov edx, dword [esi]
mov dword [esp + 0x60], edx
call fcn.004a2780
test eax, eax
je 0x4a2d11
lea ecx, [esp + 0x3c]
push ecx
push 0
push 0x432
push eax
call edi
test eax, eax
jne 0x4a2d21
mov edx, dword [esi]
push edx
push str.Failed_to_create_the_tooltip__s
call fcn.0045dbf0
add esp, 8
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 4