Function at 0x10031910
Capabilities:
Capture webcam image
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1007c3f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
mov eax, dword [esp + 0x90]
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov dword [eax], 0
mov eax, dword [esp + 0xa0]
push 0xea6c
mov esi, ecx
mov ecx, dword [esi + 4]
movsx ebx, ax
push 0x419
shr eax, 0x10
push ecx
movsx ebp, ax
call edi
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [esi + 4]
push 0x41d
push eax
call edi
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
push ebp
push ebx
lea ecx, [esp + 0x2c]
add eax, 3
sub edx, 4
push ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x100319fa
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov edx, dword [esi + 4]
push 0
push 0xea6c
push 0x419
push edx
mov dword [esi + 0x5c], 1
call edi
mov edx, dword [esi + 4]
lea ecx, [esp + 0x14]
push ecx
push eax
push 0x41d
push edx
call edi
mov edi, dword [esp + 0x14]
mov ecx, dword [esi + 4]
push 1
lea eax, [esp + 0x18]
push eax
add edi, 0x19
push ecx
mov dword [esp + 0x20], edi
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x10031c84
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x10031a47
mov edx, dword [esi + 4]
push 0
push 0xea6c
push 0x419
push edx
mov dword [esi + 0x5c], 0
call edi
mov edx, dword [esi + 4]
lea ecx, [esp + 0x14]
push ecx
push eax
push 0x41d
push edx
call edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 4]
add eax, 0x19
mov dword [esp + 0x14], eax
push 1
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 0x2ec]
test eax, eax
je 0x10031c16
cmp dword [0x100949f8], ebx
jne 0x10031a64
xor eax, eax
jmp 0x10031c89
mov edx, dword [esi + 4]
push 0
push 0xea67
push 0x419
push edx
mov dword [0x100949f8], ebx
call edi
mov edx, dword [esi + 4]
lea ecx, [esp + 0x14]
push ecx
push eax
push 0x41d
push edx
call edi
mov ecx, dword [esi + 4]
lea eax, [esp + 0x44]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebp, dword [esp + 0x14]
mov eax, dword [esi + 0x2f4]
mov ecx, dword [esp + 0x4c]
xor edx, edx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], edx
sub eax, dword [esi + 0x2f0]
sub eax, ebp
add eax, ebx
sub ecx, ebp
xor edx, edx
xor ebx, ebx
sub ecx, 0x14
cmp eax, ebx
setle dl
mov dword [esp + 0x64], 0x20
mov dword [esp + 0x68], 0x40
dec edx
and edx, eax
mov eax, dword [esp + 0x1c]
sub eax, ebp
mov ebp, 0x96
cmp eax, ebp
mov word [esp + 0x76], dx
jne 0x10031b0f
cmp dx, bp
jb 0x10031c0d
cmp eax, ecx
jne 0x10031b1e
movzx eax, dx
cmp eax, ecx
jg 0x10031c0d
cmp dx, bp
jae 0x10031b2a
mov word [esp + 0x76], bp
jmp 0x10031b3e
movzx eax, dx
cmp eax, ecx
jle 0x10031b39
mov dx, cx
mov word [esp + 0x76], dx
cmp dx, bx
je 0x10031b53
mov edx, dword [esi + 4]
lea ecx, [esp + 0x64]
push ecx
push 0xea67
push 0x442
push edx
call edi
mov eax, dword [esi + 4]
push ebx
push 0xea67
push 0x419
push eax
call edi
mov edx, dword [esi + 4]
lea ecx, [esp + 0x14]
push ecx
push eax
push 0x41d
push edx
call edi
mov edi, dword [esp + 0x14]
push 1
lea eax, [esp + 0x18]
add edi, 5
push eax
lea ecx, [esi + 0xb4]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], edi
call fcn.10028110
mov eax, dword [esp + 0x20]
push 1
lea ecx, [esp + 0x18]
add eax, ebp
push ecx
lea ecx, [esi + 0x70]
mov dword [esp + 0x28], eax
call fcn.10028110
push str.DownloadToolbar
lea ecx, [esp + 0x14]
call fcn.10005e50
mov edx, dword [esp + 0x1c]
sub edx, dword [esp + 0x14]
push edx
push 0x4aaa
lea eax, [esp + 0x18]
push eax
push SysReAllocStringLen
mov dword [esp + 0x9c], ebx
call fcn.1004ada0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0x10
mov dword [esp + 0x8c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10031c0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, esi
call fcn.10030250
jmp 0x10031c5b
mov eax, dword [esi + 4]
push 0
push 1
push 0x419
push eax
call edi
mov edx, dword [esi + 4]
lea ecx, [esp + 0x54]
push ecx
push eax
push 0x41d
push edx
call edi
push ebp
push ebx
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x10031c5b
push 0x7f84
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov ecx, dword [esi + 4]
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x38], 0x10
mov dword [esp + 0x3c], 3
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], 1
call fcn.10029e60
mov eax, 1
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x80
ret 0x10