Function at 0x408b20
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0xe800
sub esp, 0x10
xor eax, eax
mov ebx, esp
mov esi, ecx
xor ecx, ecx
xor edx, edx
mov dword [ebx], eax
lea edi, [esi + 0x6b4]
push 0x50002000
push 0x800
mov dword [ebx + 4], ecx
push esi
mov ecx, edi
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], eax
call fcn.00484371
test eax, eax
je 0x408e9f
push 0x80
mov ecx, edi
call fcn.004844db
test eax, eax
je 0x408e9f
mov eax, dword [esi + 0x718]
mov ecx, edi
or al, 0xb4
push eax
call fcn.00484894
push 0
push 4
push 9
push 0x20
lea ecx, [esi + 0x804]
push 0x20
call fcn.00464f54
call fcn.004835d5
mov eax, dword [eax + 8]
mov edi, dword [sym.imp.USER32.dll_LoadImageA]
push 0
push 0x20
push 0x20
push 1
push 0xa0
push eax
call edi
mov ecx, dword [esi + 0x808]
mov ebx, dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push eax
push 0xffffffffffffffff
push ecx
call ebx
call fcn.004835d5
mov eax, dword [eax + 8]
push 0
push 0x20
push 0x20
push 1
push 0xa3
push eax
call edi
mov edx, dword [esi + 0x808]
push eax
push 0xffffffffffffffff
push edx
call ebx
call fcn.004835d5
mov eax, dword [eax + 8]
push 0
push 0x20
push 0x20
push 1
push 0xa4
push eax
call edi
push eax
mov eax, dword [esi + 0x808]
push 0xffffffffffffffff
push eax
call ebx
call fcn.004835d5
mov eax, dword [eax + 8]
push 0
push 0x20
push 0x20
push 1
push 0x97
push eax
call edi
mov ecx, dword [esi + 0x808]
push eax
push 0xffffffffffffffff
push ecx
call ebx
call fcn.004835d5
mov eax, dword [eax + 8]
push 0
push 0x20
push 0x20
push 1
push 0xa1
push eax
call edi
push eax
push 0xffffffffffffffff
mov edx, dword [esi + 0x808]
push edx
call ebx
call fcn.004835d5
mov eax, dword [eax + 8]
push 0
push 0x20
push 0x20
push 1
push 0x87
push eax
call edi
push eax
mov eax, dword [esi + 0x808]
push 0xffffffffffffffff
push eax
call ebx
lea eax, [esi + 0x804]
test eax, eax
je 0x408c90
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x6d0]
push eax
push 0
push 0x430
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.00464f21
mov edx, dword [esi + 0x6b4]
lea edi, [esi + 0x6b4]
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
push 0
call dword [edx + 0xe0]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov edx, 0x20
sub eax, ecx
mov ecx, dword [ebp - 4]
mov ebx, edx
sub ecx, dword [ebp - 0xc]
push ebx
push edx
push ecx
push eax
mov ecx, edi
call fcn.00484454
push 0xe804
lea ebx, [esi + 0xb60]
push 0x56002800
push 0x400
push esi
mov ecx, ebx
call fcn.00475aed
test eax, eax
je 0x408df0
push 0xa0
push 0
push 0
push edi
mov ecx, ebx
call fcn.0047591e
test eax, eax
je 0x408df0
lea ebx, [esi + 0x638]
push 0xe801
push 0x50008200
push esi
mov ecx, ebx
call fcn.00484ab1
test eax, eax
je 0x408df0
push 4
push 0x4bc744
mov ecx, ebx
call fcn.00484b66
test eax, eax
je 0x408df0
xor ebx, ebx
mov ecx, edi
push ebx
call fcn.00473b02
cmp eax, 0x800c
je 0x408d7a
inc ebx
mov ecx, edi
push ebx
call fcn.00473b02
cmp eax, 0x800c
jne 0x408d6a
push 0x15e
push 0x10
push 0x800c
push ebx
mov ecx, edi
call fcn.004742fd
mov edx, dword [edi]
lea eax, [ebp - 0x10]
push eax
push ebx
mov ecx, edi
call dword [edx + 0xe0]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
inc edx
push 0x800c
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0x10]
add ecx, 0x15e
push edi
push edx
mov dword [ebp - 8], ecx
push 0x40000201
push str.Static
lea ecx, [esi + 0x750]
call fcn.0047e61b
test eax, eax
je 0x408e9f
mov eax, dword [0x4dcfe0]
test eax, eax
je 0x408dfa
push esi
lea ecx, [esi + 0x9e0]
call fcn.00417610
test eax, eax
jne 0x408dfa
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xe800
xor eax, eax
sub esp, 0x10
xor ecx, ecx
mov ebx, esp
xor edx, edx
lea edi, [esi + 0x944]
push 0x50002000
mov dword [ebx], eax
push 0x800
push esi
mov dword [ebx + 4], ecx
mov ecx, edi
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], eax
call fcn.00484371
test eax, eax
je 0x408e9f
push 0xd4
mov ecx, edi
call fcn.004844db
test eax, eax
je 0x408e9f
mov eax, dword [esi + 0x9a8]
mov ecx, edi
or al, 0xb0
push eax
call fcn.00484894
mov ecx, dword [esi + 0x960]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0
push 0x454
push ecx
call ebx
mov edx, dword [esi + 0x960]
push 0
push 0xe103
push 0x419
push edx
call ebx
mov esi, eax
mov ecx, edi
push esi
call fcn.00473ba5
or al, 8
mov ecx, edi
push eax
push esi
call fcn.00473bc8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret