Function at 0x420420
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 0x420454
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 0x4204c5
mov dword [ecx], 1
mov eax, dword [esi + 0x24]
cmp eax, ebp
mov dword [esp + 0x40], ebp
je 0x4206ea
lea ecx, [esp + 0x40]
push ebp
push ecx
lea ecx, [esi + 0x5c]
call fcn.005168d0
test eax, eax
je 0x4206ea
mov eax, dword [esp + 0x40]
cmp eax, ebp
je 0x4206ea
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 0x420631
cmp eax, 0x474
jae 0x420631
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 0x4206ea
mov edi, eax
mov eax, dword [0x546560]
push 1
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], eax
call fcn.00405530
test eax, eax
je 0x420548
mov ecx, dword [esp + 0x40]
mov word [ecx], di
mov edx, dword [0x546560]
mov eax, 0x5479fc
test eax, eax
mov dword [esp + 0x38], edx
je 0x420566
push 0x5479fc
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x5479fc
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.005106b0
mov eax, dword [esp + 0x10]
mov edx, dword [0x546564]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4205d5
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4205d5
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00531732
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.0050fe40
mov eax, dword [esp + 0x40]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4206ea
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4206ea
mov edx, dword [esp + 0x40]
jmp 0x4206de
cmp eax, 0x84e3
je 0x420643
cmp eax, 0x84e2
jne 0x4206ea
mov eax, dword [0x546560]
mov ecx, str.Wildcard_for_the_next_version___Vista_addressbar_and_____n_nPlatzhalter_f
test ecx, ecx
mov dword [esp + 0x40], eax
je 0x4206a6
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, ebp
je 0x4206a6
push edi
lea ecx, [esp + 0x44]
call fcn.00405530
test eax, eax
je 0x4206a6
mov ecx, dword [esp + 0x40]
lea eax, [edi + 1]
cmp eax, ebp
mov edi, ecx
jne 0x420681
cmp ecx, ebp
jne 0x42069b
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 0x42069b
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 0x553d98
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x40]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4206ea
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4206ea
mov edx, dword [esp + 0x40]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 0x10