Function at 0x406dd0
Capabilities:
Access peb ldr_data
Capture webcam image

Disassembly:
push 0xffffffffffffffff
push 0x475899
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call dword [0x47e138]
mov eax, dword [0x203a320]
mov ecx, dword [0x4c8efc]
mov edx, dword [0x4c8ef8]
neg eax
sbb eax, eax
and eax, 0x10
add eax, 0x10
push eax
push ecx
push edx
lea eax, [esp + 0x18]
push str._4d___4d___d
push eax
mov dword [esp + 0x30], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x10
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
push 0x3f5
push esi
call fcn.00448700
add esp, 0xc
test al, al
jne 0x406efd
mov eax, dword [esi + 0x74df8]
imul eax, eax, 0xbabc
mov ecx, dword [eax + esi + 0xbd54]
lea eax, [eax + esi + 0x29c]
imul ecx, ecx, 0x2478
mov edx, dword [ecx + eax + 0x28c8]
lea eax, [ecx + eax + 0x460]
imul edx, edx, 0x3c
mov ecx, dword [edx + eax + 0x148]
cmp ecx, 0x14
lea eax, [edx + eax + 0x140]
mov edx, 0x10
je 0x406eaa
cmp ecx, 0x15
je 0x406eaa
cmp ecx, 0x16
jne 0x406eaf
mov edx, 0x20
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x18]
push str._4d___4d___d
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x10
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
push 0x3f5
push esi
call fcn.00448700
add esp, 0xc
test al, al
jne 0x406efd
push 0
push 0x3f5
push esi
call fcn.00448950
add esp, 0xc
mov eax, dword [0x203a324]
push eax
push 0x419
push esi
call fcn.004489d0
add esp, 0xc
mov ecx, esi
call fcn.004061f0
mov ecx, dword [0x203a338]
mov dword [esi + 0x7c], ecx
mov edx, dword [0x203a330]
mov dword [esi + 0x78], edx
mov eax, dword [0x203a334]
mov edi, ecx
push 0x3fa
mov ecx, esi
mov dword [esi + 0x74], eax
call sub.MFC71.DLL_CWnd::GetDlgItem
mov ecx, dword [eax + 0x20]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0x405
push ecx
call edi
mov ebx, dword [esi + 0x78]
push 0x3fb
mov ecx, esi
call sub.MFC71.DLL_CWnd::GetDlgItem
mov edx, dword [eax + 0x20]
push ebx
push 1
push 0x405
push edx
call edi
mov ebx, dword [esi + 0x74]
push 0x3fc
mov ecx, esi
call sub.MFC71.DLL_CWnd::GetDlgItem
mov eax, dword [eax + 0x20]
push ebx
push 1
push 0x405
push eax
call edi
mov ecx, dword [0x203a310]
push ecx
push 0x41b
push esi
call fcn.004489d0
mov edx, dword [0x4c8f08]
push edx
push 0x40d
push esi
call fcn.004489d0
mov eax, dword [0x203a350]
imul eax, eax, 0x1c
push ecx
lea edx, [eax + esi + 0x208]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push 0x41a
push esi
call fcn.004487f0
mov eax, dword [0x203a354]
imul eax, eax, 0x1c
add esp, 8
lea edx, [eax + esi + 0x1b4]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push 0x414
push esi
call fcn.004487f0
mov eax, dword [0x4c8f10]
imul eax, eax, 0x1c
lea edx, [eax + esi + 0x80]
add esp, 8
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push 0x407
push esi
call fcn.004487f0
mov eax, dword [0x4c8f30]
imul eax, eax, 0x1c
add esp, 8
lea edx, [eax + esi + 0x10c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push 0x40c
push esi
call fcn.004487f0
mov eax, dword [0x203a33c]
imul eax, eax, 0x1c
add esp, 8
lea edx, [eax + esi + 0x160]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push 0x408
push esi
call fcn.004487f0
mov eax, dword [0x4c8f18]
push eax
push 0x404
push esi
call fcn.004489d0
mov ecx, dword [0x4c8f1c]
push ecx
push 0x405
push esi
call fcn.004489d0
mov edx, dword [0x4c8f20]
push edx
push 0x406
push esi
call fcn.004489d0
mov eax, dword [0x4c8f24]
add esp, 0x48
push eax
push 0x40a
push esi
call fcn.004489d0
mov ecx, dword [0x4c8f14]
push ecx
push 0x40f
push esi
call fcn.004489d0
mov edx, dword [0x4c8f28]
push edx
push 0x41e
push esi
call fcn.004489d0
mov eax, dword [0x4c8f2c]
push eax
push 0x417
push esi
call fcn.004489d0
mov edi, dword [0x203a344]
xor ecx, ecx
test edi, edi
sete cl
push ecx
push 0x412
push esi
call fcn.004489d0
mov edi, dword [0x203a348]
xor edx, edx
test edi, edi
sete dl
push edx
push 0x410
push esi
call fcn.004489d0
mov edx, dword [0x203a340]
add esp, 0x48
xor eax, eax
test edx, edx
sete al
push eax
push 0x413
push esi
call fcn.004489d0
mov ecx, dword [0x203a34c]
push ecx
push 0x416
push esi
call fcn.004489d0
add esp, 0x18
mov ecx, 0x4db860
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
mov ecx, 0x203b658
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
neg eax
sbb al, al
inc al
movzx edx, al
push edx
push 0x415
push esi
call fcn.004489d0
add esp, 0xc
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret