Function at 0x4a6010
Capabilities:
Capture webcam image
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4f03c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0x51115c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esi + 0xa40]
xor ebp, ebp
mov dword [esp + 0x38], ebp
mov eax, dword [eax + 0x254]
cmp eax, 1
je 0x4a606a
cmp eax, 2
jne 0x4a605f
push 0x50f5bc
jmp 0x4a606f
cmp eax, ebp
jne 0x4a606a
push 0x50f5b0
jmp 0x4a606f
push str.MS_Sans_Serif
lea ecx, [esp + 0x14]
call fcn.004e28bc
mov ecx, dword [esp + 0x10]
mov ebx, dword [sym.imp.GDI32.dll_CreateFontA]
push ecx
push 0x21
push ebp
push ebp
push 1
push ebp
push ebp
push ebp
push ebp
push 0x190
push ebp
push ebp
push ebp
push 0xf
lea edi, [esi + 0xeec]
call ebx
push eax
mov ecx, edi
call sub.MFC42.DLL_CGdiObject::Attach
cmp eax, ebp
jne 0x4a60d1
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.004e2712
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
push str.MS_Sans_Serif
push 0x21
push ebp
push ebp
push 1
push ebp
push ebp
push ebp
push ebp
push 0x190
push ebp
push ebp
push ebp
push ebp
lea edi, [esi + 0xee4]
call ebx
push eax
mov ecx, edi
call sub.MFC42.DLL_CGdiObject::Attach
cmp eax, ebp
jne 0x4a6123
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.004e2712
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
call sub.MFC42.DLL_AfxGetThread
cmp eax, ebp
je 0x4a6135
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
mov ebp, eax
mov eax, dword [ebp + 0x2d4]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0x806c
push 0x419
push eax
call edi
push 0x127
mov ebx, eax
push 1
lea ecx, [ebp + 0x2b4]
push 0x806c
push ebx
mov dword [esp + 0x2c], ecx
call sub.MFC42.DLL_CToolBar::SetButtonInfo
mov edx, dword [ebp + 0x2d4]
lea ecx, [esp + 0x20]
push ecx
push ebx
push 0x41d
push edx
call edi
mov eax, dword [esi + 0xa40]
mov eax, dword [eax + 0x254]
cmp eax, 1
jne 0x4a619a
mov eax, 0x5a
jmp 0x4a61ad
cmp eax, 2
je 0x4a61a8
test eax, eax
mov eax, 0x50
je 0x4a61ad
mov eax, 0x78
mov ecx, dword [esp + 0x20]
mov ebp, dword [sym.imp.USER32.dll_OffsetRect]
push 0
mov ebx, 0x16
lea edx, [eax + ecx]
add eax, 5
push eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x30], 4
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], edx
call ebp
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add ecx, 0x55
push 0x8929
lea eax, [esp + 0x24]
push edx
mov dword [esp + 0x30], ecx
push eax
push 0x10210003
lea ecx, [esi + 0x1064]
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], 0xbe
call sub.MFC42.DLL_CComboBox::Create
test eax, eax
jne 0x4a6240
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.004e2712
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
lea eax, [esi + 0xeec]
test eax, eax
je 0x4a624d
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x1084]
push 1
push eax
push 0x30
push ecx
call edi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString
push 0xa283
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_CString::LoadStringA
push 0xa284
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::LoadStringA
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0x1084]
push edx
push 0
push 0x143
push eax
call edi
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x1084]
push ecx
push 0
push 0x143
push edx
call edi
push 0
lea eax, [esp + 0x24]
push 0x64
push eax
call ebp
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 1
call fcn.004e2712
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 0
call fcn.004e2712
mov ecx, dword [esp + 0x20]
push 0
lea edx, [esp + 0x24]
add ecx, 0x2d
push 0x32
push edx
mov dword [esp + 0x30], 4
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ecx
call ebp
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], ebx
push 0x8926
lea edx, [esp + 0x24]
lea ebx, [esi + 0xf34]
push ecx
add eax, 0x32
push edx
push 0x50810042
mov ecx, ebx
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], eax
call sub.MFC42.DLL_CEdit::Create
test eax, eax
jne 0x4a6368
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.004e2712
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
lea eax, [esi + 0xee4]
test eax, eax
je 0x4a6375
mov eax, dword [eax + 4]
push 1
push eax
mov eax, dword [esi + 0xf54]
push 0x30
push eax
call edi
push 1
mov ecx, ebx
call fcn.004586c0
push 0
lea ecx, [esp + 0x24]
push 0x37
push ecx
mov dword [esi + 0xf80], 0
call ebp
mov edx, dword [esp + 0x20]
push 0
lea eax, [esp + 0x24]
add edx, 0x19
push 0x1e
push eax
mov dword [esp + 0x30], 4
mov dword [esp + 0x38], 0x16
mov dword [esp + 0x34], edx
call ebp
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.004e2712
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret