Function at 0x4363c0
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x4fb770]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0xbc], ecx
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 0x1518]
push ecx
mov ecx, dword [ebp - 0xbc]
add ecx, 0x1478
call fcn.004b9aa5
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx + 0x1518]
push eax
mov ecx, dword [ebp - 0xbc]
add ecx, 0x116c
call fcn.004b9aa5
mov ecx, dword [ebp - 0xbc]
cmp dword [ecx + 0x1518], 0
je 0x43643d
mov edx, dword [ebp - 0xbc]
cmp dword [edx + 0x151c], 0
je 0x43643d
mov dword [ebp - 0xc0], 1
jmp 0x436447
mov dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xc0]
push eax
mov ecx, dword [ebp - 0xbc]
add ecx, 0x1374
call fcn.004b9aa5
mov ecx, dword [ebp - 0xbc]
cmp dword [ecx + 0x1518], 0
je 0x436489
mov edx, dword [ebp - 0xbc]
cmp dword [edx + 0x151c], 0
je 0x436489
mov dword [ebp - 0xc4], 1
jmp 0x436493
mov dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0xbc]
add ecx, 0x1270
call fcn.004b9aa5
push 0
push 0
push 0x31
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ecx + 0x1390]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
push eax
call fcn.004bd492
mov dword [ebp - 4], eax
mov dword [ebp - 8], 7
cmp dword [ebp - 4], 0
je 0x436579
lea ecx, [ebp - 0x70]
push ecx
push 0x5c
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x436579
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.004bd195
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jne 0x43652c
mov dword [ebp - 0xc8], 0
jmp 0x436538
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc8], ecx
push 0x5a
mov edx, dword [ebp - 0xc8]
push edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 0x48
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [ebp - 0x74]
sub edx, 2
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xbc]
add ecx, 0x1374
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx + 0x1374]
call dword [eax + 0x158]
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp - 0xbc]
add ecx, 0x1270
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx + 0x1270]
call dword [eax + 0x158]
mov ecx, dword [ebp - 0xbc]
cmp dword [ecx + 0x1518], 0
je 0x4365e7
mov edx, dword [ebp - 0xbc]
cmp dword [edx + 0x151c], 0
je 0x4365e7
mov dword [ebp - 0xcc], 1
jmp 0x4365f1
mov dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0xcc]
push eax
mov ecx, dword [ebp - 0xbc]
add ecx, 0x14c8
call fcn.004b9aa5
mov ecx, dword [ebp - 0xbc]
cmp dword [ecx + 0x1518], 0
je 0x436633
mov edx, dword [ebp - 0xbc]
cmp dword [edx + 0x151c], 0
je 0x436633
mov dword [ebp - 0xb8], 1
jmp 0x43663d
mov dword [ebp - 0xb8], 0
push 0
mov eax, dword [ebp - 0xb8]
push eax
push 0xf1
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ecx + 0x1494]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0xbc]
cmp dword [eax + 0x1518], 0
je 0x436834
mov ecx, dword [ebp - 0xbc]
cmp dword [ecx + 0x151c], 0
je 0x436834
lea edx, [ebp - 0x8c]
push edx
push 0
push 0x41a
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 0x14e4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
lea edx, [ebp - 0x8c]
push edx
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 0x1c]
push ecx
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx + 0x14e4]
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea ecx, [ebp - 0xa0]
push ecx
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx + 0x1544]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea ecx, [ebp - 0xa0]
push ecx
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx + 0x1c]
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [ebp - 0x98]
sub ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0xbc]
movzx eax, byte [edx + 0x1521]
sub eax, 0x80
mov ecx, dword [ebp - 0x84]
sub ecx, dword [ebp - 0x8c]
imul eax, ecx
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
add eax, dword [ebp - 0x8c]
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x7c]
cmp edx, dword [ebp - 0x84]
je 0x43675b
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x8c]
jne 0x4367b9
lea ecx, [ebp - 0xb0]
push ecx
push 0
push 0x419
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx + 0x14e4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x7c]
cmp ecx, dword [ebp - 0x8c]
jne 0x4367a0
mov eax, dword [ebp - 0xa8]
sub eax, dword [ebp - 0xb0]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x7c]
mov dword [ebp - 0x7c], eax
jmp 0x4367b9
mov eax, dword [ebp - 0xa8]
sub eax, dword [ebp - 0xb0]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [ebp - 0x7c]
sub edx, eax
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x90]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x7c]
sub ecx, eax
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0x7c]
add eax, dword [ebp - 0x90]
mov dword [ebp - 0x98], eax
push 5
mov ecx, dword [ebp - 0xbc]
add ecx, 0x1528
call fcn.004b9a69
push 1
mov ecx, dword [ebp - 0x94]
sub ecx, dword [ebp - 0x9c]
push ecx
mov edx, dword [ebp - 0x98]
sub edx, dword [ebp - 0xa0]
push edx
mov eax, dword [ebp - 0x9c]
push eax
mov ecx, dword [ebp - 0xa0]
push ecx
mov ecx, dword [ebp - 0xbc]
add ecx, 0x1528
call fcn.004b9a2b
jmp 0x436847
push 0
mov ecx, dword [ebp - 0xbc]
add ecx, 0x1528
call fcn.004b9a69
mov ecx, dword [ebp - 0xc]
call fcn.0049d184
mov esp, ebp
pop ebp
ret 4