Function at 0x583ae0
Capabilities:
Capture webcam image

Disassembly:
push 0xffffffffffffffff
push 0x6179f8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6e377c]
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.005b79e0
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.0053a380
cmp eax, 0x1d6
jl 0x583b4a
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.00583860
test eax, eax
je 0x583d73
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 0x583d73
push 0
push 0xa
mov ecx, esi
call fcn.0050fe80
cmp eax, 0xffffffff
je 0x583d83
call fcn.0053a380
cmp eax, 0x1d6
jl 0x583d3f
call fcn.00583860
test eax, eax
je 0x583bc2
push 0
push 0
push 0x31
push eax
call edi
mov edi, eax
test edi, edi
jne 0x583bcc
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 [0x63dcd0]
push ecx
xor edi, edi
push edi
push 0x640cf8
lea ecx, [esp + 0x20]
call fcn.0050fcd0
push edi
lea edx, [esp + 0x18]
push edx
push esi
lea ecx, [esp + 0x34]
mov byte [esp + 0x88], bl
call fcn.0052e6c0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x7c], 3
cmp eax, 0xffffffff
je 0x583c3c
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x583c3c
call fcn.0050ec00
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x2c]
call fcn.0052e590
mov eax, dword [esp + 0x84]
cmp dword [eax - 8], 0
mov bl, 4
mov byte [esp + 0x7c], bl
je 0x583ccc
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 0x583c7d
mov edi, eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
call fcn.0052e590
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0x80], 5
call fcn.0050f610
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x7c], bl
cmp eax, 0xffffffff
je 0x583cbf
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x583cbf
call fcn.0050ec00
mov eax, dword [esp + 0x84]
cmp dword [eax - 8], 0
jne 0x583c66
call fcn.00583860
test eax, eax
je 0x583ce7
push 0
push 0
push 0x419
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x583ce9
xor eax, eax
cmp edi, eax
jle 0x583d05
call fcn.00583860
test eax, eax
je 0x583d05
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 0x583d28
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x583d28
call fcn.0050ec00
lea ecx, [esp + 0x28]
mov byte [esp + 0x7c], 0
call fcn.00554f90
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x583d83
push ebx
push 0x687038
push 0x640cf8
mov ecx, esi
call fcn.00511040
mov ecx, dword [esi]
mov dword [esp + 0x68], ecx
call fcn.00583860
test eax, eax
je 0x583d73
lea edx, [esp + 0x44]
push edx
push 0
push 0x432
push eax
call edi
test eax, eax
jne 0x583d83
mov eax, dword [esi]
push eax
push str.Failed_to_create_the_tooltip__s
call fcn.0056c990
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