Function at 0x405890
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
call fcn.00456e08
push 8
call fcn.00447eb9
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je 0x4058be
mov dword [eax + 4], 0
mov dword [eax], vtable.CFont.0
jmp 0x4058c0
xor eax, eax
push 0
push str.Arial
push 0x96
mov ecx, eax
mov dword [edi + 0x358], eax
call fcn.00459806
mov esi, dword [edi + 0x358]
mov ecx, edi
push 0x3ea
call fcn.0045264a
test esi, esi
jne 0x4058f3
xor ecx, ecx
jmp 0x4058f6
mov ecx, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push ecx
push 0x30
push dword [eax + 0x20]
call ebx
push 8
call fcn.00447eb9
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je 0x405926
mov dword [eax + 4], 0
mov dword [eax], vtable.CFont.0
jmp 0x405928
xor eax, eax
push 0
push str.Arial
push 0x78
mov ecx, eax
mov dword [edi + 0x358], eax
call fcn.00459806
mov esi, dword [edi + 0x358]
mov ecx, edi
push 0x417
call fcn.0045264a
test esi, esi
jne 0x405958
xor ecx, ecx
jmp 0x40595b
mov ecx, dword [esi + 4]
push 1
push ecx
push 0x30
push dword [eax + 0x20]
call ebx
push 8
call fcn.00447eb9
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je 0x405985
mov dword [eax + 4], 0
mov dword [eax], vtable.CFont.0
jmp 0x405987
xor eax, eax
push 0
push str.Arial
push 0x64
mov ecx, eax
mov dword [edi + 0x358], eax
call fcn.00459806
mov esi, dword [edi + 0x358]
mov ecx, edi
push 0x410
call fcn.0045264a
test esi, esi
jne 0x4059b7
xor ecx, ecx
jmp 0x4059ba
mov ecx, dword [esi + 4]
push 1
push ecx
push 0x30
push dword [eax + 0x20]
call ebx
mov esi, dword [edi + 0x358]
mov ecx, edi
push 0x411
call fcn.0045264a
test esi, esi
jne 0x4059de
xor ecx, ecx
jmp 0x4059e1
mov ecx, dword [esi + 4]
push 1
push ecx
push 0x30
push dword [eax + 0x20]
call ebx
mov esi, dword [edi + 0x358]
mov ecx, edi
push 0x412
call fcn.0045264a
test esi, esi
jne 0x405a05
xor ecx, ecx
jmp 0x405a08
mov ecx, dword [esi + 4]
push 1
push ecx
push 0x30
push dword [eax + 0x20]
call ebx
mov esi, dword [edi + 0x358]
mov ecx, edi
push 0x413
call fcn.0045264a
test esi, esi
jne 0x405a2c
xor ecx, ecx
jmp 0x405a2f
mov ecx, dword [esi + 4]
push 1
push ecx
push 0x30
push dword [eax + 0x20]
call ebx
mov esi, dword [edi + 0x358]
mov ecx, edi
push 0x414
call fcn.0045264a
test esi, esi
jne 0x405a53
xor ecx, ecx
jmp 0x405a56
mov ecx, dword [esi + 4]
push 1
push ecx
push 0x30
push dword [eax + 0x20]
call ebx
mov esi, dword [edi + 0x358]
mov ecx, edi
push 1
call fcn.0045264a
test esi, esi
jne 0x405a77
xor ecx, ecx
jmp 0x405a7a
mov ecx, dword [esi + 4]
push 1
push ecx
push 0x30
push dword [eax + 0x20]
call ebx
mov esi, dword [edi + 0x358]
mov ecx, edi
push 0x40c
call fcn.0045264a
test esi, esi
jne 0x405a9e
xor ecx, ecx
jmp 0x405aa1
mov ecx, dword [esi + 4]
push 1
push ecx
push 0x30
push dword [eax + 0x20]
call ebx
mov esi, dword [edi + 0x358]
mov ecx, edi
push 0x407
call fcn.0045264a
test esi, esi
jne 0x405ac5
xor ecx, ecx
jmp 0x405ac8
mov ecx, dword [esi + 4]
push 1
push ecx
push 0x30
push dword [eax + 0x20]
call ebx
mov esi, dword [edi + 0x358]
mov ecx, edi
push 0x408
call fcn.0045264a
test esi, esi
jne 0x405aec
xor ecx, ecx
jmp 0x405aef
mov ecx, dword [esi + 4]
push 1
push ecx
push 0x30
push dword [eax + 0x20]
call ebx
mov esi, dword [edi + 0x358]
mov ecx, edi
push 0x409
call fcn.0045264a
test esi, esi
jne 0x405b13
xor ecx, ecx
jmp 0x405b16
mov ecx, dword [esi + 4]
push 1
push ecx
push 0x30
push dword [eax + 0x20]
call ebx
mov esi, dword [edi + 0x358]
mov ecx, edi
push 0x40b
call fcn.0045264a
test esi, esi
jne 0x405b3a
xor ecx, ecx
jmp 0x405b3d
mov ecx, dword [esi + 4]
push 1
push ecx
push 0x30
push dword [eax + 0x20]
call ebx
mov esi, dword [edi + 0x358]
mov ecx, edi
push 0x418
call fcn.0045264a
test esi, esi
jne 0x405b61
xor ecx, ecx
jmp 0x405b64
mov ecx, dword [esi + 4]
push 1
push ecx
push 0x30
push dword [eax + 0x20]
call ebx
mov esi, dword [edi + 0x358]
mov ecx, edi
push 0x419
call fcn.0045264a
test esi, esi
jne 0x405b88
xor ecx, ecx
jmp 0x405b8b
mov ecx, dword [esi + 4]
push 1
push ecx
push 0x30
push dword [eax + 0x20]
call ebx
lea ecx, [edi + 0x12b0]
call fcn.004317a0
push ecx
lea ecx, [edi + 0x1330]
mov edx, 0xb2
call fcn.004315a0
lea ecx, [edi + 0x1364]
mov edx, 0xb1
call fcn.004315a0
lea ecx, [edi + 0x1398]
mov edx, 0xb2
call fcn.004315a0
lea ecx, [edi + 0x13cc]
mov edx, 0xb2
call fcn.004315a0
push 8
call fcn.00447eb9
mov esi, eax
add esp, 8
mov dword [ebp - 4], esi
test esi, esi
je 0x405c03
mov dword [esi + 4], 0
mov dword [esi], vtable.CFont.0
jmp 0x405c05
xor esi, esi
push str.Arial
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0
push 0x12
mov dword [edi + 0x358], esi
call dword [sym.imp.GDI32.dll_CreateFontW]
push eax
mov ecx, esi
call fcn.00448995
push 1
push 0x73514e
lea ecx, [edi + 0x360]
mov dword [edi + 0x3e0], 3
mov dword [edi + 0x3f0], 0
call fcn.00455a8c
mov eax, dword [edi + 0x358]
mov dword [edi + 0xaf8], 0xffffff
test eax, eax
je 0x405c78
mov eax, dword [eax + 4]
push 1
push eax
push 0x30
push dword [edi + 0x380]
call ebx
push 1
push 0x2d75d9
lea ecx, [edi + 0xb08]
mov dword [edi + 0xb88], 3
mov dword [edi + 0xb98], 0
call fcn.00455a8c
mov eax, dword [edi + 0x358]
mov dword [edi + 0x12a0], 0xffffff
test eax, eax
je 0x405cc2
mov eax, dword [eax + 4]
push 1
push eax
push 0x30
push dword [edi + 0xb28]
call ebx
mov ecx, dword [edi + 0x358]
call fcn.00448b05
mov ecx, 0x6aa3c8
call fcn.00437660
push dword [0x6aa3c8]
lea ecx, [edi + 0xd0]
call fcn.00453054
push dword [0x6aa3cc]
lea ecx, [edi + 0x258]
call fcn.00453054
push dword [0x6aa3d4]
lea ecx, [edi + 0x2d8]
call fcn.00453054
xor eax, eax
cmp dword [0x6aa3f0], eax
push 0
setne al
push eax
push 0xf1
push dword [edi + 0x1430]
call ebx
xor eax, eax
cmp dword [0x6aa3f4], eax
push 0
setne al
push eax
push 0xf1
push dword [edi + 0x14b0]
call ebx
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret