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

Disassembly:
push 0xffffffffffffffff
push 0x475b59
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 [0x47f138]
mov eax, dword [0x203b388]
mov ecx, dword [0x4c9f14]
mov edx, dword [0x4c9f10]
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.004489d0
add esp, 0xc
test al, al
jne 0x406e9d
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 0x406e4a
cmp ecx, 0x15
je 0x406e4a
cmp ecx, 0x16
jne 0x406e4f
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.004489d0
add esp, 0xc
test al, al
jne 0x406e9d
push 0
push 0x3f5
push esi
call fcn.00448c20
add esp, 0xc
mov eax, dword [0x203b38c]
push eax
push 0x419
push esi
call fcn.00448ca0
add esp, 0xc
mov ecx, esi
call fcn.00406190
mov ecx, dword [0x203b3a0]
mov dword [esi + 0x7c], ecx
mov edx, dword [0x203b398]
mov dword [esi + 0x78], edx
mov eax, dword [0x203b39c]
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 [0x203b378]
push ecx
push 0x41b
push esi
call fcn.00448ca0
mov edx, dword [0x4c9f20]
push edx
push 0x40d
push esi
call fcn.00448ca0
mov eax, dword [0x203b3b8]
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.00448ac0
mov eax, dword [0x203b3bc]
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.00448ac0
mov eax, dword [0x4c9f28]
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.00448ac0
mov eax, dword [0x4c9f48]
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.00448ac0
mov eax, dword [0x203b3a4]
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.00448ac0
mov eax, dword [0x4c9f30]
push eax
push 0x404
push esi
call fcn.00448ca0
mov ecx, dword [0x4c9f34]
push ecx
push 0x405
push esi
call fcn.00448ca0
mov edx, dword [0x4c9f38]
push edx
push 0x406
push esi
call fcn.00448ca0
mov eax, dword [0x4c9f3c]
add esp, 0x48
push eax
push 0x40a
push esi
call fcn.00448ca0
mov ecx, dword [0x4c9f2c]
push ecx
push 0x40f
push esi
call fcn.00448ca0
mov edx, dword [0x4c9f40]
push edx
push 0x41e
push esi
call fcn.00448ca0
mov eax, dword [0x4c9f44]
push eax
push 0x417
push esi
call fcn.00448ca0
mov edi, dword [0x203b3ac]
xor ecx, ecx
test edi, edi
sete cl
push ecx
push 0x412
push esi
call fcn.00448ca0
mov edi, dword [0x203b3b0]
xor edx, edx
test edi, edi
sete dl
push edx
push 0x410
push esi
call fcn.00448ca0
mov edx, dword [0x203b3a8]
add esp, 0x48
xor eax, eax
test edx, edx
sete al
push eax
push 0x413
push esi
call fcn.00448ca0
mov ecx, dword [0x203b3b4]
push ecx
push 0x416
push esi
call fcn.00448ca0
add esp, 0x18
mov ecx, 0x4dc8c8
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, 0x203c6c0
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.00448ca0
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