Function at 0x41dc38
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov ecx, dword [eax + 0xc]
mov eax, dword [0x4581d0]
mov dword [ebp - 0xc], eax
mov eax, 0x1b59
xor ebx, ebx
cmp ecx, eax
push edi
mov dword [ebp - 4], ebx
jne 0x41de1c
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push eax
push 0x419
push dword [esi + 0xa88]
call edi
lea ecx, [ebp - 0x34]
push ecx
push eax
push 0x41d
push dword [esi + 0xa88]
call edi
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push eax
push dword [esi + 0xa88]
call dword [sym.imp.USER32.dll_ClientToScreen]
call dword [sym.imp.USER32.dll_CreatePopupMenu]
cmp dword [0x4cdcc8], ebx
mov edi, dword [sym.imp.USER32.dll_AppendMenuW]
mov dword [ebp - 8], eax
mov dword [ebp + 0xc], ebx
jle 0x41ddc9
mov eax, dword [ebp + 0xc]
push dword [eax*4 + 0x4ccfc0]
lea eax, [eax*4 + 0x4ccfc0]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 5
jle 0x41ddb7
mov eax, dword [0x4581d0]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
push dword [eax*4 + 0x4ccba8]
lea eax, [eax*4 + 0x4ccfc0]
push dword [eax]
lea eax, [ebp - 0x14]
push str._s____d___
push eax
call fcn.00408f2b
mov ecx, dword [ebp + 0xc]
add esp, 0x10
cmp dword [0x45a060], ecx
jne 0x41dd20
push 3
pop eax
jmp 0x41dd22
xor eax, eax
push dword [ebp - 0x14]
add ecx, 0xd6d8
or ah, 4
push ecx
push eax
push dword [ebp - 8]
call edi
cmp dword [0x4ca59c], ebx
jne 0x41ddaf
push 0x3e7
push dword [ebp + 0xc]
call fcn.0042b852
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.004070c2
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 5
jle 0x41dda7
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.004017bc
call fcn.0041db57
push 0x10
push eax
call fcn.0041dac0
add esp, 0xc
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], eax
push ecx
push dword [eax + 4]
call sub.gdiplus.dll_GdipCreateHICONFromBitmap
cmp eax, ebx
je 0x41dd93
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0x6c]
add eax, 0xd6d8
push eax
push dword [ebp - 0x1c]
call fcn.00439575
lea ecx, [ebp - 0x10]
call fcn.00401802
lea ecx, [ebp - 0x14]
call fcn.00401802
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
cmp eax, dword [0x4cdcc8]
jl 0x41dcc4
push ebx
push ebx
push 0xc00
push dword [ebp - 8]
call edi
push str.Translate
mov ebx, 0x400
push 0xd73c
push ebx
push dword [ebp - 8]
call edi
push 0x45b828
push 0xd73d
push ebx
push dword [ebp - 8]
call edi
push 2
lea ecx, [esi + 0x6c]
push dword [ebp - 0x20]
mov dword [0x4ca59c], 1
push dword [ebp - 0x24]
push dword [ebp - 8]
call fcn.00438c56
jmp 0x41e016
mov eax, 0x80ae
cmp ecx, eax
jne 0x41df01
mov ecx, dword [esi + 0xa8c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push eax
push 0x419
push ecx
mov dword [ebp - 0x14], ecx
call edi
lea ecx, [ebp - 0x34]
push ecx
push eax
push 0x41d
push dword [ebp - 0x14]
call edi
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_ClientToScreen]
push ecx
mov dword [ebp + 0xc], ebx
mov eax, esp
lea ecx, [ebp + 0xc]
mov dword [eax], 0xd2
call fcn.0042612c
cmp dword [0x45a060], ebx
jne 0x41de99
push 5
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetSubMenu]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
jmp 0x41deaa
push 4
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetSubMenu]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push ebx
mov eax, dword [eax]
push dword [esi + 4]
mov dword [ebp - 0x14], eax
push ebx
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 2
push eax
call dword [sym.imp.USER32.dll_TrackPopupMenu]
cmp eax, ebx
je 0x41ded3
push ebx
push eax
push 0x111
push dword [esi + 4]
call edi
cmp dword [ebp - 0x14], ebx
mov esi, dword [sym.imp.USER32.dll_DestroyMenu]
je 0x41dee3
push dword [ebp - 0x14]
call esi
cmp dword [ebp + 0xc], ebx
je 0x41e016
push dword [ebp + 0xc]
call esi
test eax, eax
je 0x41e016
mov dword [ebp + 0xc], ebx
jmp 0x41e016
mov eax, 0x80a1
cmp ecx, eax
jne 0x41e016
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push eax
push 0x419
push dword [esi + 0xa84]
call edi
lea ecx, [ebp - 0x34]
push ecx
push eax
push 0x41d
push dword [esi + 0xa84]
call edi
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push eax
push dword [esi + 0xa84]
call dword [sym.imp.USER32.dll_ClientToScreen]
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x1c]
push 0xc351
push eax
call fcn.0042b86c
pop ecx
mov edi, dword [sym.imp.USER32.dll_AppendMenuW]
pop ecx
push dword [eax]
push 0x80a2
push ebx
push dword [ebp + 0xc]
call edi
lea ecx, [ebp - 0x1c]
call fcn.00401802
lea eax, [ebp - 0x1c]
push 0xc352
push eax
call fcn.0042b86c
pop ecx
pop ecx
push dword [eax]
push 0x80a3
push ebx
push dword [ebp + 0xc]
call edi
lea ecx, [ebp - 0x1c]
call fcn.00401802
push ebx
push ebx
push 0x800
push dword [ebp + 0xc]
call edi
lea eax, [ebp - 0x1c]
push 0xc353
push eax
call fcn.0042b86c
pop ecx
pop ecx
push dword [eax]
push 0x80a4
push ebx
push dword [ebp + 0xc]
call edi
lea ecx, [ebp - 0x1c]
call fcn.00401802
mov eax, dword [0x4ca554]
mov edi, dword [ebp + 0xc]
dec eax
neg eax
sbb eax, eax
and al, 0xf8
add eax, 8
push eax
push 0x80a4
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
push 2
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push edi
lea ecx, [esi + 0x6c]
call fcn.00438c56
cmp edi, ebx
je 0x41e016
push edi
call dword [sym.imp.USER32.dll_DestroyMenu]
lea ecx, [ebp - 0xc]
call fcn.00401802
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0xc