Function at 0x4202f0
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 0x420324
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 0x420395
mov dword [ecx], 1
mov eax, dword [esi + 0x24]
cmp eax, ebp
mov dword [esp + 0x40], ebp
je 0x4205ba
lea ecx, [esp + 0x40]
push ebp
push ecx
lea ecx, [esi + 0x5c]
call fcn.00517230
test eax, eax
je 0x4205ba
mov eax, dword [esp + 0x40]
cmp eax, ebp
je 0x4205ba
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 0x420501
cmp eax, 0x474
jae 0x420501
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 0x4205ba
mov edi, eax
mov eax, dword [0x547570]
push 1
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], eax
call fcn.00405530
test eax, eax
je 0x420418
mov ecx, dword [esp + 0x40]
mov word [ecx], di
mov edx, dword [0x547570]
mov eax, 0x548a0c
test eax, eax
mov dword [esp + 0x38], edx
je 0x420436
push 0x548a0c
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x548a0c
push eax
mov eax, dword [esp + 0x48]
push eax
mov ecx, dword [eax - 8]
push ecx
lea ecx, [esp + 0x48]
call fcn.004059f0
lea edx, [esp + 0x38]
lea ecx, [esp + 0x10]
push edx
call fcn.00405440
lea ecx, [esp + 0x38]
call fcn.00405700
mov eax, dword [esp + 0x10]
push ebp
push eax
lea ecx, [esp + 0x1c]
call fcn.00510fb0
mov eax, dword [esp + 0x10]
mov edx, dword [0x547574]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4204a5
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4204a5
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00532222
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.00510740
mov eax, dword [esp + 0x40]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4205ba
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4205ba
mov edx, dword [esp + 0x40]
jmp 0x4205ae
cmp eax, 0x84e3
je 0x420513
cmp eax, 0x84e2
jne 0x4205ba
mov eax, dword [0x547570]
mov ecx, str.Wildcard_for_the_next_version___Vista_addressbar_and_____n_nPlatzhalter_f
test ecx, ecx
mov dword [esp + 0x40], eax
je 0x420576
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, ebp
je 0x420576
push edi
lea ecx, [esp + 0x44]
call fcn.00405530
test eax, eax
je 0x420576
mov ecx, dword [esp + 0x40]
lea eax, [edi + 1]
cmp eax, ebp
mov edi, ecx
jne 0x420551
cmp ecx, ebp
jne 0x42056b
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 0x42056b
mov word [edi + eax*2 - 2], bp
push 0xffffffffffffffff
lea ecx, [esp + 0x44]
call fcn.00405bb0
mov edx, dword [esp + 0x40]
mov eax, dword [esi + 4]
push ebp
push 0x554e08
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x40]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4205ba
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4205ba
mov edx, dword [esp + 0x40]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 0x10