Function at 0x581da0
Capabilities:
Capture webcam image

Disassembly:
push 0xffffffffffffffff
push 0x6150c8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6e163c]
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.005b57c0
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.00538690
cmp eax, 0x1d6
jl 0x581e0a
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.00581b20
test eax, eax
je 0x582033
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 0x582033
push 0
push 0xa
mov ecx, esi
call fcn.0050df40
cmp eax, 0xffffffff
je 0x582043
call fcn.00538690
cmp eax, 0x1d6
jl 0x581fff
call fcn.00581b20
test eax, eax
je 0x581e82
push 0
push 0
push 0x31
push eax
call edi
mov edi, eax
test edi, edi
jne 0x581e8c
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 [0x63bb88]
push ecx
xor edi, edi
push edi
push 0x63ebb0
lea ecx, [esp + 0x20]
call fcn.0050dd90
push edi
lea edx, [esp + 0x18]
push edx
push esi
lea ecx, [esp + 0x34]
mov byte [esp + 0x88], bl
call fcn.0052c800
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x7c], 3
cmp eax, 0xffffffff
je 0x581efc
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x581efc
call fcn.0050ccc0
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x2c]
call fcn.0052c6d0
mov eax, dword [esp + 0x84]
cmp dword [eax - 8], 0
mov bl, 4
mov byte [esp + 0x7c], bl
je 0x581f8c
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 0x581f3d
mov edi, eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
call fcn.0052c6d0
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0x80], 5
call fcn.0050d6d0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x7c], bl
cmp eax, 0xffffffff
je 0x581f7f
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x581f7f
call fcn.0050ccc0
mov eax, dword [esp + 0x84]
cmp dword [eax - 8], 0
jne 0x581f26
call fcn.00581b20
test eax, eax
je 0x581fa7
push 0
push 0
push 0x419
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x581fa9
xor eax, eax
cmp edi, eax
jle 0x581fc5
call fcn.00581b20
test eax, eax
je 0x581fc5
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 0x581fe8
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x581fe8
call fcn.0050ccc0
lea ecx, [esp + 0x28]
mov byte [esp + 0x7c], 0
call fcn.00517890
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x582043
push ebx
push 0x684f20
push 0x63ebb0
mov ecx, esi
call fcn.0050f0b0
mov ecx, dword [esi]
mov dword [esp + 0x68], ecx
call fcn.00581b20
test eax, eax
je 0x582033
lea edx, [esp + 0x44]
push edx
push 0
push 0x432
push eax
call edi
test eax, eax
jne 0x582043
mov eax, dword [esi]
push eax
push str.Failed_to_create_the_tooltip__s
call fcn.0055bfb0
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