Function at 0x4c562d
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d047
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x5fc150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
call fcn.0040baa0
mov ebx, eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2a4], ebx
sub eax, 0x110
je 0x4c5728
sub eax, 1
jne 0x4c5721
mov ecx, dword [ebp + 0x10]
lea eax, [ecx - 0x17d6]
cmp eax, 0x19
ja case.0x4c5317.6106
jmp dword [eax*4 + 0x4c5c6c]
push 0
push 0
push 0xf0
push 0x17df
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
dec eax
neg eax
sbb eax, eax
inc eax
xor eax, 1
push eax
push 0
push 0x832
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4c5c49
push 0
push 0
push 0xf0
push 0x17ea
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
dec eax
neg eax
sbb eax, eax
inc eax
push eax
push 0
push 0x830
jmp 0x4c5346
push 0
push 0
push 0xf0
push 0x17ee
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
dec eax
neg eax
sbb eax, eax
inc eax
push eax
push 0
push 0x83d
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x4c5c49
push 0
push 0
push 0xf0
push 0x17ef
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
dec eax
neg eax
sbb eax, eax
inc eax
push eax
push 0
push 0x841
jmp 0x4c5346
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0xf0
push 0x17e6
push dword [esi + 0xc]
call edi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
sete al
movzx ebx, al
xor ebx, 1
mov byte [ebp - 0x291], al
push ebx
push 0x17e7
push dword [esi + 0xc]
call edi
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call edi
push ebx
push 0x17e8
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call edi
push ebx
push 0x17db
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call edi
push ebx
push 0x17dc
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call edi
push ebx
push 0x17de
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call edi
push ebx
push 0x17dd
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call edi
push ebx
push 0x17e0
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call edi
push ebx
push 0x17e1
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call edi
push ebx
push 0x17e9
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call edi
movzx eax, byte [ebp - 0x291]
push eax
push 0
push 0x81b
jmp 0x4c5346
push 0
push 0xac0b
push 0x111
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4c5c49
push 0
push 0xac0c
push 0x111
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4c5c49
xor dword [ebx + 0x5c], 0x200
jmp 0x4c5c49
push 0
push 0xabe5
push 0x111
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4c5c49
push 0
push 0xabe6
push 0x111
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4c5c49
push 0
push 0xabe7
push 0x111
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4c5c49
push 0
push 0xabe8
push 0x111
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4c5c49
push 0
push 0xac06
push 0x111
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4c5c49
push 0
push 0xac07
push 0x111
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4c5c49
push 0
push 0
push 0xf0
push 0x17d6
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
dec eax
neg eax
sbb eax, eax
inc eax
push eax
push 0
push 0x82e
jmp 0x4c5346
push 0
push 0xabe2
push 0x111
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4c5c49
push 0
push 0xabe3
push 0x111
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4c5c49
push 0
push 0xabe4
push 0x111
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4c5c49
mov eax, ecx
shr eax, 0x10
sub eax, 1
jne 0x4c5721
mov eax, 0x17ec
cmp cx, ax
jne 0x4c5721
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
add ebx, 0x23244
push 0
push 0
push 0x147
push eax
push dword [esi + 0xc]
mov dword [ebp - 0x2a0], ebx
call edi
push 0
push eax
push 0x149
push 0x17ec
push dword [esi + 0xc]
mov dword [ebp - 0x298], eax
call edi
cmp eax, 0x103
jg 0x4c5c49
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x298]
push 0x148
push 0x17ec
push dword [esi + 0xc]
call edi
cmp word [ebp - 0x218], 0
je 0x4c5c49
push str.English
mov ecx, ebx
call fcn.004baae0
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
test al, al
je 0x4c56e4
push 0
push 0
push 0x419
push dword [esi + 8]
call ebx
push eax
call edi
mov ecx, dword [ebp - 0x2a0]
lea eax, [ebp - 0x218]
push eax
call fcn.004baae0
test al, al
je 0x4c5c49
push 0
push 0
push 0x419
push dword [esi + 8]
call ebx
push eax
call edi
push 1
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x4c5c49
xor eax, eax
jmp 0x4c5c4e
mov eax, dword [ebx + 0x54]
mov cl, byte [ebx + 0x58]
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov dword [ebp - 0x2a0], eax
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0x298], eax
mov al, byte [ebx + 0x59]
mov byte [ebp - 0x291], al
mov al, byte [ebx + 0x5a]
mov byte [ebp - 0x299], al
xor eax, eax
push 0
test cl, cl
sete al
push eax
push 0xf1
push 0x17d6
push dword [esi + 0xc]
call edi
mov eax, dword [ebp - 0x2a0]
sub eax, 0
je 0x4c578c
sub eax, 1
je 0x4c5785
mov eax, 0x17d9
jmp 0x4c5791
mov eax, 0x17d8
jmp 0x4c5791
mov eax, 0x17d7
push 0
push 1
push 0xf1
push eax
push dword [esi + 0xc]
call edi
mov eax, dword [ebp - 0x298]
push 0
and eax, 8
push eax
push 0xf1
push 0x17db
push dword [esi + 0xc]
call edi
mov eax, dword [ebp - 0x298]
shr eax, 2
push 0
not eax
and eax, 1
push eax
push 0xf1
push 0x17dc
push dword [esi + 0xc]
call edi
mov eax, dword [ebp - 0x298]
push 0
and eax, 1
push eax
push 0xf1
push 0x17de
push dword [esi + 0xc]
call edi
mov eax, dword [ebp - 0x298]
push 0
and eax, 2
push eax
push 0xf1
push 0x17dd
push dword [esi + 0xc]
call edi
mov eax, dword [ebp - 0x298]
push 0
and eax, 0x10
push eax
push 0xf1
push 0x17e0
push dword [esi + 0xc]
call edi
mov eax, dword [ebp - 0x298]
push 0
and eax, 0x20
push eax
push 0xf1
push 0x17e1
push dword [esi + 0xc]
call edi
mov eax, dword [ebp - 0x298]
push 0
and eax, 0x40
push eax
push 0xf1
push 0x17e8
push dword [esi + 0xc]
call edi
mov eax, dword [ebp - 0x298]
push 0
and eax, 0x80
push eax
push 0xf1
push 0x17e7
push dword [esi + 0xc]
call edi
mov eax, dword [ebp - 0x298]
push 0
and eax, 0x200
push eax
push 0xf1
push 0x17e9
push dword [esi + 0xc]
call edi
push 0
mov eax, dword [ebp - 0x298]
and eax, 0x100
push eax
push 0xf1
push 0x17e6
push dword [esi + 0xc]
call edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x17e6
push 0x111
push dword [esi + 0xc]
call edi
movzx eax, byte [ebp - 0x291]
push 0
push eax
push 0xf1
push 0x17df
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor eax, eax
cmp byte [ebp - 0x299], al
push 0
sete al
push eax
push 0xf1
push 0x17ea
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0
push 0
push 0x83e
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call edi
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp eax, 1
push 0
sete al
movzx eax, al
push eax
push 0xf1
push 0x17ee
push dword [esi + 0xc]
call edi
movzx eax, byte [ebx + 0x6fc]
push 0
push eax
push 0xf1
push 0x17ef
push dword [esi + 0xc]
call edi
mov ecx, dword [ebx + 0x23248]
lea eax, [ebx + 0x23244]
sub ecx, dword [eax]
xor edi, edi
mov dword [ebp - 0x2a0], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x298], eax
je 0x4c59f4
mov ebx, dword [ebp - 0x2a0]
push edi
lea eax, [ebp - 0x290]
mov ecx, ebx
push eax
call fcn.004c2d60
mov dword [ebp - 4], 0
cmp dword [ebp - 0x27c], 8
mov eax, dword [ebp - 0x290]
jae 0x4c59bd
lea eax, [ebp - 0x290]
push eax
push 0
push 0x143
push 0x17ec
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x290]
call fcn.0050efd0
inc edi
cmp edi, dword [ebp - 0x298]
jb 0x4c5992
mov ebx, dword [ebp - 0x2a4]
push 7
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
lea ecx, [ebp - 0x230]
push str.English
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00406c80
mov dword [ebp - 4], 1
cmp dword [ebx + 0x40], 0
je 0x4c5bb2
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebx + 0x23244]
call fcn.004c2ee0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00426cb0
add esp, 8
mov byte [ebp - 4], 3
cmp dword [ebp - 0x234], 8
mov eax, dword [ebp - 0x248]
jae 0x4c5a8d
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebx + 0x23244]
call fcn.004b2560
mov edi, eax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x230]
cmp eax, edi
je 0x4c5af7
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x4c5ace
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x21c], 7
push edi
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00404b40
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x264]
cmp eax, 8
jb 0x4c5b19
inc eax
lea ecx, [ebp - 0x278]
push eax
push dword [ebp - 0x278]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x264], 7
mov dword [ebp - 0x268], 0
mov word [ebp - 0x278], ax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x4c5b58
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24c]
cmp eax, 0x10
jb 0x4c5b97
inc eax
lea ecx, [ebp - 0x260]
push eax
push dword [ebp - 0x260]
call fcn.00407220
mov dword [ebp - 0x24c], 0xf
mov dword [ebp - 0x250], 0
mov byte [ebp - 0x260], 0
cmp dword [ebp - 0x21c], 8
mov eax, dword [ebp - 0x230]
jae 0x4c5bc7
lea eax, [ebp - 0x230]
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push eax
push 0xffffffffffffffff
push 0x158
push 0x17ec
push dword [esi + 0xc]
call edi
cmp eax, 0xffffffff
je 0x4c5bf6
push 0
push eax
push 0x14e
push 0x17ec
push dword [esi + 0xc]
call edi
mov eax, dword [ebx + 0x231dc]
test eax, eax
je 0x4c5c07
push 6
push dword [esi + 0xc]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x4c5c2c
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret 0x10