Function at 0x543110
Capabilities:
Capture webcam image

Disassembly:
push 0xffffffffffffffff
push 0x5cd738
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67ff88]
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.00576e90
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.004f99e0
cmp eax, 0x1d6
jl 0x54317a
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.00542e90
test eax, eax
je 0x5433a3
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 0x5433a3
push 0
push 0xa
mov ecx, esi
call fcn.004cf560
cmp eax, 0xffffffff
je 0x5433b3
call fcn.004f99e0
cmp eax, 0x1d6
jl 0x54336f
call fcn.00542e90
test eax, eax
je 0x5431f2
push 0
push 0
push 0x31
push eax
call edi
mov edi, eax
test edi, edi
jne 0x5431fc
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 [0x5f09fc]
push ecx
xor edi, edi
push edi
push 0x5f3a2c
lea ecx, [esp + 0x20]
call fcn.004cf3b0
push edi
lea edx, [esp + 0x18]
push edx
push esi
lea ecx, [esp + 0x34]
mov byte [esp + 0x88], bl
call fcn.004edcb0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x7c], 3
cmp eax, 0xffffffff
je 0x54326c
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x54326c
call fcn.004ce2e0
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x2c]
call fcn.004edb80
mov eax, dword [esp + 0x84]
cmp dword [eax - 8], 0
mov bl, 4
mov byte [esp + 0x7c], bl
je 0x5432fc
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 0x5432ad
mov edi, eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
call fcn.004edb80
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0x80], 5
call fcn.004cecf0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x7c], bl
cmp eax, 0xffffffff
je 0x5432ef
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5432ef
call fcn.004ce2e0
mov eax, dword [esp + 0x84]
cmp dword [eax - 8], 0
jne 0x543296
call fcn.00542e90
test eax, eax
je 0x543317
push 0
push 0
push 0x419
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x543319
xor eax, eax
cmp edi, eax
jle 0x543335
call fcn.00542e90
test eax, eax
je 0x543335
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 0x543358
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x543358
call fcn.004ce2e0
lea ecx, [esp + 0x28]
mov byte [esp + 0x7c], 0
call fcn.005146d0
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x5433b3
push ebx
push 0x62ee94
push 0x5f3a2c
mov ecx, esi
call fcn.004d06d0
mov ecx, dword [esi]
mov dword [esp + 0x68], ecx
call fcn.00542e90
test eax, eax
je 0x5433a3
lea edx, [esp + 0x44]
push edx
push 0
push 0x432
push eax
call edi
test eax, eax
jne 0x5433b3
mov eax, dword [esi]
push eax
push str.Failed_to_create_the_tooltip__s
call fcn.00527c30
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