Function at 0x4359a0
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3fed
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x517b80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x20]
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0x9c], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0xa0], ecx
mov ecx, dword [ebp + 0x24]
mov dword [ebp - 0xa8], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x90], ecx
lea ecx, [ebp - 0x94]
push ecx
push 0
push 0x1039
push eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
js 0x435e17
test byte [ebp - 0x8c], 0xe
je 0x435e17
mov eax, dword [ebp - 0x84]
test eax, eax
js 0x435e17
lfence
mov ecx, dword [ebp - 0xa0]
mov eax, dword [eax*4 + 0x51753c]
mov edx, dword [ebp - 0x9c]
push dword [ebp - 0xa8]
mov dword [ecx], eax
mov eax, dword [ebp - 0x88]
mov dword [edx], eax
push dword [ecx]
mov dword [ebp - 0x14], 0
push eax
push dword [ebp - 0x98]
lea eax, [ebp - 0x14]
push eax
call fcn.00435480
add esp, 0x14
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.004a2a40
test eax, eax
jne 0x435ac5
push 0x4e454c
call fcn.004a27e0
push eax
push 0x4e454c
call fcn.004a29e0
add esp, 0xc
mov dword [edi], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 1
jmp 0x435e0c
mov eax, dword [ebp + 0x10]
lfence
mov dword [ebp - 0x7c], eax
inc eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x78], eax
inc eax
push 2
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x7c]
push eax
push 0
push dword [ebp - 0x98]
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 2
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
call dword [sym.imp.USER32.dll_MonitorFromPoint]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0x28
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
push ecx
push eax
movups xmmword [ebp - 0x68], xmm0
movups xmmword [ebp - 0x58], xmm0
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
movups xmm0, xmmword [ebp - 0x58]
push 2
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x98]
movups xmmword [ebp - 0x34], xmm0
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
movaps xmm0, xmmword [0x4e6ec0]
push dword [ebp - 0x98]
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [ebp - 0xa8]
mov ecx, dword [0x5174b0]
mov dword [ebp - 0xa4], eax
cmp byte [edx], 0
cmovne ecx, dword [0x5174b4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xa
lea ecx, [ebp - 0x14]
call fcn.004a2380
push eax
call fcn.004ab205
add esp, 8
lea ecx, [ebp - 0x14]
test eax, eax
lea eax, [ebp - 0x24]
lfence
je 0x435ba0
push 0xc00
jmp 0x435ba5
push 0xc20
push eax
push 0xffffffffffffffff
call fcn.004a2380
push eax
push dword [ebp - 0xa4]
call dword [sym.imp.USER32.dll_DrawTextW]
push 0
push 0
push 0x419
push dword [0x52dbc4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x1c]
mov ecx, edx
sub ecx, dword [ebp - 0x24]
push dword [ebp - 0xa4]
cmp ecx, eax
push dword [ebp - 0x98]
cmovg edx, eax
mov dword [ebp - 0x1c], edx
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0xa
lea ecx, [ebp - 0x14]
call fcn.004a2380
push eax
call fcn.004ab205
add esp, 8
test eax, eax
je 0x435c7b
push 1
push 6
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
movups xmm0, xmmword [ebp - 0x24]
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xa0]
push eax
movups xmmword [esi], xmm0
call dword [sym.imp.USER32.dll_GetCursor]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x9c]
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 eax, dword [ebp + 0x10]
cmove ecx, esi
push 0
sub eax, dword [ecx]
push eax
push esi
call dword [sym.imp.USER32.dll_OffsetRect]
jmp 0x435d88
mov eax, dword [ebp - 0x9c]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x84]
lfence
test eax, eax
je 0x435cb8
test esi, esi
je 0x435ca1
mov dword [esi + 4], eax
mov eax, esi
mov dword [esi], 0
jmp 0x435ca3
xor eax, eax
push eax
push ecx
push 0x1038
push dword [ebp - 0x98]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x435d0d
test esi, esi
je 0x435cc6
mov dword [esi], 0
mov eax, esi
jmp 0x435cc8
xor eax, eax
push eax
push ecx
push 0x100e
push dword [ebp - 0x98]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x44]
push eax
push 0
push 0x1207
push 0
push 0
push 0x101f
push dword [ebp - 0x98]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x44]
mov dword [esi], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0xa0]
push dword [eax]
call fcn.00435f00
add esp, 4
test al, al
je 0x435d25
add dword [esi + 8], 0xfffffffa
mov eax, dword [ebp - 0xa0]
cmp dword [eax], 0x9c77
jne 0x435d48
push 0
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esi + 8]
mov ecx, dword [esi]
sub eax, ecx
mov edx, dword [ebp - 0x1c]
cmp eax, edx
jle 0x435d71
push 0x4e454c
mov ecx, edi
call fcn.00433aa0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 2
jmp 0x435e0c
mov eax, dword [ebp - 0x24]
add eax, ecx
push 1
mov dword [esi], eax
add eax, edx
push 6
push esi
mov dword [esi + 8], eax
call dword [sym.imp.USER32.dll_InflateRect]
lfence
mov ecx, dword [esi + 0xc]
cmp ecx, dword [ebp - 0x28]
jle 0x435da2
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 - 0x30]
cmp ecx, eax
jge 0x435db8
sub eax, ecx
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x2c]
cmp ecx, eax
jle 0x435dce
push 0
sub eax, ecx
push eax
push esi
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esi]
mov eax, dword [ebp - 0x34]
cmp ecx, eax
jge 0x435de3
push 0
sub eax, ecx
push eax
push esi
call dword [sym.imp.USER32.dll_OffsetRect]
push 2
push esi
push 0
push dword [ebp - 0x98]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [ebp - 0x14]
mov dword [edi], ecx
test ecx, ecx
je 0x435e05
call fcn.004a26e0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x435e31
call fcn.004a2a20
jmp 0x435e31
push 0x4e454c
call fcn.004a27e0
push eax
push 0x4e454c
call fcn.004a29e0
add esp, 0xc
mov dword [edi], eax
mov eax, edi
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.004a71aa
mov esp, ebp
pop ebp
ret