Function at 0x4382a0
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf1c0
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x513b94]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x20]
mov dword [ebp - 0xac], eax
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x90]
push eax
push 0
push 0x1039
push edi
mov dword [ebp - 0xac], edi
mov dword [ebp - 0x90], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
js 0x43870e
test byte [ebp - 0x88], 0xe
je 0x43870e
mov eax, dword [ebp - 0x80]
test eax, eax
js 0x43870e
mov ecx, dword [ebp - 0x9c]
mov eax, dword [eax*4 + 0x513554]
mov edx, dword [ebp - 0xa0]
push dword [ebp - 0xa8]
mov dword [ecx], eax
mov eax, dword [ebp - 0x84]
mov dword [edx], eax
push dword [ecx]
push eax
lea eax, [ebp - 0x94]
push edi
push eax
call fcn.00437dc0
add esp, 0x14
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0
call fcn.0049c770
test eax, eax
jne 0x4383c8
push 0x4dd79c
call fcn.0049c580
push eax
push 0x4dd79c
call fcn.0049c710
mov esi, dword [ebp - 0x98]
add esp, 0xc
mov dword [esi], eax
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 4], 1
jmp 0x438703
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x78], eax
inc eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x74], eax
inc eax
push 2
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x78]
push eax
push 0
push edi
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 2
push dword [ebp - 0x74]
push dword [ebp - 0x78]
call dword [sym.imp.USER32.dll_MonitorFromPoint]
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], 0x28
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
push ecx
push eax
movups xmmword [ebp - 0x64], xmm0
movups xmmword [ebp - 0x54], xmm0
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
movups xmm0, xmmword [ebp - 0x54]
push 2
lea eax, [ebp - 0x30]
push eax
push edi
push 0
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_MapWindowPoints]
movaps xmm0, xmmword [0x4e02f0]
push edi
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [ebp - 0xa8]
mov ecx, dword [0x5134c8]
mov dword [ebp - 0xa4], eax
cmp byte [edx], 0
cmovne ecx, dword [0x5134cc]
push ecx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xa
lea ecx, [ebp - 0x94]
call fcn.0049c120
push eax
call fcn.004a4db5
add esp, 8
lea ecx, [ebp - 0x94]
test eax, eax
lea eax, [ebp - 0x20]
je 0x438494
push 0xc00
jmp 0x438499
push 0xc20
push eax
push 0xffffffffffffffff
call fcn.0049c120
push eax
push dword [ebp - 0xa4]
call dword [sym.imp.USER32.dll_DrawTextW]
push 0
push 0
push 0x419
push dword [0x5182ec]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x18]
mov ecx, edx
sub ecx, dword [ebp - 0x20]
push dword [ebp - 0xa4]
cmp ecx, eax
push edi
cmovg edx, eax
mov dword [ebp - 0x18], edx
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0xa
lea ecx, [ebp - 0x94]
call fcn.0049c120
push eax
call fcn.004a4db5
add esp, 8
test eax, eax
je 0x438578
push 1
push 6
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
movups xmm0, xmmword [ebp - 0x20]
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x9c]
push eax
movups xmmword [esi], xmm0
call dword [sym.imp.USER32.dll_GetCursor]
push eax
call fcn.00436e50
mov eax, dword [ebp - 0xa0]
add esp, 0x10
sub eax, dword [esi + 4]
add eax, dword [ebp + 0x14]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_OffsetRect]
push 0x28
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
lea ecx, [esi + 8]
mov edx, 8
mov eax, esi
jne 0x438561
mov ecx, esi
lea edi, [edx + eax]
mov eax, dword [ebp + 0x10]
sub eax, dword [ecx]
push 0
push eax
push esi
call dword [sym.imp.USER32.dll_OffsetRect]
jmp 0x438679
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x4385ad
test esi, esi
je 0x438598
mov dword [esi + 4], eax
mov eax, esi
mov dword [esi], 0
jmp 0x43859a
xor eax, eax
push eax
push ecx
push 0x1038
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
lea edi, [esi + 8]
jmp 0x4385f8
test esi, esi
je 0x4385bb
mov dword [esi], 0
mov eax, esi
jmp 0x4385bd
xor eax, eax
push eax
push ecx
push 0x100e
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x40]
push eax
push 0
push 0x1207
push 0
push 0
push 0x101f
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
call edi
push eax
call edi
mov eax, dword [ebp - 0x40]
lea edi, [esi + 8]
mov dword [esi], eax
mov eax, dword [ebp - 0x38]
mov dword [edi], eax
mov eax, dword [ebp - 0x9c]
push dword [eax]
call fcn.00438800
add esp, 4
test al, al
je 0x43860f
add dword [edi], 0xfffffffa
mov eax, dword [ebp - 0x9c]
cmp dword [eax], 0x9c77
jne 0x438632
push 0
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [edi]
mov ecx, dword [esi]
sub eax, ecx
mov edx, dword [ebp - 0x18]
cmp eax, edx
jle 0x438663
mov esi, dword [ebp - 0x98]
mov ecx, esi
push 0x4dd79c
call fcn.004365a0
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 4], 2
jmp 0x438703
mov eax, dword [ebp - 0x20]
add eax, ecx
push 1
mov dword [esi], eax
add eax, edx
push 6
push esi
mov dword [edi], eax
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [esi + 0xc]
cmp ecx, dword [ebp - 0x24]
jle 0x438690
mov eax, dword [ebp + 0x14]
sub eax, ecx
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esi + 4]
mov eax, dword [ebp - 0x2c]
cmp ecx, eax
jge 0x4386a6
sub eax, ecx
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [edi]
mov eax, dword [ebp - 0x28]
mov edi, dword [sym.imp.USER32.dll_OffsetRect]
cmp ecx, eax
jle 0x4386bd
push 0
sub eax, ecx
push eax
push esi
call edi
mov ecx, dword [esi]
mov eax, dword [ebp - 0x30]
cmp ecx, eax
jge 0x4386ce
push 0
sub eax, ecx
push eax
push esi
call edi
push 2
push esi
push 0
push dword [ebp - 0xac]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov esi, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x94]
mov dword [esi], ecx
test ecx, ecx
je 0x4386fc
call fcn.0049c480
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x43872e
call fcn.0049c750
jmp 0x43872e
push 0x4dd79c
call fcn.0049c580
push eax
push 0x4dd79c
call fcn.0049c710
mov esi, dword [ebp - 0x98]
add esp, 0xc
mov dword [esi], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0e13
mov esp, ebp
pop ebp
ret