Function at 0x41c170
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x20
mov eax, dword [esp + 0x28]
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x3c]
xor ebp, ebp
cmp eax, 0x84e4
push edi
mov dword [ecx], ebp
jne 0x41c1a4
mov eax, dword [esi + 4]
push 3
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 0x10
cmp eax, 0x6f
jne 0x41c215
mov dword [ecx], 1
mov eax, dword [esi + 0x24]
cmp eax, ebp
mov dword [esp + 0x40], ebp
je 0x41c43a
lea ecx, [esp + 0x40]
push ebp
push ecx
lea ecx, [esi + 0x5c]
call fcn.004b3010
test eax, eax
je 0x41c43a
mov eax, dword [esp + 0x40]
cmp eax, ebp
je 0x41c43a
mov edx, dword [esi + 4]
push edx
push eax
mov eax, dword [esi + 0x24]
push 0x4e0
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x40]
push ecx
call dword [sym.imp.SHELL32.dll_ILFree]
mov edx, dword [esi + 0x24]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 0x10
cmp eax, 0x456
jb 0x41c381
cmp eax, 0x474
jae 0x41c381
mov edx, dword [esi + 0x198]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
push ebp
mov dword [esp + 0x24], ecx
push eax
mov dword [esp + 0x2c], ecx
push 0x419
mov dword [esp + 0x34], ecx
push edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x3c], ecx
call ebx
mov edx, dword [esi + 0x198]
lea ecx, [esp + 0x1c]
push ecx
push eax
push 0x417
push edx
call ebx
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x41c43a
mov edi, eax
mov eax, dword [0x4d9540]
push 1
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], eax
call fcn.004012f0
test eax, eax
je 0x41c298
mov ecx, dword [esp + 0x40]
mov word [ecx], di
mov edx, dword [0x4d9540]
mov eax, 0x4da754
test eax, eax
mov dword [esp + 0x38], edx
je 0x41c2b6
push 0x4da754
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x4da754
push eax
mov eax, dword [esp + 0x48]
push eax
mov ecx, dword [eax - 8]
push ecx
lea ecx, [esp + 0x48]
call fcn.004017b0
lea edx, [esp + 0x38]
lea ecx, [esp + 0x10]
push edx
call fcn.00401200
lea ecx, [esp + 0x38]
call fcn.004014c0
mov eax, dword [esp + 0x10]
push ebp
push eax
lea ecx, [esp + 0x1c]
call fcn.004ad550
mov eax, dword [esp + 0x10]
mov edx, dword [0x4d9544]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41c325
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x41c325
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
lea eax, [esp + 0x14]
mov edx, dword [esi + 4]
neg eax
mov edi, dword [esi + 0x24]
lea ecx, [esp + 0x18]
sbb eax, eax
push edx
and eax, ecx
mov eax, dword [eax]
push eax
push 0x4e0
push edi
call ebx
push edi
call dword [sym.imp.USER32.dll_SetFocus]
lea ecx, [esp + 0x14]
call fcn.004acdf0
mov eax, dword [esp + 0x40]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41c43a
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x41c43a
mov edx, dword [esp + 0x40]
jmp 0x41c42e
cmp eax, 0x84e3
je 0x41c393
cmp eax, 0x84e2
jne 0x41c43a
mov eax, dword [0x4d9540]
mov ecx, str.Wildcard_for_the_next_version___Vista_addressbar_and_____n_nPlatzhalter_f
test ecx, ecx
mov dword [esp + 0x40], eax
je 0x41c3f6
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, ebp
je 0x41c3f6
push edi
lea ecx, [esp + 0x44]
call fcn.004012f0
test eax, eax
je 0x41c3f6
mov ecx, dword [esp + 0x40]
lea eax, [edi + 1]
cmp eax, ebp
mov edi, ecx
jne 0x41c3d1
cmp ecx, ebp
jne 0x41c3eb
push eax
push ecx
push 0xffffffffffffffff
push str.Wildcard_for_the_next_version___Vista_addressbar_and_____n_nPlatzhalter_f
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebp
jle 0x41c3eb
mov word [edi + eax*2 - 2], bp
push 0xffffffffffffffff
lea ecx, [esp + 0x44]
call fcn.00401970
mov edx, dword [esp + 0x40]
mov eax, dword [esi + 4]
push ebp
push 0x4e3a28
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x40]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41c43a
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41c43a
mov edx, dword [esp + 0x40]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 0x10