Function at 0x41f870
Capabilities:
Capture webcam image
Hide graphical window

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
push 0x5353c8
push 0
push 4
mov ebp, dword [esp + 0x4c]
push 0x20
push 4
push 1
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0
push 0xc
call dword [0x5310d0]
mov edi, dword [0x5313fc]
mov esi, eax
mov eax, dword [ebp + 8]
push 0x3ee
push eax
call edi
mov ebx, dword [0x531444]
push 1
push esi
push 0x30
push eax
call ebx
mov ecx, dword [ebp + 8]
push 0x429
push ecx
call edi
push 0
push 1
push 0xf1
push eax
mov dword [ebp + 0x3c], eax
call ebx
mov edx, dword [ebp + 0x3c]
push 0
push edx
call dword [0x53143c]
push 0xa
push 0xa
push 0xfe
push 0x10
push 0x10
call dword [0x531068]
mov dword [ebp + 0x28], eax
mov eax, dword [ebp + 8]
push 0x41a
push eax
call edi
push 0
push 0
push 0x1037
lea esi, [ebp + 0x24]
push eax
mov dword [esi], eax
call ebx
mov ecx, dword [esi]
or eax, 0x24
push eax
push 0
push 0x1036
push ecx
call ebx
mov eax, dword [esi]
lea edx, [esp + 0x28]
push edx
push eax
call dword [0x53141c]
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x28]
push 0x542500
sub ecx, 0x17
push 0
push esi
xor edx, edx
call fcn.0040d730
lea eax, [ebp + 0x2c]
push eax
call fcn.004222d0
push ebp
call fcn.00421000
push ebp
call fcn.00420a50
call fcn.00421510
call fcn.00421bf0
xor esi, esi
mov ecx, dword [ebp + 0x44]
test ecx, ecx
je 0x41f9d3
mov eax, dword [ebp + 0x48]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x41f9d3
test ecx, ecx
je 0x41f998
mov eax, dword [ebp + 0x48]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x41f99d
call fcn.00500ad0
mov ecx, dword [ebp + 0x44]
lea ecx, [ecx + esi*4]
push 0x576724
call fcn.00425910
cmp dword [eax + 0x4c], 0
je 0x41f9b8
add esi, 1
jmp 0x41f975
mov edx, dword [ebp + 0x3c]
push 0
push 0
push 0xf1
push edx
call ebx
mov eax, dword [ebp + 0x3c]
push 1
push eax
call dword [0x53143c]
mov ecx, dword [0x576728]
mov esi, dword [ecx]
mov eax, 0x576724
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], eax
jmp 0x41f9f0
test eax, eax
mov edx, dword [0x576728]
mov dword [esp + 0x24], edx
je 0x41fa05
cmp eax, 0x576724
je 0x41fa0e
call fcn.00500ad0
mov eax, dword [esp + 0x18]
cmp esi, dword [esp + 0x24]
je 0x41fb84
test eax, eax
jne 0x41fa25
call fcn.00500ad0
mov eax, dword [esp + 0x18]
cmp esi, dword [eax + 4]
jne 0x41fa33
call fcn.00500ad0
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x54]
cmp ecx, dword [ebp + 0x2c]
jne 0x41fa50
cmp esi, dword [eax + 4]
jne 0x41fa49
call fcn.00500ad0
mov eax, dword [esp + 0x18]
mov dword [esi + 0x5c], 1
cmp esi, dword [eax + 4]
jne 0x41fa5e
call fcn.00500ad0
mov eax, dword [esp + 0x18]
cmp esi, dword [eax + 4]
lea ebx, [esi + 0xc]
mov dword [esp + 0x10], ebx
jne 0x41fa6f
call fcn.00500ad0
lea edx, [ebp + 0x50]
push edx
mov ecx, ebx
call fcn.00425910
mov edx, eax
mov eax, dword [ebx + 4]
mov dword [edx], eax
lea esi, [ebx + 8]
lea edi, [edx + 4]
mov ecx, 0xe
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x40]
mov esi, dword [edx + 0x3c]
lea edi, [edx + 0x3c]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
mov dword [esp + 0x40], edx
je 0x41faf1
cmp dword [esi + 0xc], 0
jl 0x41fade
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41fade
call fcn.004020b0
mov dword [esp + 0x14], eax
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41fad3
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x14]
add ecx, 0x10
mov dword [edi], ecx
jmp 0x41faed
mov ebx, dword [ecx - 0xc]
push ecx
mov eax, edi
call fcn.004026c0
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x40]
mov ecx, dword [ebx + 0x44]
mov esi, dword [edx + 0x40]
lea edi, [edx + 0x40]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x41fb50
cmp dword [esi + 0xc], 0
jl 0x41fb3d
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41fb3d
call fcn.004020b0
mov dword [esp + 0x14], eax
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41fb32
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x14]
add ecx, 0x10
mov dword [edi], ecx
jmp 0x41fb4c
mov ebx, dword [ecx - 0xc]
push ecx
mov eax, edi
call fcn.004026c0
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x40]
mov eax, dword [ebx + 0x48]
mov dword [edx + 0x44], eax
mov ecx, dword [ebx + 0x4c]
mov dword [edx + 0x48], ecx
mov eax, dword [ebx + 0x50]
lea esi, [esp + 0x18]
mov dword [edx + 0x4c], eax
call fcn.00426dc0
mov esi, dword [esp + 0x1c]
mov edi, dword [0x5313fc]
mov ebx, dword [0x531444]
mov eax, dword [esp + 0x18]
jmp 0x41f9f0
mov ecx, ebp
call fcn.00422a60
mov ecx, dword [ebp + 8]
push 0x419
push ecx
call edi
mov edx, dword [ebp + 8]
push 0x418
push edx
mov dword [0x576648], eax
call edi
cmp dword [0x57663c], 0
lea esi, [ebp + 0x34]
jne 0x41fbcd
push 0x41e9a0
push 0xfffffffffffffffc
push eax
mov dword [0x57663c], eax
mov dword [esi + 4], eax
call dword [0x5313e0]
mov dword [0x576638], eax
push str.Arial
push 0
push 4
push 0x20
push 4
push 1
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0xf
mov dword [0x576644], esi
call dword [0x5310d0]
mov esi, eax
mov eax, dword [ebp + 8]
push 0x418
push eax
call edi
push 1
push esi
push 0x30
push eax
call ebx
mov ecx, dword [ebp + 8]
push 0x419
push ecx
call edi
push 0
push eax
call dword [0x53143c]
cmp dword [0x576ffc], 0
push 0x416
je 0x41fc7f
mov edx, dword [ebp + 8]
push edx
call edi
push 0
push 1
push 0xf1
push eax
call ebx
mov eax, dword [ebp + 0x38]
push 1
push eax
call dword [0x5314c0]
mov ecx, dword [ebp + 8]
push 0x577004
push ecx
mov ebx, 0x577000
call fcn.0041e4f0
mov edx, dword [esp + 0x4c]
add esp, 8
mov dword [edx], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 8
mov eax, dword [ebp + 8]
push eax
call edi
push 0
push 0
push 0xf1
push eax
call ebx
mov ecx, dword [ebp + 0x38]
push 0
push ecx
call dword [0x5314c0]
mov edx, dword [ebp + 8]
push 0x577004
push edx
mov ebx, 0x577000
call fcn.0041e820
mov eax, dword [ebp + 8]
add esp, 8
push 0x419
push eax
call edi
push 0
push eax
call dword [0x53143c]
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
mov dword [ecx], 0
mov eax, 1
pop ebx
add esp, 0x2c
ret 8