Function at 0x6353e6
Capabilities:
Capture webcam image

Disassembly:
mov eax, 0x6ab352
call fcn.00651da4
sub esp, 0x64
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x10], edi
sub eax, 1
je 0x635654
sub eax, 0x10000
je 0x6355a3
sub eax, 1
jne 0x635650
cmp dword [ebx + 0x24], 3
jne 0x635650
lea eax, [ebp - 0x30]
push eax
push 0
push 0x41a
push dword [ebx]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
call ebx
push dword [edi + 0x58]
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_FillRect]
mov esi, dword [ebp - 0x24]
mov eax, esi
mov ecx, dword [ebp - 0x2c]
sub eax, ecx
sub eax, 4
cdq
sub eax, edx
sar eax, 1
add ecx, eax
sub esi, eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x2c], ecx
push eax
push dword [edi + 4]
mov dword [ebp - 0x24], esi
call dword [sym.imp.USER32.dll_GetClientRect]
and dword [ebp - 0x30], 0
lea esi, [ebp - 0x30]
mov eax, dword [ebp - 0x58]
lea edi, [ebp - 0x50]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
push eax
push 0
push 0x419
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 8]
push dword [edi]
call ebx
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x48], eax
push 4
mov eax, dword [esi + 0x38]
pop ebx
cmp dword [eax + ebx], 0
je 0x635556
push 0x6ac
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [edi], eax
jne 0x635556
mov ecx, dword [esi + 0x38]
and dword [ebp - 0x20], 0
and dword [ebp - 0x1c], 0
push dword [edi + 0x10]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x54]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 4]
lea ecx, [ebp + 8]
mov eax, dword [eax + 0x60]
mov dword [ebp - 0x14], eax
call fcn.005a3352
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x635548
mov eax, dword [esi + 0x38]
lea ecx, [ebp - 0x18]
push ecx
push 0x6338b1
mov eax, dword [eax + ebx]
push dword [eax + 0x64]
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0059b7d9
mov ecx, dword [ebp - 0x24]
mov esi, eax
sub ecx, dword [ebp - 0x2c]
push esi
push ecx
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x30]
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp + 8]
push dword [ebp - 0x30]
call fcn.005a389f
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040e854
jmp 0x635578
push 0x717171
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, eax
lea eax, [ebp - 0x30]
push esi
push eax
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_FillRect]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
call fcn.005b9093
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, eax
lea eax, [ebp - 0x50]
push esi
push eax
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_FillRect]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, dword [ebp - 0x10]
jmp 0x635657
mov eax, dword [ebx + 0x24]
cmp eax, 2
jne 0x635647
mov edi, 0x800048
lea esi, [ebx + 0x14]
mov ecx, 0x7d49e0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x14]
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
push edi
push 0x61
call fcn.005e8b1b
mov esi, eax
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x34]
add eax, 0x10
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x38]
add eax, 0x10
cdq
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
push 3
push edi
push edi
push eax
mov eax, dword [ebp - 0x38]
sub eax, ecx
inc eax
push eax
push esi
push dword [ebp - 0x3c]
lea eax, [ecx - 1]
push eax
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_DrawIconEx]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebx + 0x10]
call dword [sym.imp.GDI32.dll_ExcludeClipRect]
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
mov edi, dword [ebp - 0x10]
push 4
jmp 0x635656
cmp eax, 3
jne 0x635650
push 0x14
jmp 0x635656
xor ebx, ebx
jmp 0x635657
push 0x30
pop ebx
or dword [edi + 0x10], 0x40
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [0x7f7c64], ebx
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4