Function at 0x4d37c0
Capabilities:
Capture webcam image

Disassembly:
push 0xffffffffffffffff
push 0x5648d8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov edi, ecx
push 0x30
lea eax, [esp + 0x48]
push 0
push eax
call fcn.00507370
mov esi, dword [esp + 0x90]
mov ebx, 1
add esp, 0xc
mov dword [esp + 0x44], 0x28
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
call fcn.0048ac10
cmp eax, 0x1d6
jl 0x4d382a
or dword [esp + 0x48], 0x100
mov ecx, dword [edi + 8]
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], esi
lea esi, [edi + 8]
mov dword [esp + 0x68], ecx
call fcn.004d3540
test eax, eax
je 0x4d3a53
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [esp + 0x44]
push edx
push 0
push 0x432
push eax
call edi
test eax, eax
je 0x4d3a53
push 0
push 0xa
mov ecx, esi
call fcn.0045fd10
cmp eax, 0xffffffff
je 0x4d3a63
call fcn.0048ac10
cmp eax, 0x1d6
jl 0x4d3a1f
call fcn.004d3540
test eax, eax
je 0x4d38a2
push 0
push 0
push 0x31
push eax
call edi
mov edi, eax
test edi, edi
jne 0x4d38ac
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edi, eax
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebp, eax
mov dword [esp + 0x1c], ebp
push edi
push ebp
mov dword [esp + 0x84], 0
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [0x576324]
push ecx
xor edi, edi
push edi
push 0x579348
lea ecx, [esp + 0x20]
call fcn.0045fb60
push edi
lea edx, [esp + 0x18]
push edx
push esi
lea ecx, [esp + 0x34]
mov byte [esp + 0x88], bl
call fcn.0047e3e0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x7c], 3
cmp eax, 0xffffffff
je 0x4d391c
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x4d391c
call fcn.0045ea90
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x2c]
call fcn.0047e2b0
mov eax, dword [esp + 0x84]
cmp dword [eax - 8], 0
mov bl, 4
mov byte [esp + 0x7c], bl
je 0x4d39ac
mov esi, dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov ecx, dword [eax - 8]
lea edx, [esp + 0x20]
push edx
push ecx
push eax
push ebp
call esi
mov eax, dword [esp + 0x20]
cmp eax, edi
jle 0x4d395d
mov edi, eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
call fcn.0047e2b0
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0x80], 5
call fcn.0045f4a0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x7c], bl
cmp eax, 0xffffffff
je 0x4d399f
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x4d399f
call fcn.0045ea90
mov eax, dword [esp + 0x84]
cmp dword [eax - 8], 0
jne 0x4d3946
call fcn.004d3540
test eax, eax
je 0x4d39c7
push 0
push 0
push 0x419
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4d39c9
xor eax, eax
cmp edi, eax
jle 0x4d39e5
call fcn.004d3540
test eax, eax
je 0x4d39e5
push edi
push 0
push 0x418
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x84]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x7c], 3
cmp eax, 0xffffffff
je 0x4d3a08
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x4d3a08
call fcn.0045ea90
lea ecx, [esp + 0x28]
mov byte [esp + 0x7c], 0
call fcn.004a4cb0
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x4d3a63
push ebx
push 0x5bf130
push 0x579348
mov ecx, esi
call fcn.00460ed0
mov ecx, dword [esi]
mov dword [esp + 0x68], ecx
call fcn.004d3540
test eax, eax
je 0x4d3a53
lea edx, [esp + 0x44]
push edx
push 0
push 0x432
push eax
call edi
test eax, eax
jne 0x4d3a63
mov eax, dword [esi]
push eax
push str.Failed_to_create_the_tooltip__s
call fcn.004adb70
add esp, 8
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 4